summaryrefslogtreecommitdiff
path: root/fluid/print_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-08 15:52:15 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-08 15:52:15 +0100
commit16dae3ea063ae134b8b87ca199575e904dfbb7d4 (patch)
treeff0ce9e635bb39f49bfcce2c5e7fe099334a0d15 /fluid/print_panel.fl
parent2d18c6f650c0001319c8883f8deb819d12984ac0 (diff)
Fluid: restructuring and commenting.
tl;dr : making Fluid maintainable, no changes in code execution and logic. This is a pretty extensive restructuring of the Fluid source tree. It was neccessary because source and header files were getting much too big to handle. Many source files had no header, and many headers declared functions that were in diffrent source files. Reorganized much of the include statements. Added comments to some of the files. Added Doxygen configuration file for standalone Fluid docs. Tested everything by rebuilding Fluid .fl designs with the resorted version of Fluid.
Diffstat (limited to 'fluid/print_panel.fl')
-rw-r--r--fluid/print_panel.fl19
1 files changed, 8 insertions, 11 deletions
diff --git a/fluid/print_panel.fl b/fluid/print_panel.fl
index e2042f531..9119d35a9 100644
--- a/fluid/print_panel.fl
+++ b/fluid/print_panel.fl
@@ -20,29 +20,26 @@ comment {//
} {in_source in_header
}
-decl {\#include <stdio.h>} {private local
+decl {\#include "fluid.h"} {selected private local
}
-decl {\#include <stdlib.h>} {private local
+decl {\#include <FL/fl_string.h>} {private local
}
decl {\#include "../src/flstring.h"} {private local
}
-decl {\#include <FL/fl_string.h>} {private local
-}
-
-decl {\#include <FL/Fl_Preferences.H>} {private local
+decl {\#include <stdlib.h>} {private local
}
-decl {extern Fl_Preferences fluid_prefs;} {private local
+decl {\#include <stdio.h>} {private local
}
Function {make_print_panel()} {open
} {
Fl_Window print_panel {
- label Print open
- xywh {394 209 465 235} type Double hide modal
+ label Print
+ xywh {465 222 465 235} type Double modal visible
} {
Fl_Group print_panel_controls {open
xywh {10 10 447 216}
@@ -215,8 +212,8 @@ print_collate_group[1 - i]->hide();}
Fl_Window print_properties_panel {
label {Printer Properties}
callback {print_properties_panel->hide();
-print_update_status();} open
- xywh {400 537 290 130} type Double hide modal
+print_update_status();}
+ xywh {462 486 290 130} type Double modal visible
} {
Fl_Choice print_page_size {
label {Page Size:}