#include <choice_box.h>
Inheritance diagram for crs::choice_box< T >:
Public Methods | |
choice_box (base_control *Parent, std::vector< items > List, window_events *Events=0, const unsigned int Left=0, const unsigned int Top=0, const unsigned int Width=0, style::styles Style=style::rect) | |
virtual void | draw () |
virtual bool | keyPress (const int key) |
Public Attributes | |
property< choice_box< T >, read_write, std::vector< items > > | list |
Private Methods | |
const std::vector< items > & | getList () |
void | setList (const std::vector< items > &new_list) |
Private Attributes | |
std::vector< items > | mList |
std::vector< items > | foo |
std::vector< items >::iterator | selected |
|
Definition at line 34 of file choice_box.h. References crs::choice_box< T >::getList(), crs::choice_box< T >::list, crs::choice_box< T >::mList, crs::choice_box< T >::selected, and crs::choice_box< T >::setList(). |
|
Reimplemented from crs::base_control. Definition at line 44 of file choice_box.h. References crs::base_control::buffer, crs::styled_ctrl::custom_left_border, crs::styled_ctrl::custom_right_border, crs::drawing_area::fill(), crs::choice_box< T >::mList, crs::styled_ctrl::mStyle, crs::base_control::mWidth, crs::choice_box< T >::selected, and crs::drawing_area::setText(). |
|
Definition at line 27 of file choice_box.h. References crs::choice_box< T >::mList. Referenced by crs::choice_box< T >::choice_box(). |
|
Reimplemented from crs::base_control. Definition at line 52 of file choice_box.h. References crs::choice_box< T >::mList, and crs::choice_box< T >::selected. |
|
Definition at line 30 of file choice_box.h. References crs::choice_box< T >::mList. Referenced by crs::choice_box< T >::choice_box(). |
|
Definition at line 25 of file choice_box.h. |
|
Definition at line 43 of file choice_box.h. Referenced by crs::choice_box< T >::choice_box(). |
|
Definition at line 24 of file choice_box.h. Referenced by crs::choice_box< T >::choice_box(), crs::choice_box< T >::draw(), crs::choice_box< T >::getList(), crs::choice_box< T >::keyPress(), and crs::choice_box< T >::setList(). |
|
Definition at line 26 of file choice_box.h. Referenced by crs::choice_box< T >::choice_box(), crs::choice_box< T >::draw(), and crs::choice_box< T >::keyPress(). |