Brightness slider works with mouse wheel.
This commit is contained in:
@ -7,14 +7,14 @@ declblock {\#if 1} {
|
||||
extern void saverChosen();
|
||||
extern void perfChosen();} open public map 1 after {\#endif}
|
||||
} {
|
||||
decl {\#include "power_console_common.h"} {selected public global
|
||||
decl {\#include "power_console_common.h"} {public global
|
||||
}
|
||||
}
|
||||
|
||||
Function {make_window()} {open
|
||||
} {
|
||||
Fl_Window {} {open
|
||||
xywh {506 191 177 183} type Double box GLEAM_UP_BOX visible
|
||||
xywh {506 1271 177 183} type Double box GLEAM_UP_BOX visible
|
||||
} {
|
||||
Fl_Light_Button conserveButton {
|
||||
label {Conserve Battery}
|
||||
@ -52,6 +52,7 @@ Function {make_window()} {open
|
||||
label Brightness
|
||||
callback adjustBrightness
|
||||
xywh {129 81 20 52} labelsize 12
|
||||
class MouseWheelSlider
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user