I'm a doctor, not a mechanic

UE2:GUIListBase (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> GUI >> GUIComponent >> GUIListBase
Package: 
XInterface
Direct subclasses:
GUICircularList, GUIHorzList, GUIVertList
This class in other games:
UE2Runtime, UT2004

Class: XInterface.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: Material'InterfaceContent.menus.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 ()