summaryrefslogtreecommitdiff
path: root/fluid/fluid.h
AgeCommit message (Collapse)Author
2025-03-07Restructuring Fluid source files.Matthias Melcher
2025-03-07Removes the remaining references to Fl_String.Matthias Melcher
Still to do: rename fl_filename... to fl_filename..._str and introduce into core library.
2025-03-07Replce Fl_String in Fluid with std::string.Matthias Melcher
Also fix for Linux.
2024-12-27Fluid: Rename Stratgy constants to comply with CMP.Matthias Melcher
Capitalized constants. Added flag to indicate creation by user or file. Removed global variable 'reading_file'.
2024-09-14FLUID: type node placement in scene graph revisedMatthias Melcher
- fixes copy/paste operation that would place pasted types wrong - improves paste into folded and unfolded groups - improves duplication of multiple types - much improved placement of types that don;t fit at the requested position - some more testing will follow in the next days
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
2024-03-02FLUID: comments, typos, formattingMatthias Melcher
2023-11-01FLUID: Adds options to draw ghosted outlines.Matthias Melcher
2023-10-26FLUID: Adds initial MergeBack feature.Matthias Melcher
2023-10-23FLUID: Fixes completion dialog, early shell read.Matthias Melcher
* when saving the source code from a shell command, the completion dialog is suppressed because the shell window pops up anyway, confirming our action * when reading no project at startup, the user shell commands were read, but the shell main menu was not updated
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-26FLUID: adds greatly enhanced Shell Commands (#774)Matthias Melcher
The user can add an arbitrary number of highly configurable shell commands through the setting panel. The commands can be saved as user preferences, inside the .fl file, or exported to an external file. Shell scripts can be limited to individual platforms, can have shortcut keys, etc. . * documentation will follow * support to call `fltk-config` will follow
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-08-29FLUID: separate SourceView panel into its own fileMatthias Melcher
hereby removing almost 200 lines of unrelated code form fluid.cxx and making the location of the panel code more obvious. Needs a make depend on Linux.
2023-08-29FLUID: code cleanup, redundancies, typosMatthias Melcher
2023-07-14FLUID: fixes all overlapping widgets in all .fl filesMatthias Melcher
Also fixes an issue with multiple use of the same variable for different types of i18n.
2023-07-11FLUID adding hatch pattern to overlapping widgetsMatthias Melcher
2023-03-19Fix and consolidate settings dialogs (#346, #703)Matthias Melcher
2023-03-18Fix and update alignment #346 (#701)Matthias Melcher
* interactive layout alignment rewritten * interface for new alignment rules * new alignment dialog box * user defined layout rules added * layout rules can be stored in projects, settings, and external files * Valgrind verification
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2022-12-22Fix compilation on old gcc (#606)Matthias Melcher
* Fixing char* use in FLUID * Fixing const cast
2022-11-29Fix -o and -h command line arg handlingMatthias Melcher
2022-11-26Remove unintentional C++11Matthias Melcher
2022-11-26Handle Fluid project settings better (#556)Matthias Melcher
Fix allocation bug in Fl_String
2022-11-15Improve Fluid argument handling and relative paths. (#545)Matthias Melcher
Fix typos, fix merge conflict.
2022-11-09Fluid Fl_Widget::image() path fixes. (#536)Matthias Melcher
* Adding strings and design file to source view panel * Fluid: Fixed source dir recursion, fixed relative image reading path. * Renaming source_dir to designfile_dir in some functions.
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-10STR 3426: indicating in the title bar if the design is newer than the code file.Matthias Melcher
In this first version, we assume that the code file is newer whenever it is written, until the current design is modified in any way. So instead of a status bar at the bottom of the main window, the title bar will now show the status of the design and the code at the same place.
2021-12-08STR 3460.b: fixed scrollbar update in widget_browserMatthias Melcher
Also fixed a bug where a Manu item was accessed by index, which already was out of sync.
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.