Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
FaderSkin derive_fader_skin(const SkinImage &img)
Sample a captured fader PNG → FaderSkin.
MeterSkin derive_meter_skin(const SkinImage &img, int stop_count=5)
Sample a captured meter PNG → MeterSkin.
Derived fader skin.
Definition widget_skin_derive.hpp:36
bool has_housing_height
Definition widget_skin_derive.hpp:66
canvas::Color track_color
Definition widget_skin_derive.hpp:37
bool has_thumb
Definition widget_skin_derive.hpp:49
canvas::Color fill_color
Definition widget_skin_derive.hpp:38
canvas::Color track_border_color
Definition widget_skin_derive.hpp:46
bool has_thumb_border
Definition widget_skin_derive.hpp:50
bool any() const
Definition widget_skin_derive.hpp:74
bool has_thumb_position
Definition widget_skin_derive.hpp:73
float track_width_px
Definition widget_skin_derive.hpp:56
float housing_height_px
Definition widget_skin_derive.hpp:65
canvas::Color thumb_border_color
Definition widget_skin_derive.hpp:40
bool has_track_border
Definition widget_skin_derive.hpp:51
float thumb_width_px
Definition widget_skin_derive.hpp:57
bool has_track_width
Definition widget_skin_derive.hpp:58
bool has_fill
Definition widget_skin_derive.hpp:48
bool has_track
Definition widget_skin_derive.hpp:47
bool has_thumb_width
Definition widget_skin_derive.hpp:59
float thumb_position
Definition widget_skin_derive.hpp:72
canvas::Color thumb_color
Definition widget_skin_derive.hpp:39
Derived meter skin: gradient stops ordered low→high (bottom→top), plus an optional background color.
Definition widget_skin_derive.hpp:80
canvas::Color background
Definition widget_skin_derive.hpp:82
bool has_background
Definition widget_skin_derive.hpp:83
bool has_bar_width
Definition widget_skin_derive.hpp:88
bool has_housing_height
Definition widget_skin_derive.hpp:95
std::vector< canvas::Color > gradient
Definition widget_skin_derive.hpp:81
float bar_fill_ratio
Definition widget_skin_derive.hpp:101
bool valid() const
Definition widget_skin_derive.hpp:109
float fill_level
Definition widget_skin_derive.hpp:107
bool has_fill_level
Definition widget_skin_derive.hpp:108
float bar_width_px
Definition widget_skin_derive.hpp:87
float housing_height_px
Definition widget_skin_derive.hpp:94
bool has_bar_fill_ratio
Definition widget_skin_derive.hpp:102
Derives native-widget skin styling from a captured design asset (a flat PNG exported by a design tool...
Definition widget_skin_derive.hpp:27
int width
Definition widget_skin_derive.hpp:29
bool valid() const
Definition widget_skin_derive.hpp:31
const uint8_t * pixels
Definition widget_skin_derive.hpp:28
int height
Definition widget_skin_derive.hpp:30