34 #include "../View/view.h" 35 #include "label_view.h" 39 class CheckBoxView_Impl;
47 std::shared_ptr<LabelView>
label();
72 std::shared_ptr<CheckBoxView_Impl> impl;
View for an area of the user interface.
Definition: view.h:65
2D Graphics Canvas
Definition: canvas.h:71
bool checked() const
Check.
std::shared_ptr< LabelView > label()
void set_check(bool checked_state)
Set checked.
void render_background(Canvas &canvas) override
Override - need to clear background under label due to Subpixel font rendering.
std::function< void()> & func_state_changed()
Func state changed.
Definition: checkbox_view.h:41