Gah - a solution with more questions. – EntropicLqd

UE2:GUIListBase (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
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

bHotTrack

Type: bool

Use the Mouse X/Y to always hightlight something

bSorted

Type: bool

Should we sort this list

bVisibleWhenEmpty

Type: bool

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

Index

Type: int

Pointers in to the list

ItemCount

Type: int

  1. of items in this list

ItemHeight

Type: int

Size of each row. Subclass should set in PreDraw.

ItemsPerPage

Type: int

  1. of items per Page. Is set natively

ItemWidth

Type: int

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

MyScrollBar

Type: GUIScrollBarBase


SelectedBKColor

Type: Object.Color

Color for a selection background

Default value:

Member Value
A 255
B 255
G 255
R 255

SelectedImage

Type: Material

Image to use when displaying

Default value: FinalBlend'GUIContent.Menu.PulseFill'

Top

Type: int


Default values

Property Value
bAcceptsInput True
bTabStop True
StyleName "ListBox"

Delegates

OnAdjustTop

delegate OnAdjustTop (GUIComponent Sender)


OnDrawItem

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


Instance functions

Clear

function Clear ()


MakeVisible

function MakeVisible (float Perc)


SetIndex

function int SetIndex (int NewIndex)


SetTopItem

function SetTopItem (int Item)


Sort

function Sort ()