mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
VisualBuilder: Add GSlider to the widgets toolbox.
This commit is contained in:
parent
fb0c598d22
commit
86aad50818
6 changed files with 26 additions and 0 deletions
|
@ -14,6 +14,9 @@ public:
|
|||
void set_range(int min, int max);
|
||||
void set_value(int);
|
||||
|
||||
void set_min(int min) { set_range(min, max()); }
|
||||
void set_max(int max) { set_range(min(), max); }
|
||||
|
||||
int track_height() const { return 2; }
|
||||
int knob_width() const { return 8; }
|
||||
int knob_height() const { return 20; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue