#include <gui.h>
Public Member Functions |
| void | SetItemList (gListItem *List, int NumItems) |
| void | InsertItem (int Index, char *Text, int TreeLevel, int StateFlags, int Data) |
| void | RemoveItem (int Index) |
| void | AddItem (char *Text, int TreeLevel, int StateFlags, int Data) |
| gListItem * | GetItem (int Index) |
| void | SetSelection (int Index) |
| int | NextItem (int Index) |
| int | NextVisibleItem (int Index) |
| int | PrevVisibleItem (int Index) |
| int | PrevItem (int Index) |
| int | ChildItem (int Index) |
| int | ParentItem (int Index) |
| char * | FullPath (int BaseIndex, int Index, const char *Separator) |
| void | Select (int Index) |
| void | Unselect (int Index) |
| void | Hide (int Index) |
| void | Unhide (int Index) |
| void | Expand (int Index) |
| void | Collapse (int Index) |
| void | ExpandAll (int Index) |
| void | CollapseAll (int Index) |
| BOOL | HasChildren (int Index) |
| BOOL | IsExpanded (int Index) |
| void | SetCheck (int Index, BOOL value) |
| BOOL | IsChecked (int Index) |
| BOOL | ReallocList (int _NumItems) |
| void | ListChanged () |
| void | RedrawAll () |
| void | RedrawSingleItem (int Index) |
| BOOL | MoveSelectionUp (int nlines) |
| BOOL | MoveSelectionDown (int nlines) |
| void | EnsureVisible (int Index) |
| virtual int | CalcItemWidth (int Index) |
| virtual BOOL | DrawItem (int Index, int y) |
| virtual BOOL | AcceptFocus () |
| virtual void | Update (gUpdate *u) |
| void | RedrawFrame () |
| void | DrawVScrollBar () |
| void | DrawHScrollBar () |
| void | InvalidateVScrollBar () |
| virtual BOOL | DefaultEvent (gEvent *e) |
| | gListBox (gControl &Parent, int x, int y, int w, int h, int Style, gFont *Font) |
| | ~gListBox () |
Data Fields |
| gListItem * | Items |
| int | NumItems |
| int | MaxItems |
| int | DispItems |
| int | ViewItem |
| int | SelectedItem |
| int | ItemHeight |
| int | MaxWidth |
| int | Color |
| int | BkColor |
| int | SelColor |
| int | StyleFlags |
| gFont | Font |
Private Member Functions |
| virtual void | vTable () |
Detailed Description
Definition at line 905 of file gui.h.
Constructor & Destructor Documentation
| gListBox::gListBox |
( |
gControl & |
Parent, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
Style, |
|
|
gFont * |
Font |
|
) |
| |
Member Function Documentation
| virtual BOOL gListBox::AcceptFocus |
( |
| ) |
[inline, virtual] |
| void gListBox::AddItem |
( |
char * |
Text, |
|
|
int |
TreeLevel, |
|
|
int |
StateFlags, |
|
|
int |
Data |
|
) |
| |
| virtual int gListBox::CalcItemWidth |
( |
int |
Index | ) |
[virtual] |
| int gListBox::ChildItem |
( |
int |
Index | ) |
|
| void gListBox::Collapse |
( |
int |
Index | ) |
|
| void gListBox::CollapseAll |
( |
int |
Index | ) |
|
| virtual BOOL gListBox::DefaultEvent |
( |
gEvent * |
e | ) |
[virtual] |
| void gListBox::DrawHScrollBar |
( |
| ) |
[virtual] |
| virtual BOOL gListBox::DrawItem |
( |
int |
Index, |
|
|
int |
y |
|
) |
| [virtual] |
| void gListBox::DrawVScrollBar |
( |
| ) |
[virtual] |
| void gListBox::EnsureVisible |
( |
int |
Index | ) |
|
| void gListBox::Expand |
( |
int |
Index | ) |
|
| void gListBox::ExpandAll |
( |
int |
Index | ) |
|
| char* gListBox::FullPath |
( |
int |
BaseIndex, |
|
|
int |
Index, |
|
|
const char * |
Separator |
|
) |
| |
| BOOL gListBox::HasChildren |
( |
int |
Index | ) |
|
| void gListBox::Hide |
( |
int |
Index | ) |
|
| void gListBox::InsertItem |
( |
int |
Index, |
|
|
char * |
Text, |
|
|
int |
TreeLevel, |
|
|
int |
StateFlags, |
|
|
int |
Data |
|
) |
| |
| void gListBox::InvalidateVScrollBar |
( |
| ) |
|
| BOOL gListBox::IsChecked |
( |
int |
Index | ) |
|
| BOOL gListBox::IsExpanded |
( |
int |
Index | ) |
|
| void gListBox::ListChanged |
( |
| ) |
|
| BOOL gListBox::MoveSelectionDown |
( |
int |
nlines | ) |
|
| BOOL gListBox::MoveSelectionUp |
( |
int |
nlines | ) |
|
| int gListBox::NextItem |
( |
int |
Index | ) |
|
| int gListBox::NextVisibleItem |
( |
int |
Index | ) |
|
| int gListBox::ParentItem |
( |
int |
Index | ) |
|
| int gListBox::PrevItem |
( |
int |
Index | ) |
|
| int gListBox::PrevVisibleItem |
( |
int |
Index | ) |
|
| BOOL gListBox::ReallocList |
( |
int |
_NumItems | ) |
|
| void gListBox::RedrawAll |
( |
| ) |
|
| void gListBox::RedrawFrame |
( |
| ) |
|
| void gListBox::RedrawSingleItem |
( |
int |
Index | ) |
|
| void gListBox::RemoveItem |
( |
int |
Index | ) |
|
| void gListBox::Select |
( |
int |
Index | ) |
|
| void gListBox::SetCheck |
( |
int |
Index, |
|
|
BOOL |
value |
|
) |
| |
| void gListBox::SetItemList |
( |
gListItem * |
List, |
|
|
int |
NumItems |
|
) |
| |
| void gListBox::SetSelection |
( |
int |
Index | ) |
|
| void gListBox::Unhide |
( |
int |
Index | ) |
|
| void gListBox::Unselect |
( |
int |
Index | ) |
|
| virtual void gListBox::Update |
( |
gUpdate * |
u | ) |
[virtual] |
| virtual void gListBox::vTable |
( |
| ) |
[private, virtual] |
Field Documentation
The documentation for this class was generated from the following file: