Migrate some defs into normal files, not a FLUID file.

This commit is contained in:
2026-01-25 16:44:23 -05:00
parent 32ac5302f6
commit fa3944d3e3
2 changed files with 8 additions and 5 deletions

View File

@ -7,15 +7,13 @@ declblock {\#if 1} {
extern void saverChosen(); extern void saverChosen();
extern void perfChosen();} open public map 1 after {\#endif} extern void perfChosen();} open public map 1 after {\#endif}
} { } {
decl {extern void balChosen(); decl {\#include "power_console_common.h"} {selected public global
extern void saverChosen();
extern void perfChosen();} {public global
} }
} }
Function {make_window()} {open Function {make_window()} {open
} { } {
Fl_Window {} {open selected Fl_Window {} {open
xywh {506 191 177 183} type Double box GLEAM_UP_BOX visible xywh {506 191 177 183} type Double box GLEAM_UP_BOX visible
} { } {
Fl_Light_Button conserveButton { Fl_Light_Button conserveButton {
@ -52,7 +50,7 @@ Function {make_window()} {open
} }
Fl_Slider brightness { Fl_Slider brightness {
label Brightness label Brightness
callback adjustBrightness selected callback adjustBrightness
xywh {129 81 20 52} labelsize 12 xywh {129 81 20 52} labelsize 12
} }
} }

5
power_console_common.h Normal file
View File

@ -0,0 +1,5 @@
#pragma once
void saverChosen();
void perfChosen();
void balChosen();