#include <check_box.h>
Inheritance diagram for crs::check_box:
Public Methods | |
check_box (base_control *Parent, check_events *Events, const std::string Caption, const bool Checked, const unsigned int Left, const unsigned int Top, const unsigned int Width, style::styles Style=style::rect, chtype clb='[', chtype crb=']') | |
virtual void | draw () |
virtual bool | keyPress (const int key) |
Public Attributes | |
property< check_box, read_write, bool > | checked |
Private Methods | |
const bool & | getChecked () |
void | setChecked (const bool &Checked) |
Private Attributes | |
bool | mChecked |
std::string | mCaption |
|
Definition at line 4 of file check_box.cpp. |
|
Reimplemented from crs::base_control. Definition at line 13 of file check_box.cpp. References crs::base_control::buffer, crs::styled_ctrl::custom_left_border, crs::styled_ctrl::custom_right_border, mCaption, crs::styled_ctrl::mStyle, and crs::drawing_area::setText(). |
|
Definition at line 29 of file check_box.cpp. References mChecked. |
|
Reimplemented from crs::base_control. Definition at line 23 of file check_box.cpp. References mChecked. |
|
Definition at line 33 of file check_box.cpp. References mChecked. |
|
Definition at line 30 of file check_box.h. |
|
Definition at line 21 of file check_box.h. Referenced by draw(). |
|
Definition at line 20 of file check_box.h. Referenced by getChecked(), keyPress(), and setChecked(). |