30 lines
607 B
Java
30 lines
607 B
Java
package it.cavallium.warppi.gui.graphicengine;
|
|
|
|
import java.io.IOException;
|
|
import java.net.URISyntaxException;
|
|
|
|
import it.cavallium.warppi.device.display.DisplayOutputDevice;
|
|
|
|
public interface Skin {
|
|
|
|
void load(String file) throws IOException, URISyntaxException;
|
|
|
|
void initialize(DisplayOutputDevice d);
|
|
|
|
boolean isInitialized();
|
|
|
|
void use(DisplayOutputDevice d);
|
|
|
|
/**
|
|
* May not be available before initialization
|
|
* @return skin width
|
|
*/
|
|
int getSkinWidth();
|
|
|
|
/**
|
|
* May not be available before initialization
|
|
* @return skin height
|
|
*/
|
|
int getSkinHeight();
|
|
}
|