summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
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-07Giving access to some Fl_Text_Display member variables (#1153)Matthias Melcher
And typos in FLUID source code docs.
2024-10-22FLUID: Adds missing code for Grid and Flex live: #1092Matthias 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: Eliminating two globalsMatthias Melcher
2024-09-11FLUID: Imporving method name `can_have_children()`Matthias 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
2024-03-02FLUID: comments, typos, formattingMatthias Melcher
2023-11-15FLUID: Replaces Fl_Simple_Terminal with Fl_TerminalMatthias Melcher
2023-11-14Fix dependencies and whitespace issuesAlbrecht Schlosser
2023-11-05FLUID: Fixes child properties reader.Matthias Melcher
2023-10-31FLUID: Improves interactive handling of Grid and FlexMatthias Melcher
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-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-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-11FLUID adding hatch pattern to overlapping widgetsMatthias 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-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
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-01Fluid support for Fl_Flex (#523) and some Fl_Flex improvementsMatthias Melcher
* Adding Fluid support for Fl_Flex, margins, and gap. * Fluid Fl_Flex mostly working. Fixed in Fl_Flex::set_size(). * Fluid Flex live mode works, interactive dragging works * Fluid Flex: adding check box for fixed children * Fluid Flex: visual flexibility indicator in guides. * Fluid Flex: bug in generated code. * Fix formatting * Fixing Tooltip, fixing resize issue PR #518. * Removing unused variables. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
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
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-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.
2021-12-05Fluid: Adding shortcuts for Checkbox and Radio Menuitems.Matthias Melcher
2021-12-05STR #2842: new widgets will be created where the user clicked the RMBMatthias Melcher
If a user adds a new widget using the right mouse button in any of the design's windows, the new widget will be located with its top left corner at the selected position.
2021-12-04Fluid support for high res graphicsMatthias Melcher
Changing all pixmaps to Hi DPI Fixed wrong tooltip Fixed misleading "invisible" indicator
2021-10-17Avoid multiple definition of macro __fl_attr()Albrecht Schlosser
This could happen if both FL/fl_ask.H and fluid/Fl_Type.h were included in the same file.
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
2020-07-11Fluid: fix "trailing whitespace" errors (#100)Albrecht Schlosser
Fluid would write trailing whitespace at some points when generating .cxx and .h files from .fl files. This was an old issue but became obvious since we removed trailing whitespace from source and header files recently. This commit fixes all whitespace errors in files generated from .fl files in the FLTK repository, i.e. in fluid/, src/, and test/ folders. I can't guarantee that I found all possible whitespace errors, but this commit: Fixes #100
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.
2019-01-13STR 3460: remember cursor position in code editorMatthias Melcher
When editing code in Fluid, the COde_Type class will now remember the last cursor position and reopen the editor dialog at that position (not for external editor).
2018-08-25Added new functionality to Fluid: the 'binary data' type can now include ↵Matthias Melcher
text files as well as binary files into the source code. There is an additional check box in the dialog. Terminology is now "inlined data" instead of "binary data". Texts were modified to reflect the changes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Doxygen only: fixed all block comments starting with an asterisk to ↵Matthias Melcher
space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09Replace "WIN32" with "_WIN32" or "Windows".Albrecht Schlosser
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121