summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-15github #328: temporarily disabling new project flagsMatthias Melcher
Project wide settings require a redesign. Temporarily disabled until I find a satisfying solution.
2021-12-15#329 #318: Fixed Fluid indenting and trailing whitespaceMatthias Melcher
2021-12-14Fix trailing whitespace and a MSVC compiler warningAlbrecht Schlosser
No code changes
2021-12-14Windows platform and Input Methods: improve GUI scaling support.ManoloFLTK
2021-12-13Fluid: convert Fl_Group::forms_end() to a static functionAlbrecht Schlosser
... just in case we disable forms compatibility in the future and remove Fl_Group::forms_end(). Also: improve doxygen docs, fix some typos.
2021-12-13#319: Fixed Live Resize Mode in FluidMatthias Melcher
2021-12-13#322: remove Fluid's dependency on fltk_forms.Matthias Melcher
2021-12-13STR 3442: invalid conversion warning in VisualCMatthias Melcher
2021-12-13STR 3442: changed .cxx file, but not .flMatthias 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-13Fluid: "Widget Class" subclasses Group but incorrectly shows Window subtypes.James Palmer
2021-12-13Windows platform: account for GUI scaling when using input method.ManoloFLTK
2021-12-12Fix IME problem (issue #270)YX
2021-12-12X11 platform: account for GUI scaling in location of input method aux window.ManoloFLTK
2021-12-12Documentation: discuss HighDPI support under Windows and app manifests.ManoloFLTK
2021-12-11Win32 platform: add support of "PROCESS_PER_MONITOR_DPI_AWARE" set via manifest.ManoloFLTK
2021-12-11Fluid: use fl_strdup() to fix MSVC compiler warningAlbrecht Schlosser
2021-12-11Fluid PR 313: update subtype menu to show "Normal" when deactivated.Matthias Melcher
Based on jdpalmer's pull request: If the subtype menu is disabled because there are no subtypes, the deactivated menu will still display the subtype of the last widget that had a subtype value. Clearing the menu when there are no subtypes fixes this minor inconsistency.
2021-12-11Win32 platform: allow use of manifest to set the app's DpiAwareness level.ManoloFLTK
This fixes issue #309: FLTK 1.4 does not properly size window when using display scaling on Windows 10. FLTK now tests whether the app's DpiAwareness has been previously set, presumably via a manifest, before attempting to set it to FLTK's preferred level DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
2021-12-11STR 3210: indentation is now controlled in one single position for all ↵Matthias Melcher
source and header files.
2021-12-10Fluid: clean up Doxyfile, fix two minor doxygen issuesAlbrecht Schlosser
Note: I "downgraded" this Doxyfile from 1.9.2 to 1.9.1 and edited all offending tags in the file for compatibility with 1.9.1 and 1.9.2. Older versions may issue warnings.
2021-12-10Stabilize resizing of common dialogs like fl_choice()Albrecht Schlosser
Thanks to Paul D. Hahn for finding these issues on his very old "CentOS 6 linux with g++ 5.1" system. For details see the very long thread "fl_choice() dialog apprearance discrepancy problem in 1.4" (typo intentionally ignored): https://groups.google.com/g/fltkgeneral/c/UQk3RRf-l4A/m/0GtPNv1CCQAJ
2021-12-10Fluid: added keyboard shortcuts documentation.Matthias Melcher
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-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-09STR 3460.D: fixed .fl file reading codeMatthias Melcher
2021-12-09Fluid: sample documentation, please check http://messagepad.org/fluid/code.htmlMatthias Melcher
2021-12-09Fluid STR 3460.D: making dialog more interactive.Matthias Melcher
2021-12-09Remove compiler warnings about unused parameters (issue #307) - cont'dManoloFLTK
2021-12-09Remove compiler warnings about unused parameters (issue #307)ManoloFLTK
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-08Solves issue #308.Greg Ercolano
2021-12-08Update dependencies (no code changes)Albrecht Schlosser
Done after the first large commit of fluid changes.
2021-12-08STR 3460.C: Code Properties remembers the editor's scroll bar position.Matthias Melcher
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-08Documentation on widget coordinates and layout, plus new test programs (#304)engelsman
Add coordinates and layout section to user manual add section to user manual to clarify the use of window-relative coordinates in both Fl_Group and Fl_Window containers, and include brief descriptions of current layout manager widgets in one place. add test/coordinates.cxx, test/wizard.cxx and related screenshots under documentation/src. update CMakeLists.txt, Makefile and .gitignore for new files. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2021-12-08Improve Fl_Scroll docs regarding its bounding boxAlbrecht Schlosser
Make clear that outside labels of widgets are not considered when calculating the bounding box of the children (scroll area) and include a hint to add an invisible box if necessary.
2021-12-08Fix for issue #278 - continued : add CMake OPTION_USE_KDIALOGManoloFLTK
Use of the kdialog command by class Fl_Naive_File_Chooser can now be turned off at build-time through CMake OPTION_USE_KDIALOG. If building via configure + make, set #define USE_KDIALOG to 0 in config.h before make.
2021-12-07Fix for issue #278 - continuedManoloFLTK
Because kdialog can't select multiple directories, run the GTK chooser when BROWSE_MULTI_DIRECTORY is used.
2021-12-07Fix for issue #278: Can we use the qt/kde file picker instead of gtk?ManoloFLTK
Under the X11 platform, class Fl_Native_File_Chooser will behave as follows : - if the KDE desktop is used and if command "kdialog" is available in the path, the Qt/KDE file chooser is used; - otherwise, if the GTK library is available at run-time, the GTK file chooser is used; - otherwise, the FLTK file chooser is used. In addition, when Fl::OPTION_FNFC_USES_GTK is off, the FLTK file chooser is always used.
2021-12-07Fix for fltk.coredev "reentrant calls with Fl_Window::resize" - cont'dManoloFLTK
2021-12-07Improve documentation index and chapter "Migrating Code ..."Albrecht Schlosser
- remove redundant "Revision 11" from documentation index page. - update index (missing refs and one wrong ref) - update page break - document header requirements and potential FLTK 1.3 code issues
2021-12-06Fix whitespace errors (no code changes)Albrecht Schlosser
(1) convert tabs to spaces (2) remove trailing whitespace
2021-12-06Fix Fl_Window::size_range() documentation (STR 3352)Albrecht Schlosser
"Tiny window problem if child group larger than window" See Greg's comment 4: "something is wrong here: either the logic or the docs are incorrect, not sure which." It turned out that both were incorrect. Since we fixed the code this commit completes the STR by fixing the docs as well so they match the behavior.
2021-12-06macOS platform: compute the screen number where a top window is mapped.ManoloFLTK
2021-12-06Fix filename in doxygen comment, update dependenciesAlbrecht Schlosser
2021-12-05Fluid: fixing missing return.Matthias Melcher