|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.opengl.gui.config.CursorConfig
public class CursorConfig
Describes a cursor.
| Field Summary | |
|---|---|
ColorizationConfig[] |
colorizations
Colorizations to apply to the cursor. |
int |
hotSpotX
The hot spot x coordinate. |
int |
hotSpotY
The hot spot y coordinate. |
String |
image
The cursor image. |
| Constructor Summary | |
|---|---|
CursorConfig()
|
|
| Method Summary | |
|---|---|
Cursor |
getCursor(GlContext ctx)
Returns the cursor corresponding to this config. |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getInstance, getName, getReference, init, removeListener, resourceModified, setName, updateFromSource, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.image_files_desc",
extensions={".png",".jpg"},
directory="image_dir")
public String image
@Editable public ColorizationConfig[] colorizations
@Editable(min=0.0,
hgroup="h")
public int hotSpotX
@Editable(min=0.0,
hgroup="h")
public int hotSpotY
| Constructor Detail |
|---|
public CursorConfig()
| Method Detail |
|---|
public Cursor getCursor(GlContext ctx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||