#include <listbox.h>
Inheritance diagram for fgl::FGListBoxTemplate< T >:


Public Member Functions | |
| FGListBoxTemplate (int xs, int ys, int w, int h, int DropDown, FGWindow *wind, FGListBoxCallBack show_cb, void *user_ptr=0) | |
| void | DisableUpdate (void) |
| void | Update (void) |
| void | erase (int i) |
| void | clear (void) |
| void | insert (T s) |
| void | insert (int i, T s) |
| void | replace (int i, T s) |
| const T & | item (int i) const |
Protected Types | |
|
typedef std::vector< T >::iterator | Iter |
Protected Member Functions | |
| virtual void | DrawItem (int x, int y, int index, int flag) |
Protected Attributes | |
| std::vector< T > | items |
| int | update |
| FGListBoxCallBack | show |
| void * | user_data |
|
||||||||||||||||||||||||||||||||||||||||
|
Create the visual container of the type T.
|
|
||||||||||
|
Set null state.
|
|
||||||||||
|
Disable visual update for of objects.
|
|
||||||||||
|
Erase the item at index 'i' from the container.
|
|
||||||||||||||||
|
Insert the item 's' at the index 'i' to the container.
|
|
||||||||||
|
Insert the item 's' to the container.
|
|
||||||||||||||||
|
Replace the item 's' at the index 'i' in the container.
|
|
||||||||||
|
Update uncoditionally visual of objects. This method also enable visual update.
|
1.4.0