com.threerings.opengl.gui.config
Class IconConfig.Image
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.gui.config.IconConfig
com.threerings.opengl.gui.config.IconConfig.Image
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- IconConfig.ColorizedImage
- Enclosing class:
- IconConfig
public static class IconConfig.Image
- extends IconConfig
An image icon.
file
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.image_files_desc",
extensions={".png",".jpg",".dds"},
directory="image_dir")
public String file
- The background image.
IconConfig.Image
public IconConfig.Image()
getImage
public Image getImage(GlContext ctx)
- Retrieves the image for the icon.
getUpdateResources
public void getUpdateResources(HashSet<String> paths)
- Description copied from class:
IconConfig
- Adds the icon's update resources to the provided set.
- Overrides:
getUpdateResources in class IconConfig
Copyright © 2011. All Rights Reserved.