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

GUI.GUIListBase

Extends
GUIComponent
Modifiers
HideCategories ( Menu , Object ) Native Abstract

Core.Object
|   
+-- GUI.GUI
   |   
   +-- GUI.GUIComponent
      |   
      +-- GUI.GUIListBase

Direct Known Subclasses:

GUICircularList, GUIHorzList, GUIVertList

Variables Summary
GUIScrollBarBaseMyScrollBar
GUIListBase
boolbHotTrack
boolbReadOnly
boolbVisibleWhenEmpty
intIndex
intItemCount
intItemHeight
intItemsPerPage
intItemWidth
colorSelectedBKColor
MaterialSelectedImage
intTop
Inherited Variables from GUI.GUIComponent
bAcceptsInput, bActiveInput, bAllowHTMLTextFormatting, bAllowPressedEffect, bBoundToParent, bCanBeShown, bCaptureMouse, bCaptureTabs, bDirty, bDrawStyle, bFocusOnWatch, bHideMouseCursor, bHitTestOnClientBounds, bInited, bMaintainFocus, bMouseOverSound, bNeverFocus, Bounds[4], bPersistent, bPlayerMoveAllowed, bRepeatClick, bRepeatCycling, bRepositioning, bRequireReleaseClick, bSaved, bScaled, bScaleToParent, bSwallowAllKeyEvents, bTabStop, bTimerRepeat, bVisible, ClientBounds[4], CyclePosition, FocusInstead, Hint, LinkOverrides[4], Links[4], MenuOwner, MenuState, MouseCursorIndex, MoveGroup, MovePositions, OnClickSound, RadioGroup, RenderWeight, SaveColor, SaveFont, SaveStyle, SaveX, SaveY, Style, StyleName, TabOrder, TimerCountdown, TimerIndex, TimerInterval, TransitionSpec, UndoHistory, UndoLevel, WinHeight, WinLeft, WinTop, WinWidth
Inherited Variables from GUI.GUI
Controller, QBTN_Abort, QBTN_AbortRetry, QBTN_Cancel, QBTN_Continue, QBTN_Ignore, QBTN_No, QBTN_Ok, QBTN_OkCancel, QBTN_Retry, QBTN_TimeOut, QBTN_Yes, QBTN_YesNo, QBTN_YesNoCancel

Enumerations Summary
Inherited Enumerations from GUI.GUIComponent
EClickSound
Inherited Enumerations from GUI.GUI
eEditMask, eIconPosition, eImgAlign, eImgStyle, eListElemDisplay, EMenuRenderStyle, eMenuState, eProgressDirection, eTextAlign, eTextCase, eXControllerCodes

Structures Summary
Inherited Structures from GUI.GUIComponent
sDynamicPositionSpec, sTransitionSpec
Inherited Structures from GUI.GUI
ControlSpec, GUIListElem

Delegates Summary
delegate OnAdjustTop (GUIComponent Sender)
delegate OnDrawItem (Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected)
Inherited Delegates from GUI.GUIComponent
OnActivate, OnCapturedMouseMove, OnChange, OnClick, OnClientDraw, OnDblClick, OnDeActivate, OnDraw, OnFocused, OnHide, OnHitTest, OnKeyEvent, OnKeyType, OnLostFocus, OnMenuStateChanged, OnMessage, OnMousePressed, OnMouseRelease, OnPreDraw, OnRawXController, OnRender, OnRePositionCompleted, OnRightClick, OnShow, OnUpdateComponent, OnWatched, OnXControllerEvent

Functions Summary
function Clear ()))
function InitComponent (GUIComponent Owner))
function MakeVisible (float Perc))
functionint SetIndex (int NewIndex, optional bool bDontPropChange, optional bool bDontReAlign ))
function SetTopItem (int Item))
function Sort ()
Inherited Functions from GUI.GUIComponent
Activate, ActualHeight, ActualLeft, ActualTop, ActualWidth, ChangeStyle, Click, Construct, CyclePositions, DblClick, DeActivate, DisableComponent, EnableComponent, FillOwner, Focus, Free, Hide, InitComponent, InitDelegates, IsAtPosition, IsInBounds, IsInClientBounds, KillTimer, LoadLayoutFromHistory, LoseFocus, MenuStateChange, MousePressed, MouseReleased, OnChangeLayout, OnConstruct, OnResolutionChanged, PlayerOwner, Press, RedoLayout, RegisterNotifyResolutionChanged, RePosition, RePositionCompleted, RePositionTo, SaveLayout, SaveLayoutToHistory, SetActive, SetDirty, SetEnabled, SetFocusInstead, SetHint, SetLinkOverrides, SetLinks, SetRadioGroup, SetTimer, SetVisibility, Show, StopCycling, StripColorCodes, Timer, UndoLayout, Watched
Inherited Functions from GUI.GUI
CopyConfig, CreateElement, IsDigit, MakeColorCode, StripCodes


Variables Detail

MyScrollBar Source code

var GUIScrollBarBase MyScrollBar;

GUIListBase

bHotTrack Source code

var(GUIListBase) config bool bHotTrack;
Use the Mouse X/Y to always hightlight something

bReadOnly Source code

var(GUIListBase) config bool bReadOnly;
If true, list is unselectable

bVisibleWhenEmpty Source code

var(GUIListBase) config bool bVisibleWhenEmpty;
List is still drawn when there are no items in it.

Index Source code

var(GUIListBase) EditConst int Index;
Pointers in to the list

ItemCount Source code

var(GUIListBase) EditConst int ItemCount;
# of items in this list

ItemHeight Source code

var(GUIListBase) EditConst int ItemHeight;
Size of each row. Subclass should set in PreDraw.

ItemsPerPage Source code

var(GUIListBase) EditConst int ItemsPerPage;
# of items per Page. Is set natively

ItemWidth Source code

var(GUIListBase) EditConst int ItemWidth;
Width of each row.. Subclass should set in PreDraw.

SelectedBKColor Source code

var(GUIListBase) config color SelectedBKColor;
Color for a selection background

SelectedImage Source code

var(GUIListBase) config Material SelectedImage;
Image to use when displaying

Top Source code

var(GUIListBase) EditConst int Top;
Pointers in to the list


Delegates Detail

OnAdjustTop Source code

delegate OnAdjustTop ( GUIComponent Sender )

OnDrawItem Source code

delegate OnDrawItem ( Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected )


Functions Detail

Clear Source code

function Clear ( ) )

InitComponent Source code

function InitComponent ( GUIComponent Owner) )

MakeVisible Source code

function MakeVisible ( float Perc) )

SetIndex Source code

function int SetIndex ( int NewIndex, optional bool bDontPropChange, optional bool bDontReAlign ) )

SetTopItem Source code

function SetTopItem ( int Item) )

Sort Source code

function Sort ( )


Defaultproperties

defaultproperties
{
	bAcceptsInput=true
	StyleName="STY_ListBox"
    TextAlign=TXTA_Left
	SelectedBKColor=(R=170,G=194,B=232,A=255)
	
	Top=0
	Index=0	
	ItemsPerPage=0
	bTabStop=true	
	bVisibleWhenEmpty=false
	bCaptureMouse=true	
	bDrawStyle=true
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:30.301 - Created with UnCodeX