| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <IGUIListBox.h>
Inheritance diagram for irr::gui::IGUIListBox:

Public Member Functions | |
| virtual u32 | addItem (const wchar_t *text, s32 icon)=0 |
| virtual u32 | addItem (const wchar_t *text)=0 |
| adds an list item, returns id of item | |
| virtual void | clear ()=0 |
| clears the list, deletes all items in the listbox | |
| virtual void | clearItemOverrideColor (u32 index, EGUI_LISTBOX_COLOR colorType)=0 |
| clear item color at index for given colortype | |
| virtual void | clearItemOverrideColor (u32 index)=0 |
| clear all item colors at index | |
| virtual s32 | getIcon (u32 index) const =0 |
| Returns the icon of an item. | |
| virtual u32 | getItemCount () const =0 |
| returns amount of list items | |
| virtual video::SColor | getItemDefaultColor (EGUI_LISTBOX_COLOR colorType) const =0 |
| return the default color which is used for the given colorType | |
| virtual video::SColor | getItemOverrideColor (u32 index, EGUI_LISTBOX_COLOR colorType) const =0 |
| return the overwrite color at given item index. | |
| virtual const wchar_t * | getListItem (u32 id) const =0 |
| returns string of a list item. the may id be a value from 0 to itemCount-1 | |
| virtual s32 | getSelected () const =0 |
| returns id of selected item. returns -1 if no item is selected. | |
| virtual bool | hasItemOverrideColor (u32 index, EGUI_LISTBOX_COLOR colorType) const =0 |
| has the item at index it's color overwritten? | |
| IGUIListBox (IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle) | |
| constructor | |
| virtual s32 | insertItem (u32 index, const wchar_t *text, s32 icon)=0 |
| virtual bool | isAutoScrollEnabled () const =0 |
| returns true if automatic scrolling is enabled, false if not. | |
| virtual void | removeItem (u32 index)=0 |
| Removes an item from the list. | |
| virtual void | setAutoScrollEnabled (bool scroll)=0 |
| virtual void | setItem (u32 index, const wchar_t *text, s32 icon)=0 |
| set the item at the given index | |
| virtual void | setItemOverrideColor (u32 index, EGUI_LISTBOX_COLOR colorType, const video::SColor &color)=0 |
| set all item colors of specified type at given index to color | |
| virtual void | setItemOverrideColor (u32 index, const video::SColor &color)=0 |
| set all item colors at given index to color | |
| virtual void | setSelected (s32 index)=0 |
| sets the selected item. Set this to -1 if no item should be selected | |
| virtual void | setSpriteBank (IGUISpriteBank *bank)=0 |
| virtual void | swapItems (u32 index1, u32 index2)=0 |
| Swap the items at the given indices. | |
| virtual | ~IGUIListBox () |
| destructor | |
Definition at line 35 of file IGUIListBox.h.
|
||||||||||||||||||||
|
constructor
Definition at line 39 of file IGUIListBox.h. |
|
|
destructor
Definition at line 43 of file IGUIListBox.h. |
|
||||||||||||
|
adds an list item with an icon
|
|
|
adds an list item, returns id of item
|
|
|
clears the list, deletes all items in the listbox
|
|
||||||||||||
|
clear item color at index for given colortype
|
|
|
clear all item colors at index
|
|
|
Returns the icon of an item.
|
|
|
returns amount of list items
|
|
|
return the default color which is used for the given colorType
|
|
||||||||||||
|
return the overwrite color at given item index.
|
|
|
returns string of a list item. the may id be a value from 0 to itemCount-1
|
|
|
returns id of selected item. returns -1 if no item is selected.
|
|
||||||||||||
|
has the item at index it's color overwritten?
|
|
||||||||||||||||
|
Insert the item at the given index Return the index on success or -1 on failure. |
|
|
returns true if automatic scrolling is enabled, false if not.
|
|
|
Removes an item from the list.
|
|
|
set whether the listbox should scroll to show a newly selected item or a new item as it is added to the list. |
|
||||||||||||||||
|
set the item at the given index
|
|
||||||||||||||||
|
set all item colors of specified type at given index to color
|
|
||||||||||||
|
set all item colors at given index to color
|
|
|
sets the selected item. Set this to -1 if no item should be selected
|
|
|
Sets the sprite bank which should be used to draw list icons. This font is set to the sprite bank of the built-in-font by default. A sprite can be displayed in front of every list item. An icon is an index within the icon sprite bank. Several default icons are available in the skin through getIcon |
|
||||||||||||
|
Swap the items at the given indices.
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:15 2008 by Doxygen
(1.4.2) |