HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
theme
theme_widget_values.hpp
1
2
3
6
class
theme_widget_values
{
7
public
:
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
54
private
:
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
};
theme_widget_values
Definition
theme_widget_values.hpp:6
theme_widget_values::set_selector
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
hi::pixel_density
Definition
pixel_density.hpp:16
std::string
Generated on Mon Apr 22 2024 12:53:04 for HikoGUI by
1.10.0