My program doesn't have bugs. It just develops random features.

UE2:GUIListBase (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIListBase

Contents

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

[edit] Properties

[edit] bHotTrack

Type: bool

Use the Mouse X/Y to always hightlight something

[edit] bSorted

Type: bool

Should we sort this list

[edit] bVisibleWhenEmpty

Type: bool

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

[edit] Index

Type: int

Pointers in to the list

[edit] ItemCount

Type: int

  1. of items in this list

[edit] ItemHeight

Type: int

Size of each row. Subclass should set in PreDraw.

[edit] ItemsPerPage

Type: int

  1. of items per Page. Is set natively

[edit] ItemWidth

Type: int

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

[edit] MyScrollBar

Type: GUIScrollBarBase


[edit] SelectedBKColor

Type: Object.Color

Color for a selection background

Default value:

Member Value
A 255
B 255
G 255
R 255

[edit] SelectedImage

Type: Material

Image to use when displaying

Default value: FinalBlend'GUIContent.Menu.PulseFill'

[edit] Top

Type: int


[edit] Default values

Property Value
bAcceptsInput True
bTabStop True
StyleName "ListBox"

[edit] Delegates

[edit] OnAdjustTop

delegate OnAdjustTop (GUIComponent Sender)


[edit] OnDrawItem

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


[edit] Instance functions

[edit] Clear

function Clear ()


[edit] MakeVisible

function MakeVisible (float Perc)


[edit] SetIndex

function int SetIndex (int NewIndex)


[edit] SetTopItem

function SetTopItem (int Item)


[edit] Sort

function Sort ()


Personal tools