The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTSimpleImageList (UT3)
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[edit]
Property group 'UTSimpleImageList'[edit]
BubbleRadius[edit]
Type: int
Size of the selection bubble, used to calculate alpha for items around the selected item.
Default value: 2
DefaultCellHeight[edit]
Type: float
Default value: 128.0
DefaultCellWidth[edit]
Type: float
Default value: 96.0
ImageList[edit]
Modifiers: editinlineuse
Padding[edit]
Type: float
Internal variables[edit]
bInvalidated[edit]
Type: bool
Modifiers: transient
If true, the positions have been invalidated so recalculate the sizes/etc.
bTransitioning[edit]
Type: bool
Modifiers: transient
ItemCount[edit]
Type: int
Modifiers: transient
LastMouseUpdate[edit]
Type: float
Modifiers: transient
LastRenderTime[edit]
Type: float
Modifiers: transient
List[edit]
Type: array<SimpleImageListData>
Modifiers: transient
ListWidthInPixel[edit]
Type: float
Modifiers: transient
ListWidthInPixels[edit]
Type: float
Modifiers: transient
OldSelection[edit]
Type: int
Modifiers: transient
PaddingThisFrame[edit]
Type: float
Modifiers: transient
ResScale[edit]
Type: float
Modifiers: transient
Selection[edit]
Type: int
Modifiers: transient
SelectionAlpha[edit]
Type: float
Modifiers: transient
SelectionModifier[edit]
Type: float
Modifiers: transient
StartSelectionTime[edit]
Type: float
Modifiers: transient
TransitionTime[edit]
Type: float
Modifiers: transient
WindowLeft[edit]
Type: float
Modifiers: transient
WindowScaling[edit]
Type: float
Modifiers: transient
WindowWidth[edit]
Type: float
Modifiers: transient
Default values[edit]
Property | Value |
---|---|
DefaultStates[3] | Class'Engine.UIState_Active' |
Subobjects[edit]
WidgetEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UTDrawPanel.WidgetEventComponent
No new values.
Structs[edit]
SimpleImageListData[edit]
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[edit]
OnDrawItem[edit]
This delegate allows anyone to alter the drawing code of the list.
Returns:
- true to skip the default drawing
OnItemChosen[edit]
This delegate is called when an item in the list is chosen.
OnSelectionChange[edit]
This delegate is called when the selection index changes
Functions[edit]
Native functions[edit]
UpdateAnimation[edit]
Events[edit]
AddItem[edit]
DrawPanel[edit]
Overrides: UTDrawPanel.DrawPanel
Render the list. At this point each cell should be sized, etc.
Empty[edit]
Empties the list
GetItemScale[edit]
Returns:
- Returns an item's height given the current position of the selection bar.
GetSupportedUIActionKeyNames[edit]
Overrides: UIScreenObject.GetSupportedUIActionKeyNames
Allow Script to add UI Actions
PostInitialize[edit]
Overrides: UIScreenObject.PostInitialize
Setup the input system
RemoveItem[edit]
Removes an item from the list
SelectItem[edit]
Selects an item
SizeList[edit]
SizeList is called directly before rendering anything in the list.
Other instance functions[edit]
CursorCheck[edit]
All are in pixels
Parameters:
- X1 - Left
- Y1 - Top
- X2 - Right
- Y2 - Bottom
Returns:
- true if the mouse is within the bounds given
DrawItem[edit]
Draws an item to the screen.
GetItemWidthInPixels[edit]
Returns:
- Converts an item's scale width to pixels.
GetMousePosition[edit]
Returns:
- the mouse position in widget space
GetSelectedTag[edit]
ItemChosen[edit]
MouseInBounds[edit]
ProcessInputKey[edit]
SelectUnderCursor[edit]
Select whichever widget happens to be under the cursor
SetTransition[edit]
Starts an item down the road to transition