Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE3:UTSimpleImageList (UDK)
Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel >> UTSimpleImageList |
Contents
- 1 Properties
- 1.1 Property group 'UTSimpleImageList'
- 1.2 Internal variables
- 1.2.1 bInvalidated
- 1.2.2 bTransitioning
- 1.2.3 ItemCount
- 1.2.4 LastMouseUpdate
- 1.2.5 LastRenderTime
- 1.2.6 List
- 1.2.7 ListWidthInPixel
- 1.2.8 ListWidthInPixels
- 1.2.9 OldSelection
- 1.2.10 PaddingThisFrame
- 1.2.11 ResScale
- 1.2.12 Selection
- 1.2.13 SelectionAlpha
- 1.2.14 SelectionModifier
- 1.2.15 StartSelectionTime
- 1.2.16 TransitionTime
- 1.2.17 WindowLeft
- 1.2.18 WindowScaling
- 1.2.19 WindowWidth
- 1.3 Default values
- 1.4 Subobjects
- 2 Structs
- 3 Delegates
- 4 Functions
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
- This is a simple Horz. List that uses graphics.
Properties
Property group 'UTSimpleImageList'
BubbleRadius
Type: int
Size of the selection bubble, used to calculate alpha for items around the selected item.
Default value: 2
DefaultCellHeight
Type: float
Default value: 128.0
DefaultCellWidth
Type: float
Default value: 96.0
ImageList
Modifiers: editinlineuse
Padding
Type: float
Internal variables
bInvalidated
Type: bool
Modifiers: transient
If true, the positions have been invalidated so recalculate the sizes/etc.
bTransitioning
Type: bool
Modifiers: transient
ItemCount
Type: int
Modifiers: transient
LastMouseUpdate
Type: float
Modifiers: transient
LastRenderTime
Type: float
Modifiers: transient
List
Type: array<SimpleImageListData>
Modifiers: transient
ListWidthInPixel
Type: float
Modifiers: transient
ListWidthInPixels
Type: float
Modifiers: transient
OldSelection
Type: int
Modifiers: transient
PaddingThisFrame
Type: float
Modifiers: transient
ResScale
Type: float
Modifiers: transient
Selection
Type: int
Modifiers: transient
SelectionAlpha
Type: float
Modifiers: transient
SelectionModifier
Type: float
Modifiers: transient
StartSelectionTime
Type: float
Modifiers: transient
TransitionTime
Type: float
Modifiers: transient
WindowLeft
Type: float
Modifiers: transient
WindowScaling
Type: float
Modifiers: transient
WindowWidth
Type: float
Modifiers: transient
Default values
Property | Value |
---|---|
DefaultStates[3] | Class'Engine.UIState_Active' |
Subobjects
WidgetEventComponent
Class: Engine.UIComp_Event
Inherits from: UTDrawPanel.WidgetEventComponent
No new values.
Structs
SimpleImageListData
Modifiers: native
- name Tag
- int Count
- int ImageIndex
- UIRoot.TextureCoordinates UVs
- float CurMultiplier
- float Multipliers[2]
- float TransitionTime
- float TransitionAlpha
- float Bounds[4]
- bool bWasRendered
Default values:
Property | Value |
---|---|
bWasRendered | False |
CurMultiplier | 1.0 |
Multipliers[0] | 1.0 |
Multipliers[1] | 1.0 |
TransitionAlpha | 1.0 |
TransitionTime | 0.0 |
Delegates
OnDrawItem
This delegate allows anyone to alter the drawing code of the list.
Returns:
- true to skip the default drawing
OnItemChosen
This delegate is called when an item in the list is chosen.
OnSelectionChange
This delegate is called when the selection index changes
Functions
Native functions
UpdateAnimation
Events
AddItem
DrawPanel
Overrides: UTDrawPanel.DrawPanel
Render the list. At this point each cell should be sized, etc.
Empty
Empties the list
GetItemScale
Returns:
- Returns an item's height given the current position of the selection bar.
GetSupportedUIActionKeyNames
Overrides: UIScreenObject.GetSupportedUIActionKeyNames
Allow Script to add UI Actions
PostInitialize
Overrides: UIScreenObject.PostInitialize
Setup the input system
RemoveItem
Removes an item from the list
SelectItem
Selects an item
SizeList
SizeList is called directly before rendering anything in the list.
Other instance functions
CursorCheck
All are in pixels
Parameters:
- X1 - Left
- Y1 - Top
- X2 - Right
- Y2 - Bottom
Returns:
- true if the mouse is within the bounds given
DrawItem
Draws an item to the screen.
GetItemWidthInPixels
Returns:
- Converts an item's scale width to pixels.
GetMousePosition
Returns:
- the mouse position in widget space
GetSelectedTag
ItemChosen
MouseInBounds
ProcessInputKey
SelectUnderCursor
Select whichever widget happens to be under the cursor
SetTransition
Starts an item down the road to transition