summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.cxx
AgeCommit message (Collapse)Author
2025-03-07Restructuring Fluid source files.Matthias Melcher
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-12-09FLUID: avoid trailing spaces in empty comment lines (#1161)Matthias Melcher
2024-12-04FLUID: Fixes more places to clear cached pointers.Matthias Melcher
2024-10-17FLUID: Fixes uninitialized class memberMatthias Melcher
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-09-11FLUID: Imporving method name `can_have_children()`Matthias Melcher
2024-07-27FLUID: fixes crash bug in Fl_Sys_Men_Bar inside a Class. #977Matthias Melcher
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-12-05#860: FLUID: Removes Group attributes from Fl_TerminalMatthias Melcher
2023-11-15FLUID: Replaces Fl_Simple_Terminal with Fl_TerminalMatthias Melcher
2023-11-05FLUID: Fixes child properties reader.Matthias Melcher
2023-10-31FLUID: Improves interactive handling of Grid and FlexMatthias Melcher
2023-10-28FLUID: Changes uid to hexadecimal in project fileMatthias Melcher
for constancy with the code file
2023-10-27FLUID: Fixes issues when pasting widget into Fl_Flex #809Matthias Melcher
* new virtual function layout_widget() to inform parents after all children were added
2023-10-27FLUID: Documentation and typos.Matthias Melcher
2023-10-26FLUID: Adds initial MergeBack feature.Matthias Melcher
2023-10-25FLUID: Adds hierarchical node search in header files.Matthias Melcher
2023-10-24FLUID: Adds Reveal button to SourceViewMatthias Melcher
Position your text cursor in the source header, or .fl project file text preview and click reveal, and the corresponding node will be selected. Double will open the corresponding editor.
2023-10-24FLUID: Adds much more detailed CodeViewMatthias Melcher
in preparation for "find" and "reveal"
2023-10-21FLUID: adding a subset of Fl_Grid child parameters.Matthias Melcher
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-10-20FLUID: docs, testingMatthias Melcher
2023-10-19FLUID typos, comments, superfluous codeMatthias Melcher
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-08-26Fixes a bunch of typos in comments.Matthias Melcher
2023-07-19FLUID: RTTI improvements, 'is_a90' now const, apply RTTIMatthias Melcher
2023-07-19FLUID: emulated RTTI for all typesMatthias Melcher
Complete type hierarchy in Fl_Types doc Window now derives correctly from Group Menu Items now correctly (functionally in FLUID) derived form Button Menu Buttons have a better hierarchy Fixing two possible crash bugs where Input_Choice was assumed to be a Menu_ Hoping I have not degraded the original code!
2023-07-17FLUID: restores g++98 compatibilityMatthias Melcher
I want enum classes, sigh.
2023-07-17FLUID: using symbols instead of integersMatthias 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-02Fix position() methods that shadow Fl_Widget::position()Matthias Melcher
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
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
2023-01-23FLUID: unneeded assignment, possible NULL pointer (#660)Matthias Melcher
2022-12-10FLUID event handling and UI changes (#575)Matthias Melcher
* Full support o when() * Making undo suspend nesting * Finally correct undo handling for Label: input * Documentation. * Adding more undo checkpoints for the Widget Panel * Quick selection of default user_data types * Pulldown menu for system colors * Make sure that partially typed text fields are propagated before saving
2022-11-26Handle Fluid project settings better (#556)Matthias Melcher
Fix allocation bug in Fl_String
2022-02-13Better Fluid Widget dimension controls (#394)Matthias Melcher
* Size and position widgets can evaluate basic math. * Allowing x, y, w, and h as variables for formulas. Also supporting 'i' as a counting index when selecting multiple widgets, so setting Y: to i*25+10 arranges all selected widgets vertically. * Additional variables cx, etc. for children box cx, cy, cw, ch
2022-01-08avoid early include of Fl.H optionMatthias Melcher
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-18Removed superfluous commentsMatthias Melcher
2021-12-18Github #340: removing two warnings.Matthias Melcher
2021-12-17STR 3355: allow Unicode UTF-8 in source codeMatthias Melcher
This includes changes in the UI in Project Settings.
2021-12-17GitHub #326: browser scrolling should be much improvedMatthias Melcher
Code now convinces browser to rebuild when the tree changes by UI. When widgets are move, the current widget should always be visible. It's the responsibility of the UI callback to update the browser.
2021-12-13STR 3442: copy/paste now inserts widget as expected.Matthias Melcher
Fluid would add pasted widgets as the last child of the current group, even if they were cut at the beginning of the group. This patch adds a 'startegy' to adding widgets to allow merging closer to the 'current' widget. Also added d'n'd for the widget bin and some other UI improvements. STR 3442: some preparation, variable renaming STR 3442: unifying functions to add widgets. Adding widgets interactively is merged into one function, making undo/redo work as expected and removing unexpected differences between adding by menu or bin. STR 3442: adding drag'n'drop for windows from bin. Just drag the window symbol out of the tree and drop it anywhere on the desktop. Visual representation of dragged Window. STR 3442: insert individual nodes after 'current' STR 3442: adding new widget at expected positions. The widget bin can finally do drag'n'drop. Widgets appear in the tree close to the last selection. Duplicating now ads right below. Cut and paste inserts after last selection. Fluid: replaced #define with strict enum type.
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-09Fluid STR 3460.D: Shell commands are now saved in the .fl file (user option)Matthias Melcher
The shell properties toolbox is completely redesigned: This dialog box offers a field for a command line and three check buttons to generate and save various files before the command is run. If the fourth checkbox, "use settings in .fl design files" is checked, all shell settings will be store in the current .fl file, and they will be read and restored when the .fl is loaded again. Fluid will save different shell settings for different operating system as it is common that a different OS requires a different shell command. Fluid comes with default shell settings. Pressing the "save as default" button will store the current setting in the Fluid app settings and are used for new designs, or if the "use settings..." box is not checked. Fluid app settings are saved per user and per machine.
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.