summaryrefslogtreecommitdiff
path: root/fluid/code.h
AgeCommit message (Collapse)Author
2024-04-25FLUID: Improve usability of Declaration BlocksMatthias Melcher
Decl Blocks can now output code around static code in source and header files.
2024-04-17Separate FLUID user documentation, screen shot automation (#936)Matthias Melcher
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
2023-11-14Fix dependencies and whitespace issuesAlbrecht Schlosser
2023-10-26FLUID: Refactors MergeBackMatthias Melcher
* moved functionality into its own files * refactored all methods to be less than a page * documented all calls * tested all situations I could think of
2023-10-26FLUID: Adds more capabilities to MergeBack.Matthias Melcher
* better diagnostic dialog texts in interactive mode * won't merge back again after a first mergeback is applied * code needs refactoring and must be in its ow source file
2023-10-26FLUID: Adds initial MergeBack feature.Matthias Melcher
2023-10-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-09-05FLUID: increases readabilityMatthias Melcher
- removed some direct filename manipulation - central place to generate file names and paths - fixes command line filename override if no actual batch command is given
2023-01-26Fixing FLUID file corruption from issue #653 (#662)Matthias Melcher
Removing all globals in file writer (#653 ) Fix some static analyser complaints Valgrind: handle width==0 in GfxDrivers on Wayland and X11 Don't use `Fl_Input_::static_value`, it accesses previous buffer that may be deleted Project file write encapsulated, removing globals Encapsulating project file reader, removing states in glbals Project i/o increased source code readability
2021-12-15#329 #318: Fixed Fluid indenting and trailing whitespaceMatthias Melcher
2021-12-11STR 3210: indentation is now controlled in one single position for all ↵Matthias Melcher
source and header files.
2021-12-09STR 3210: fixing indentation of Fl_Menu_Item cnd Widget allbacks.Matthias Melcher
also added and fixed a few comments STR 3210: fixed indenting of widget callbacks. Also fixed what is considered a 'name' (could still be improved). Also better formatting inlined functions in the header.
2021-12-08Fluid: restructuring and commenting.Matthias Melcher
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.