HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
theme_widget_values.hpp
1
2
3
7public:
8 enum class widget_state : uin8_t {
9
10 };
11
36 theme_widget_values &set_selector(std::string const &selector) noexcept
37 {
38 _selector = selector;
39 update_delector();
40 return *this;
41 }
42
43 theme_widget_values &set_pixel_density(pixel_density const &pixel_density) noexcept
44 {
45 _pixel_density = pixel_density;
46 update_pixel_density();
47 return *this;
48 }
49
50 theme_widget_values &set_widget_state(widget_state const& state) noexcept
51 {
52 }
53
54private:
55 std::string _selector;
56 hi::pixel_density _pixel_desnity;
57
58
59 void update_pixel_density() noexcept
60 {
61 }
62
63 void update_selector() noexcept
64 {
65 }
66};
Definition theme_widget_values.hpp:6
theme_widget_values & set_selector(std::string const &selector) noexcept
Set the widget's selector, so that the values can be looked up from the theme.
Definition theme_widget_values.hpp:36
Definition pixel_density.hpp:16