#include <list_box.h>
Inheritance diagram for crs::list_box< T >:
Public Types | |
typedef std::vector< items > | val_list |
Public Methods | |
list_box (base_control *Parent, window_events *Events=0, const unsigned int Left=0, const unsigned int Top=0, const unsigned int Width=0, const unsigned int Height=0, style::styles Style=style::rect, chtype clb= '[', chtype crb= ']') | |
list_box (base_control *Parent, const val_list List, window_events *Events=0, const unsigned int Left=0, const unsigned int Top=0, const unsigned int Width=0, const unsigned int Height=0, style::styles Style=style::rect, chtype clb= '[', chtype crb= ']') | |
virtual void | draw () |
virtual bool | keyPress (int key) |
val_list::const_iterator | push_back (const items Items) |
Public Attributes | |
property< list_box, read_write, val_list > | list |
property< list_box, read_write, typename val_list::const_iterator > | selected |
Private Methods | |
const val_list & | getList () |
void | setList (const val_list &List) |
const val_list::const_iterator & | getSelected () |
void | setSelected (const typename val_list::const_iterator &it) |
Private Attributes | |
val_list | mList |
val_list::const_iterator | mSelected |
|
Definition at line 24 of file list_box.h. Referenced by crs::list_box< T >::getList(), crs::list_box< T >::list_box(), and crs::list_box< T >::setList(). |
|
|
|
|
Definition at line 28 of file list_box.h. References crs::list_box< T >::mList, and crs::list_box< T >::val_list. Referenced by crs::list_box< T >::list_box(). |
|
Definition at line 35 of file list_box.h. References crs::list_box< T >::mSelected. Referenced by crs::list_box< T >::list_box(). |
|
Reimplemented from crs::base_control. Definition at line 84 of file list_box.h. References crs::list_box< T >::mList, and crs::list_box< T >::mSelected. |
|
Definition at line 99 of file list_box.h. References crs::list_box< T >::mList, and crs::list_box< T >::mSelected. |
|
Definition at line 31 of file list_box.h. References crs::list_box< T >::mList, crs::list_box< T >::mSelected, and crs::list_box< T >::val_list. Referenced by crs::list_box< T >::list_box(). |
|
Definition at line 38 of file list_box.h. References crs::list_box< T >::mSelected. Referenced by crs::list_box< T >::list_box(). |
|
Definition at line 103 of file list_box.h. Referenced by crs::list_box< T >::list_box(). |
|
Definition at line 26 of file list_box.h. Referenced by crs::list_box< T >::draw(), crs::list_box< T >::getList(), crs::list_box< T >::keyPress(), crs::list_box< T >::list_box(), crs::list_box< T >::push_back(), and crs::list_box< T >::setList(). |
|
Definition at line 27 of file list_box.h. Referenced by crs::list_box< T >::draw(), crs::list_box< T >::getSelected(), crs::list_box< T >::keyPress(), crs::list_box< T >::list_box(), crs::list_box< T >::push_back(), crs::list_box< T >::setList(), and crs::list_box< T >::setSelected(). |
|
Definition at line 104 of file list_box.h. Referenced by crs::list_box< T >::list_box(). |