Migrate some defs into normal files, not a FLUID file.
This commit is contained in:
@ -7,15 +7,13 @@ declblock {\#if 1} {
|
||||
extern void saverChosen();
|
||||
extern void perfChosen();} open public map 1 after {\#endif}
|
||||
} {
|
||||
decl {extern void balChosen();
|
||||
extern void saverChosen();
|
||||
extern void perfChosen();} {public global
|
||||
decl {\#include "power_console_common.h"} {selected public global
|
||||
}
|
||||
}
|
||||
|
||||
Function {make_window()} {open
|
||||
} {
|
||||
Fl_Window {} {open selected
|
||||
Fl_Window {} {open
|
||||
xywh {506 191 177 183} type Double box GLEAM_UP_BOX visible
|
||||
} {
|
||||
Fl_Light_Button conserveButton {
|
||||
@ -52,7 +50,7 @@ Function {make_window()} {open
|
||||
}
|
||||
Fl_Slider brightness {
|
||||
label Brightness
|
||||
callback adjustBrightness selected
|
||||
callback adjustBrightness
|
||||
xywh {129 81 20 52} labelsize 12
|
||||
}
|
||||
}
|
||||
|
||||
5
power_console_common.h
Normal file
5
power_console_common.h
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
void saverChosen();
|
||||
void perfChosen();
|
||||
void balChosen();
|
||||
Reference in New Issue
Block a user