Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. A version of UIContextMenu that has been adapted to use 2DStringList's (required in order to get them working) NOTE: It may not be possible to get this working through the UI Editor, if so, then use the 'OnOpenContextMenu' delegate to initialize (and fill, using 'SetMenuItems' etc.) the context menu through code
Core.Object | +-- Engine.UIRoot | +-- Engine.UIScreenObject | +-- Engine.UIObject | +-- Engine.UIList | +-- Engine.UIContextMenu | +-- UTGame.UTUI_ContextMenu
Constants Summary |
---|
Inherited Contants from Engine.UIList |
---|
ResizeBufferPixels |
Variables Summary | |
---|---|
name | LastBoundField |
Inherited Variables from Engine.UIContextMenu |
---|
bResolvePosition, InvokingWidget, MenuItems |
Enumerations Summary |
---|
Inherited Enumerations from Engine.UIContextMenu |
---|
EContextMenuItemType |
Inherited Enumerations from Engine.UIList |
---|
ECellAutoSizeMode, ECellLinkType, EListWrapBehavior |
Structures Summary |
---|
Inherited Structures from Engine.UIContextMenu |
---|
ContextMenuItem |
Inherited Structures from Engine.UIList |
---|
CellHitDetectionInfo |
Functions Summary | ||
---|---|---|
![]() | bool | AddMenuItem (UIObject Widget, string Item, optional bool bDisabledItem, optional bool bAllowDuplicates)) |
![]() | bool | ClearMenuItems (UIObject Widget)) |
![]() | int | FindMenuItemIndex (UIObject Widget, string ItemToFind)) |
![]() | UTUIDataStore_2DStringList | Get2DDataStoreRef (UIObject Widget, optional name WidgetField)) |
![]() | bool | GetAllMenuItems (UIObject Widget, out array<string> out_MenuItems)) |
![]() | bool | GetMenuItem (UIObject Widget, int IndexToGet, out string out_MenuItem)) |
![]() | int | GetMenuItemCount (UIObject Widget)) |
![]() | bool | InsertMenuItem (UIObject Widget, string Item, optional int InsertIndex=INDEX_NONE, optional bool bAllowDuplicates)) |
![]() | bool | RemoveMenuItem (UIObject Widget, string ItemToRemove)) |
![]() | bool | RemoveMenuItemAtIndex (UIObject Widget, int IndexToRemove)) |
![]() | bool | SetContextTitle (UIObject Widget, string ContextTitle)) |
![]() | bool | SetMenuItems (UIObject Widget, array<string> NewMenuItems, optional bool bClearExisting=true, optional int InsertIndex=INDEX_None)) |
Inherited Functions from Engine.UIContextMenu |
---|
ClearMenuItems, Close, FindMenuItemIndex, GetAllMenuItems, GetMenuItem, InsertMenuItem, IsActiveContextMenu, Open, RemoveMenuItem, RemoveMenuItemAtIndex, SetMenuItems |
Variables Detail |
---|
Functions Detail |
---|
Defaultproperties |
---|
defaultproperties { ColumnWidth=(Value=0.000000) CellLinkType=LINKED_None Begin Object Class=UIComp_ListPresenterCascade Name=UTContextMenuDataComponent ObjName=UTContextMenuDataComponent Archetype=UIComp_ListPresenterCascade'Engine.Default__UIComp_ListPresenterCascade' Begin Object Class=UITexture Name=NormalOverlayTemplate ObjName=NormalOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:NormalOverlayTemplate' ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:NormalOverlayTemplate' End Object Begin Object Class=UITexture Name=ActiveOverlayTemplate ObjName=ActiveOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:ActiveOverlayTemplate' ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:ActiveOverlayTemplate' End Object Begin Object Class=UITexture Name=SelectionOverlayTemplate ObjName=SelectionOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:SelectionOverlayTemplate' ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:SelectionOverlayTemplate' End Object Begin Object Class=UITexture Name=HoverOverlayTemplate ObjName=HoverOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:HoverOverlayTemplate' ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:HoverOverlayTemplate' End Object ListItemOverlay(0)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.NormalOverlayTemplate' ListItemOverlay(1)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.ActiveOverlayTemplate' ListItemOverlay(2)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.SelectionOverlayTemplate' ListItemOverlay(3)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.HoverOverlayTemplate' Name="UTContextMenuDataComponent" ObjectArchetype=UIComp_ListPresenterCascade'Engine.Default__UIComp_ListPresenterCascade' End Object CellDataComponent=UTContextMenuDataComponent Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'Engine.Default__UIContextMenu:WidgetEventComponent' ObjectArchetype=UIComp_Event'Engine.Default__UIContextMenu:WidgetEventComponent' End Object EventProvider=WidgetEventComponent Name="Default__UTUI_ContextMenu" ObjectArchetype=UIContextMenu'Engine.Default__UIContextMenu' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |