I'm a doctor, not a mechanic

UE2:GUIListBase (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIListBase
Package: 
GUI
Direct subclasses:
GUICircularList, GUIHorzList, GUIVertList
This class in other games:
UT2003, UT2004

Class: GUI.GUIListBase

Abstract GUIList list box component.

Written by Joe Wilcox Made abstract by Jack Porter (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

bHotTrack[edit]

Type: bool

Use the Mouse X/Y to always hightlight something

bSorted[edit]

Type: bool

Should we sort this list

bVisibleWhenEmpty[edit]

Type: bool

List is still drawn when there are no items in it.

Index[edit]

Type: int

Pointers in to the list

ItemCount[edit]

Type: int

  1. of items in this list

ItemHeight[edit]

Type: int

Size of each row. Subclass should set in PreDraw.

ItemsPerPage[edit]

Type: int

  1. of items per Page. Is set natively

ItemWidth[edit]

Type: int

Width of each row.. Subclass should set in PreDraw.

MyScrollBar[edit]

Type: GUIScrollBarBase


SelectedBKColor[edit]

Type: Object.Color

Color for a selection background

Default value:

Member Value
A 255
B 255
G 255
R 255

SelectedImage[edit]

Type: Material

Image to use when displaying

Default value: FinalBlend'GUIContent.Menu.PulseFill'

Top[edit]

Type: int


Default values[edit]

Property Value
bAcceptsInput True
bTabStop True
StyleName "ListBox"

Delegates[edit]

OnAdjustTop[edit]

delegate OnAdjustTop (GUIComponent Sender)


OnDrawItem[edit]

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


Instance functions[edit]

Clear[edit]

function Clear ()


MakeVisible[edit]

function MakeVisible (float Perc)


SetIndex[edit]

function int SetIndex (int NewIndex)


SetTopItem[edit]

function SetTopItem (int Item)


Sort[edit]

function Sort ()