#include <list_box.h>
Inheritance diagram for ListBoxItem:


Public Member Functions | |
| ListBoxItem (const std::string &_label, Font &_font, const std::string &value, bool enabled) | |
| const std::string & | GetLabel () const |
| const std::string & | GetValue () const |
| const bool | IsEnabled () const |
Private Attributes | |
| std::string | value |
| bool | enabled |
Definition at line 33 of file list_box.h.
| ListBoxItem::ListBoxItem | ( | const std::string & | _label, | |
| Font & | _font, | |||
| const std::string & | value, | |||
| bool | enabled | |||
| ) |
Definition at line 32 of file list_box.cpp.
00035 : 00036 Label(_label, Rectanglei(0,0,0,0), _font) 00037 { 00038 value = _value; 00039 enabled = _enabled; 00040 }
| const std::string & ListBoxItem::GetLabel | ( | ) | const |
| const std::string & ListBoxItem::GetValue | ( | ) | const |
| const bool ListBoxItem::IsEnabled | ( | ) | const |
bool ListBoxItem::enabled [private] |
Definition at line 37 of file list_box.h.
std::string ListBoxItem::value [private] |
Definition at line 36 of file list_box.h.
1.4.7