Image States Object
From Runic Games Wiki
Contents |
Image States
Properties
Name | Category | Type | Description | ReadOnly |
---|---|---|---|---|
PERCENT X | POSITION | float | X Position as a percent. | |
PERCENT Y | POSITION | float | Y Position as a percent. | |
OFFSET X | POSITION | float | X offset in pixels. | |
OFFSET Y | POSITION | float | Y offset in pixels | |
WIDTH | SIZE | float | Width in actual pixels. | |
HEIGHT | SIZE | float | Height in actual pixels. | |
SCALE WIDTH | SIZE | float | Width in actual pixels. | |
SCALE HEIGHT | SIZE | float | Height in actual pixels. | |
TOOL TIP | ADVANCED | string | The tool tip of this window. | |
TOOL TIP VISUAL | ADVANCED | string | The visual tooltip file. | |
TOOL TIP INHERITED | ADVANCED | bool | Does the tooltip inherit from parent? | |
CLIPPED | ADVANCED | bool | If true it's clipped by the parent. | |
MOUSE PASS THROUGH | ADVANCED | bool | If false the mouse will give the object events. | |
LIST INDEX | ADVANCED | int | Used for sorting items in lists and reflow windows | |
ALWAYS ON TOP | ADVANCED | bool | If true the widget will always be on top. | |
ALPHA | ADVANCED | float | The alpha of the window. | |
PUSH BACK | ADVANCED | bool | If true when the widget loads it gets pushed back. | |
ADD PROPS | ADVANCED | string | Additional properties. PropName=Value | |
SORT OFFSET | ADVANCED | int | Offset to the window's sort order | |
VISIBLE | VISIBILITY AND ENABLED | bool | Is it visible. | |
ENABLED | VISIBILITY AND ENABLED | bool | Is it enabled. | |
VERTICLE | FRAME ALIGNMENT | string | Vertical alignment of the frame. | |
HORIZONTAL | FRAME ALIGNMENT | string | Horizontal alignment of frame. | |
WIDGET NAME | DATA | string | The name used in code for ref. | |
STRING DATA | DATA | string | Data used by code. | |
INTEGER DATA | DATA | int | Integer Data used by code. | |
RENDER WINDOW | ADVANCED | bool | If true render window will try to sort itself with other render windows. Usually you only have a single render window per menu. | |
STATE 0 | IMAGES FOR STATES | string | If disable is first state is true this will be the disabled state. | |
STATE 1 | IMAGES FOR STATES | string | This should be the first image. | |
STATE 2 | IMAGES FOR STATES | string | An Image for this state. | |
STATE 3 | IMAGES FOR STATES | string | An Image for this state. | |
STATE 4 | IMAGES FOR STATES | string | An Image for this state. | |
DISABLED IS STATE 0 | IMAGES FOR STATES | bool | If true the first state is the disabled state | |
CURRENT STATE | IMAGES FOR STATES | int | The current state |
Input Events
Show
Hide
Toggle Visibility
Disable
Enable
Set State 1
Set State 2
Set State 3
Set State 4
Set State 5
Output Events
On Visible
On Invisible
Mouse Entered
Mouse Leave
State 1 set
State 2 set
State 3 set
State 4 set
State 5 set