WarpPI/core/src/main/java/it/cavallium/warppi/gui/graphicengine/Skin.java

30 lines
607 B
Java
Raw Normal View History

package it.cavallium.warppi.gui.graphicengine;
import java.io.IOException;
import java.net.URISyntaxException;
2019-02-27 23:29:03 +01:00
import it.cavallium.warppi.device.display.DisplayOutputDevice;
public interface Skin {
2018-09-22 11:17:30 +02:00
void load(String file) throws IOException, URISyntaxException;
2019-02-27 23:29:03 +01:00
void initialize(DisplayOutputDevice d);
2018-09-22 11:17:30 +02:00
boolean isInitialized();
2019-02-27 23:29:03 +01:00
void use(DisplayOutputDevice d);
2018-05-12 21:18:29 +02:00
/**
* May not be available before initialization
* @return skin width
*/
2018-09-22 11:17:30 +02:00
int getSkinWidth();
2018-05-12 21:18:29 +02:00
/**
* May not be available before initialization
* @return skin height
*/
2018-09-22 11:17:30 +02:00
int getSkinHeight();
}