1 #ifndef TERMOX_WIDGET_WIDGETS_TOGGLE_BUTTON_HPP
2 #define TERMOX_WIDGET_WIDGETS_TOGGLE_BUTTON_HPP
6 #include <signals_light/signal.hpp>
8 #include <termox/painter/glyph_string.hpp>
9 #include <termox/widget/pair.hpp>
10 #include <termox/widget/widgets/button.hpp>
25 Button& bottom = this->second;
28 sl::Signal<void()>& top_pressed = top.
pressed;
29 sl::Signal<void()>& bottom_pressed = bottom.
pressed;
52 -> std::unique_ptr<Toggle_button>;
56 -> std::unique_ptr<Toggle_button>;
Holds a collection of Glyphs with a similar interface to std::string.
Definition: glyph_string.hpp:19
Heterogeneous pair of Widgets within a Layout.
Definition: pair.hpp:14