From 16dae3ea063ae134b8b87ca199575e904dfbb7d4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 8 Dec 2021 15:52:15 +0100 Subject: 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. --- fluid/print_panel.fl | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'fluid/print_panel.fl') 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 } {private local +decl {\#include "fluid.h"} {selected private local } -decl {\#include } {private local +decl {\#include } {private local } decl {\#include "../src/flstring.h"} {private local } -decl {\#include } {private local -} - -decl {\#include } {private local +decl {\#include } {private local } -decl {extern Fl_Preferences fluid_prefs;} {private local +decl {\#include } {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:} -- cgit v1.2.3