Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTUICharacterCustomizationList

Extends
UTUIMenuList

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. Specific version of the menu list that draws a number of the currently selected character part.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- UTGame.UTUI_Widget
            |   
            +-- UTGame.UTDrawPanel
               |   
               +-- UTGame.UTSimpleList
                  |   
                  +-- UTGame.UTUIMenuList
                     |   
                     +-- UTGame.UTUICharacterCustomizationList

Variables Summary
array<int>CurrentlySelectedPartIndex
ECharPartCurrentlySelectedPartType
stringCurrentPartSelectionStr
UTUIDataStore_CustomCharCustomCharDataStore
floatLeftArrowBounds[4]
array<ECharPart>ListEnumMap
array<name>PartCellTags
vector2DPartSelectionPadding
floatRightArrowBounds[4]
UTUICharacterCustomizationList
colorArrowColorMouseOver
colorArrowColorNormal
colorArrowColorPressed
boolbLeftArrowPressed
boolbRightArrowPressed
floatLeftRightArrowHeightMultiplier
texture2DLeftRightArrowImage
vector2DLeftRightArrowOffset
floatLeftRightArrowWidthRatio
colorPartSelectionTextColor
Inherited Variables from UTGame.UTUIMenuList
bIsRotating, DataProvider, DataSource, MenuListItems, SelectedIndexDataSource, StartRotationTime
Inherited Variables from UTGame.UTSimpleList
AboveBelowCellHeightMultiplier, AboveBelowColor, ArrowColor, ArrowImage, BarPosition, bDownArrowPressed, bDragging, bHideScrollArrows, bHorizontalList, bHotTracking, bInvalidated, bIsMouseOverMenu, bIsUsingMouseNavigation, bTransitioning, BubbleRadius, bUpArrowPressed, bWrapList, DefaultCellHeight, DownArrowBounds[4], DragAdjustment, LastMouseUpdate, LastRenderTime, List, ListHeightInPixel, NormalColor, NormalTextOffset, NormalTextPadding, OldBarPosition, OldSelection, ResScaling, ScrollWidthRatio, SelectedColor, SelectedTextOffset, SelectedTextPadding, Selection, SelectionAlpha, SelectionBarColor, SelectionCellHeightMultiplier, SelectionImage, SelectionImageBarU, SelectionImageBarUL, SelectionImageBarV, SelectionImageBarVL, SelectionImageIconBGU, SelectionImageIconBGUL, SelectionImageIconBGV, SelectionImageIconBGVL, SelectionPos, ShadowColor, ShadowDist, StartSelectionTime, TargetWindowTop, TextFont, Top, TransitionTime, UpArrowBounds[4], WindowHeight, WindowTop, WindowTopTransitionTime

Structures Summary
Inherited Structures from UTGame.UTSimpleList
SimpleListData

Functions Summary
functionbool CheckArrowInput (const SubscribedInputEventParameters EventParms))
function DrawSelectionArrow (float DrawX, float DrawY, float DrawW, float DrawH, float TexU, float TexV, float TexUL, float TexVL, bool bOver, bool bPressed))
function DrawSelectionBG (float YPos))
functionbool GetPartID (ECharPart PartType, int PartIndex, out string OutValue))
functionint GetPartIndex (ECharPart PartType, string PartID))
functionECharPart GetSelectedCharPartType ()))
function OnCurrentPartChanged (optional bool bUpdatePreviewactor=true))
event PostInitialize ()))
functionbool ProcessInputKey (const out SubscribedInputEventParameters EventParms ))
event SelectItem (int NewSelection))
function SelectNextPart ()))
function SelectPrevPart ()))
function SetPartSelection (ECharPart PartType, string PartID))
Inherited Functions from UTGame.UTUIMenuList
ClearBoundDataStores, FindCellFieldString, GetBoundDataStores, GetCellFieldString, GetCellFieldValue, GetCurrentItem, GetDataStoreBinding, ItemChosen, NotifyDataStoreValueUpdated, PostInitialize, RefreshSubscriberValue, RegenerateOptions, SelectItem, SetDataStoreBinding, SetIndex
Inherited Functions from UTGame.UTSimpleList
AddItem, CalculateSelectionBGPosition, ComputeListHeightWithSelection, CursorCheck, DrawItem, DrawPanel, DrawSelectionBG, DrawSpecial, DrawStringToFit, Empty, Find, FindTag, GetDefaultCellHeight, GetItemHeightInPixels, GetItemScale, GetMousePosition, GetSelectedCellHeight, GetSupportedUIActionKeyNames, GetTag, GetText, ImportStringList, InsertItem, InterpLinearColor, IsMouseOverMenu, ItemChosen, LinearColorToColor, MouseInBounds, OnMouseOverMenu, PgDn, PgUp, PostInitialize, ProcessInputAxis, ProcessInputKey, RefreshBarPosition, RemoveItem, RemoveString, ResolveText, SelectItem, SelectUnderCursor, SetBarPositionUsingMouseY, SetItemSelectionIndex, SizeList, SortList, ToStrings, UpdateAnimation, UpdateMouseOverMenu


Variables Detail

CurrentlySelectedPartIndex Source code

var transient array<int> CurrentlySelectedPartIndex;

CurrentlySelectedPartType Source code

var transient ECharPart CurrentlySelectedPartType;

CurrentPartSelectionStr Source code

var transient string CurrentPartSelectionStr;

CustomCharDataStore Source code

var transient UTUIDataStore_CustomChar CustomCharDataStore;
Mapping of list index's to part enums.

LeftArrowBounds[4] Source code

var transient float LeftArrowBounds[4];
We cache the rendering bounds of the Left/Right arrows for quick mouse look up.

ListEnumMap Source code

var transient array<ECharPart> ListEnumMap;

PartCellTags Source code

var transient array<name> PartCellTags;

PartSelectionPadding Source code

var transient vector2D PartSelectionPadding;
Text information.

RightArrowBounds[4] Source code

var transient float RightArrowBounds[4];

UTUICharacterCustomizationList

ArrowColorMouseOver Source code

var(UTUICharacterCustomizationList) color ArrowColorMouseOver;

ArrowColorNormal Source code

var(UTUICharacterCustomizationList) color ArrowColorNormal;
Arrow state colors.

ArrowColorPressed Source code

var(UTUICharacterCustomizationList) color ArrowColorPressed;

bLeftArrowPressed Source code

var(UTUICharacterCustomizationList) bool bLeftArrowPressed;

bRightArrowPressed Source code

var(UTUICharacterCustomizationList) bool bRightArrowPressed;

LeftRightArrowHeightMultiplier Source code

var(UTUICharacterCustomizationList) float LeftRightArrowHeightMultiplier;

LeftRightArrowImage Source code

var(UTUICharacterCustomizationList) texture2D LeftRightArrowImage;
Left/Right Selection Arrow

LeftRightArrowOffset Source code

var(UTUICharacterCustomizationList) vector2D LeftRightArrowOffset;
Ratio if scroll ratio width to height.

LeftRightArrowWidthRatio Source code

var(UTUICharacterCustomizationList) float LeftRightArrowWidthRatio;
Height of the selection left/right arrow in percentage.

PartSelectionTextColor Source code

var(UTUICharacterCustomizationList) color PartSelectionTextColor;


Functions Detail

CheckArrowInput Source code

function bool CheckArrowInput ( const SubscribedInputEventParameters EventParms) )
Checks to see if the user has clicked on the scroll arrows.

DrawSelectionArrow Source code

function DrawSelectionArrow ( float DrawX, float DrawY, float DrawW, float DrawH, float TexU, float TexV, float TexUL, float TexVL, bool bOver, bool bPressed) )
Draws one of the left/right selection arrows.

DrawSelectionBG Source code

function DrawSelectionBG ( float YPos) )
Draws the background of the currently selected list element.

GetPartID Source code

function bool GetPartID ( ECharPart PartType, int PartIndex, out string OutValue) )

@return Returns whether or not OutValue contains the partID for the given part type and part index

GetPartIndex Source code

function int GetPartIndex ( ECharPart PartType, string PartID) )
Returns a part index given a part type and part ID.

GetSelectedCharPartType Source code

function ECharPart GetSelectedCharPartType ( ) )

@return Returns the currently selected char part type.

OnCurrentPartChanged Source code

function OnCurrentPartChanged ( optional bool bUpdatePreviewactor=true) )
Notification for when the current part for the current part type has changed.

PostInitialize Source code

event PostInitialize ( ) )

ProcessInputKey Source code

function bool ProcessInputKey ( const out SubscribedInputEventParameters EventParms ) )
UI Input processing handler.

SelectItem Source code

event SelectItem ( int NewSelection) )
Sets the currently selected list item.

SelectNextPart Source code

function SelectNextPart ( ) )
Selects the next part for the current part type.

SelectPrevPart Source code

function SelectPrevPart ( ) )
Selects the previous part for the current part type.

SetPartSelection Source code

function SetPartSelection ( ECharPart PartType, string PartID) )
Sets the current selection for the specified part type.


Defaultproperties

defaultproperties
{
   PartSelectionTextColor=(B=255,G=255,R=255,A=255)
   LeftRightArrowImage=Texture2D'UI_HUD.HUD.UI_HUD_BaseC'
   LeftRightArrowHeightMultiplier=0.500000
   LeftRightArrowWidthRatio=1.500000
   LeftRightArrowOffset=(X=0.050000,Y=0.100000)
   ArrowColorNormal=(B=124,G=224,R=224,A=192)
   ArrowColorMouseOver=(B=189,G=240,R=240,A=255)
   ArrowColorPressed=(B=255,G=255,R=255,A=255)
   ScrollWidthRatio=3.000000
   Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'UTGame.Default__UTUIMenuList:WidgetEventComponent'
      ObjectArchetype=UIComp_Event'UTGame.Default__UTUIMenuList:WidgetEventComponent'
   End Object
   EventProvider=WidgetEventComponent
   Name="Default__UTUICharacterCustomizationList"
   ObjectArchetype=UTUIMenuList'UTGame.Default__UTUIMenuList'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:58.111 - Created with UnCodeX