Drag And Drop Container Object
From Runic Games Wiki
Contents |
Drag And Drop Container
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. | |
DISABLED | IMAGES FOR STATES | string | If the container is disabled. | |
BACKGROUND | IMAGES FOR STATES | string | The background of the container. | |
OCCUPIED | IMAGES FOR STATES | string | If the container is occupied. | |
HOVER | IMAGES FOR STATES | string | The image mouse over. | |
HIGHLIGHT | IMAGES FOR STATES | string | The image for highlighting. | |
INDEX | PREDEFINED TYPES | int | The index of the container type. | |
CONTENTS CAN BE REMOVED | DRAG AN DROP | bool | If true the contents can be removed. | |
CONTENTS CAN BE ADDED | DRAG AN DROP | bool | If true objects can be dragged onto the container. | |
CONTENTS STAY | DRAG AN DROP | bool | If true the contents will leave a clone when dragging. | |
LINK ONLY | DRAG AN DROP | bool | If true the contents will link. | |
SEARCH PARENT | DRAG AN DROP | bool | If true something is dragged on top of the container while it has an object contained within, it'll attempt to find a valid container in it's parent. | |
CHILD OFFSETS | DRAG AN DROP | CVector2 | The offsets of the child contained in the container. | |
CHILD SCALE | DRAG AN DROP | float | The scale of the child contained in the container. | |
ALLOWED TYPES | UNITTYPES | string | Unit Types allowed. | |
NOT ALLOWED TYPES | UNITTYPES | string | Unit Types not Allowed. | |
SYSTEM | GAME SYSTEM | string | Will list what is in the specific game system. | |
CONTAINER | GAME SYSTEM | string | The inventory container to show contents of | |
SLOT | GAME SYSTEM | string | The inventory slot name to show contents of | |
INVISIBLE IF EMPTY | UI PROPERTIES | bool | Sets the container invisible if nothing is in it. | |
KEY BINDING | UI PROPERTIES | string | The key binding to map to this drag and drop object. | |
TYPE | TARGETING | string | The type of target the list should use. | |
INDEX_ | TARGETING | int | The index of the target type. | |
SECONDARY INDEX | TARGETING | int | The secondar index of the target type. | |
TARGET NAME | TARGETING | string | The name of the unit in the level. |
Input Events
Show
Hide
Toggle Visibility
Disable
Enable
Clear Link
Activate Link
Output Events
On Visible
On Invisible
Mouse Entered
Mouse Leave
Contents Changed
Contents Added
Contents Removed
Mouse Click Active
Mouse Click Secondary