1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:47:35 +00:00

VisualBuilder: Add GSlider to the widgets toolbox.

This commit is contained in:
Andreas Kling 2019-04-30 16:18:05 +02:00
parent fb0c598d22
commit 86aad50818
6 changed files with 26 additions and 0 deletions

View file

@ -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; }