32 static std::shared_ptr<UICheckbox>
Create(std::weak_ptr<Window> parent_window, std::string text);
41 UICheckbox(std::weak_ptr<Window> parent_window, std::string text);
46 std::shared_ptr<UIHBox> child_box;
47 std::shared_ptr<UIButton> child_button;
48 std::shared_ptr<UILabel> child_label;
53 #endif // UICHECKBOX_HPP
void SetText(std::string)
Definition: DrawContext.hpp:65
Definition: UICheckbox.hpp:30
static std::shared_ptr< UICheckbox > Create(std::weak_ptr< Window > parent_window, std::string text)
Signal< bool > on_toggled
Definition: UICheckbox.hpp:33
bool GetActive() const
Definition: UICheckbox.hpp:39
Definition: Alertable.hpp:26
virtual void CustomResize(Size2D s) override
virtual void OnChildRequestedSizeChanged() override
virtual void CustomDraw(DrawContext &c) override
Definition: Utilities.hpp:40