Created
May 3, 2012 09:28
-
-
Save LunNova/2584704 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java:public class GenericTexture extends GenericWidget implements Texture { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public GenericTexture() { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public GenericTexture(String url) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: return WidgetType.Texture; | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public Texture setUrl(String Url) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public Texture copy() { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: return ((Texture) super.copy()).setUrl(getUrl()).setDrawAlphaChannel(isDrawingAlphaChannel()); | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public Texture setDrawAlphaChannel(boolean draw) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public Texture setTop(int top) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/GenericTexture.java: public Texture setLeft(int left) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/RenderPriority.java: * Will render before all other textures and widgets | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/RenderPriority.java: * Will render before most other textures and widgets | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/RenderPriority.java: * Will render in line with most other textures and widgets | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/RenderPriority.java: * Will render after most other textures and widgets | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/RenderPriority.java: * Will render after all other textures and widgets | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java:public interface Texture extends Widget { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * Gets the url of this texture to render | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * Sets the url of this texture to render | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * All textures must be of png or jpg type and a size that is a factor of | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * @param url to set this texture to | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * @return texture | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: public Texture setUrl(String url); | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * Gets if the texture draws the full alpha channel instead of just using a bit-mask. | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * Sets if the texture should draw the full alpha channel instead of just using a bit-mask. | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * @return texture | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: public Texture setDrawAlphaChannel(boolean draw); | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * texture rather than scaling it to fit the width and height. | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * @return texture | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: public Texture setTop(int top); | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * texture rather than scaling it to fit the width and height. | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: * @return texture | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/Texture.java: public Texture setLeft(int left); | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/WidgetAnim.java: * Change the Left offset by "value" pixels (Texture only). | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/WidgetAnim.java: * Change the Top offset by "value" pixels (Texture only). | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/WidgetAnim.java: if (widget instanceof Texture) { | |
SpoutPluginAPI/src/main/java/org/getspout/spoutapi/gui/WidgetType.java: public static WidgetType Texture = new WidgetType(GenericTexture.class, 6); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment