summaryrefslogtreecommitdiff
path: root/fluid/Fl_Menu_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-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-12FLUID: formattingMatthias Melcher
2024-09-11FLUID: Eliminating two globalsMatthias Melcher
2024-09-11FLUID: Imporving method name `can_have_children()`Matthias Melcher
2024-08-31FLUID: Fixes grouping and ungrouping, #1056Matthias Melcher
- grouping a bunch of widgets will now create the new group in the expected place - also add grouping and ungrouping of menu items - ungrouping now also works with only a few items selected instead all items, moving the selection before the group
2024-07-27FLUID: fixes crash bug in Fl_Sys_Men_Bar inside a Class. #977Matthias Melcher
2024-03-19Update dependencies, whitespace, and Fl_File_Chooser.cxxAlbrecht Schlosser
Rewrite src/Fl_File_Chooser.cxx from its .fl source file
2024-03-02FLUID: comments, typos, formattingMatthias Melcher
2024-02-10FLUID: Fix double reverse logic in FL_COMMAND handlingMatthias Melcher
2024-02-10Fixes FLUID shortcut generationMatthias Melcher
and makes the C++ code human readable
2023-12-13#862: Removes default shortcut from Fl_Shortcut_ButtonMatthias Melcher
- the current UI for fallback/default/original shortcut was confusing, so I remove it until we find something better. I kept the values so we can reinstate a better interface without changing the API.
2023-11-05FLUID: Fixes child properties reader.Matthias Melcher
2023-10-31FLUID: Disables MergeBack.Matthias Melcher
I decided to disable MergeBack for now. During testing, some issues could not be resolved, and focus should be on V1.4.
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 initial MergeBack feature.Matthias Melcher
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-08-26Fixes a bunch of typos in comments.Matthias Melcher
2023-07-22Adds default shortcut to Fl_Shortcut_Button.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-19FLUID fixes wrong type IDs and more cleanupMatthias Melcher
2023-07-18FLUID correct inheritance, formatting, factory floor cleaningMatthias Melcher
2023-07-17FLUID: restores g++98 compatibilityMatthias Melcher
I want enum classes, sigh.
2023-07-17FLUID: emulating RTTI and fixing type dependencies (Buttons)Matthias Melcher
2023-07-17FLUID: using symbols instead of integersMatthias 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-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-02-15Move class Fl_Shortcut_Button from FLUID to core (#677) (#680)Matthias Melcher
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-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-30FLUID support for inline image data (see #542, #592) (#604)Matthias Melcher
2022-12-10Add option to bind images to a widget (#589)Matthias Melcher
Adding image binding to FLUID as well
2022-11-26Handle Fluid project settings better (#556)Matthias Melcher
Fix allocation bug in Fl_String
2022-01-08avoid early include of Fl.H optionMatthias Melcher
2022-01-07Fixed a crash bug in Fluid where partial menus were deleted.Matthias Melcher
Reading an .fl file rebuilds a menu item arrays with every item read. If a menu is only partially read, the end marker (label==NULL) is not set, so that deleting the menu will run beyond the missing marker. This bug was exposed by adding images to menu items, which requires additional deletes.
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-17GitHub #327: menu buttons will no longer grab arrow keys.Matthias Melcher
In Fluid, selecting a menu button, and selecting it again to make it movable would also grab the text input focus, which would prevent the enclosing window from using arrow key events to manipulate the selected widget.
2021-12-15#329 #318: Fixed Fluid indenting and trailing whitespaceMatthias Melcher
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: be smarter about appending ';' in callbacksMatthias Melcher
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.
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2019-01-14STR 3460: Fluid menu item typesMatthias Melcher
Added pulldown menus to create radio style and checkbox style menu items without going through the Class menu.
2018-12-27Fixing some minor lint, found by Pavel Shlyak using PVS studioMatthias Melcher