summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-12-05Fluid STR 3460: Shell Cmd would saye code to wrong path.Matthias Melcher
2021-12-05Fluid: Adding shortcuts for Checkbox and Radio Menuitems.Matthias Melcher
2021-12-05Fluid: Adding shortcuts for Checkbox and Radio Menuitems.Matthias Melcher
2021-12-05Fixes STR #3352: "tiny window problem if child group larger than window"Greg Ercolano
2021-12-05Fix MSVC compiler warningsAlbrecht Schlosser
2021-12-05Fluid: fixed typos in pixmap's XPM format.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-05Fluid: adapting menu to pixmap changes.Matthias Melcher
2021-12-04Fluid support for high res graphicsMatthias Melcher
Changing all pixmaps to Hi DPI Fixed wrong tooltip Fixed misleading "invisible" indicator
2021-12-04Add fl_message_icon_label() function (STR #2762)Albrecht Schlosser
This message icon label (usually one character) will be used in the next call of one of the common dialogs. test/ask.cxx: use fl_message_icon_label()
2021-12-04Rename src/Fl_String.cxx to src/Fl_String_class.cxxAlbrecht Schlosser
Sorry for the noise, still fixing a name class on case-insensitive file systems (macOS and Windows).
2021-12-04Rename FL/Fl_String.H to FL/Fl_String_class.HAlbrecht Schlosser
The previous name existed already with different case (fl_string.h) in the FL folder which broke the build on macOS and Windows. This may be a temporary fix - until I find a better way.
2021-12-04Re-enable nested (aka recursive) common dialogs (STR 3242, #282)Albrecht Schlosser
Apply Fl_Dialog_r10831.patch as given in STR 3242: https://www.fltk.org/strfiles/3242/Fl_Dialog_r10831.patch Reformat, add missing pieces, rename private members, cleanup... Improve documentation, add fl_choice_n() (issue #282) New methods fl_input_str() and fl_password_str() return Fl_String
2021-12-04Add minimal version of class Fl_StringAlbrecht Schlosser
This class will be used in fl_input_str() and fl_password_str(). Todo: add missing documentation ...
2021-12-03Merge branch 'fltk:master' into masterMatthias Melcher
2021-12-03CMake for Apple Xcode usability improvementsMatthias Melcher
2021-12-02PostScript output: initialise member variables in Fl_Cairo_Graphics_Driver ↵ManoloFLTK
constructor. Also, remove inadequate Fl_Surface_Device::push_current(this) call in Fl_Posix_Printer_Driver::begin_job().
2021-12-01Hack to restore "configure --enable-x11" on macOS ≥ 11ManoloFLTK
Since macOS 11, configure --enable-x11 (and the equivalent with CMake) fails when compiling fl_write_png.cxx in parsing of time.h. The error happens only if png.h is included without time.h having been included before. The fix is to #include time.h before png.h A better fix than his hack is desirable.
2021-11-27Solves Fl_Tree focus box artifacts on linux - fixes issue #299.Greg Ercolano
Nabbed the current code from Fl_Widget::draw_focus() which solves.
2021-11-26Fixes #297 - improvements for icon.cxx + icon() docsGreg Ercolano
2021-11-26Fixes warnings about test/icon.cxx in issue #296Greg Ercolano
2021-11-26 Fix for issue #254: remove hardware overlay support - cont'd.ManoloFLTK
2021-11-26Removed following removal of support for X11 hardware overlay (issue #254)ManoloFLTK
2021-11-26Fix for issue #254: remove hardware overlay support .ManoloFLTK
2021-11-26Fix for issue #253: Remove xdbe supportManoloFLTK
2021-11-25Solves png warnings from gcc 11.2.0/Rev2 for issue #296Greg Ercolano
2021-11-25Fix group nesting / end() statements in test/cube demoAlbrecht Schlosser
2021-11-25X11+XRender platform: more accurate drawing of RGB images when GUI is scaled.ManoloFLTK
RGB images are now drawn to a size that exactly fit discretised rectangles when non integral GUI scaling values are used.