summaryrefslogtreecommitdiff
path: root/fluid/factory.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-22FLUID: Minor fix and docs.Matthias 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-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-12-01Adds some possible NULL references and small fixesMatthias Melcher
2023-11-27Fix compiler warning, dependencies, and trailing whitespaceAlbrecht Schlosser
The benign warning was: ‘Fl_Browser_::hscrollbar’ will be initialized after [-Wreorder] ‘int Fl_Browser_::linespacing_’ ...
2023-11-16FLUID: Adds text attribute support to Fl_Terminal.Matthias Melcher
2023-11-15FLUID: Fixes missing DISPLAY connection.Matthias Melcher
Fl_Terminal opens the X11 Display before shown, so we need to generate a proxy in batch mode. This will no longer work when we add more Fl_Terminal attributes to FLUID.
2023-11-15FLUID: fixing test/valuator.fl and test/tree.flMatthias Melcher
Using Fl_Terminal widget instead of subclassing from Fl_Group
2023-11-15FLUID: updates file structure READMEMatthias Melcher
2023-11-15FLUID: Replaces Fl_Simple_Terminal with Fl_TerminalMatthias Melcher
2023-11-05FLUID: Adds undo for all grid operations.Matthias Melcher
2023-11-02FLUID: Adds more interactive editing to Fl_GridMatthias Melcher
* this commit introduces a few FIXMEs and TODOs that probably can't be solved until we do some major refactoring. They work for now, but adding more layout controlling widgets will be hard.
2023-11-01FLUID: Improves adding widgets to Fl_Flex.Matthias 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-23FLUID: Positioning grid cells intuitively.Matthias Melcher
User can now drag widgets from the toolbox into the grid or use the context menu to add them into the corresponding cell. If no position is indicated, now children are added at the first free cell.
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-10-19FLUID typos, comments, superfluous codeMatthias Melcher
2023-08-26Fixes a bunch of typos in comments.Matthias Melcher
2023-07-20FLUID improves positioning and sizing new widgetsMatthias Melcher
Better default sizes for text based widgets and menu managers Better Menu refresh on custom text heights Smarter positioning of menu bars and groups inside tabs Fixes wrong include guard
2023-07-19FLUID: layout preset no longer forces text font selectionMatthias Melcher
2023-07-19FLUID: RTTI improvements, 'is_a90' now const, apply RTTIMatthias Melcher
2023-07-19FLUID: Fixes override attribute, cleanupMatthias 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: better initial sizes for buttons and windowsMatthias Melcher
2023-07-17FLUID: emulating RTTI and fixing type dependencies (Buttons)Matthias Melcher
2023-07-17FLUID: using symbols instead of integersMatthias Melcher
2023-07-14FLUID formatting and commentsMatthias 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
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
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>
2021-12-16GitHub #329: fixed missing codeMatthias Melcher
Commented out code was obsolete. line_len was a true bug which can shred the end of lines. Removed Warning
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-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-05Fluid: adapting menu to pixmap changes.Matthias Melcher
2020-11-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
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-02-16Fix Fluid batch mode with Fl_Simple_Terminal.Matthias Melcher
Fl_Simple_Terminal would connect Fluid to the Display in batch mode. We fix that by creating an Fl_Text_Display instead.
2019-02-01STR #3445: Duplicating Widget Class in Fluid no longer crashes.Matthias Melcher
2019-01-14Added Fl_Simple_Terminal to Fluid.Matthias Melcher
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-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
2017-09-12Documentation and copyright updates.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12Fluid: remove redundant code, fix FL_IMAGE_LABEL labeltype.Albrecht Schlosser
Remove leading underscore from _FL_IMAGE_LABEL. Remove redundant assignment of image(). Thanks to Greg for finding these issues. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121