summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-24Remove test/debug statements from Fl_Table.cxxAlbrecht Schlosser
2023-10-24Wayland: implement scale factor windows as popups - cont'dManoloFLTK
2023-10-23FLUID: Fixes two minor bugsMatthias Melcher
* Fl_Grid mixed up gap_ro_ vs. gap_col_ once * Code formatting warning
2023-10-23Use #ifdef FLTK_USE_SVG instead of #if FLTK_USE_SVGManoloFLTK
2023-10-23Prepare Fl_Wayland_Screen_driver.cxx for removal of Fl_Int_VectorManoloFLTK
2023-10-23Wayland: simpler implementation of transient scale factor windowsManoloFLTK
2023-10-23 Avoid macOS 14 warning message when app is launched from command lineManoloFLTK
2023-10-23Wayland: implement transient scale factor windows as popupsManoloFLTK
as discussed in issue #794. Also, fix for macOS the use of the FL_FOCUS event for these transient windows
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-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-10-22FLUID: removes duplicate codeMatthias Melcher
2023-10-22FLUID: more Fl_Grid settingsMatthias Melcher
2023-10-21Remove duplicated code that was commented out, fix includesAlbrecht Schlosser
... and prevent confusing doxygen
2023-10-21Fix compiler warning [-Wreturn-type]Albrecht Schlosser
"control reaches end of non-void function"
2023-10-21Removes dependency on Fl_Preferences::get/set(.., Fl_String, ...)Matthias Melcher
2023-10-21FLUID: grid becomes a bit more interactiveMatthias Melcher
2023-10-21FLUID: adding a subset of Fl_Grid child parameters.Matthias Melcher
2023-10-21 Fix "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-10-20Fix ctrl/+/- in cube demoAlbrecht Schlosser
- Fl_Grid: force layout() on resize() - needed for GL subwindows - test/cube.cxx: - use end() in constructor of class cube_box - ensure not to change the current group when adding a button
2023-10-19Check that a widget is a child of its Fl_Grid parentAlbrecht Schlosser
... when assigning it to a cell. This is required for consistency.
2023-10-19Fix "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-10-19 Fix for "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-10-18Fix Fl_Tile::set_cursor() which was brokenAlbrecht Schlosser
... since commit 6ba7b49baf11e526d1ed19aef491db2cd120e55e.
2023-10-18Fix trailing whitespaceAlbrecht Schlosser
2023-10-18 launching a binary from the command line hangs on macOS Sonoma (#799)ManoloFLTK
2023-10-17Fix drawing points in complex shape mode with Cairo (#792)ManoloFLTK
2023-10-17 launching a binary from the command line hangs on macOS Sonoma (#799)ManoloFLTK
2023-10-17Fix Crashes and warnings when Fl_Double_Window is smaller than 1x1 (#798)ManoloFLTK
2023-10-16Add Fl_Grid widget and test and demo programsAlbrecht Schlosser
- FL/Fl_Grid.H: header file - src/Fl_Grid.cxx: implementation - examples/grid-simple.cxx: simple example program - test/cube.cxx: use Fl_Grid for layout - test/grid_alignment.cxx: test cell alignment and other functions - test/grid_buttons.cxx: demo program as discussed in fltk.general - test/grid_login.cxx: like test/flex_login.cxx but with Fl_Grid - test/flex_login.cxx: modified to match test/grid_login.cxx
2023-10-16Fix Windows (MSVC) compiler warningsAlbrecht Schlosser
warning C4244: '=': conversion from 'double' to 'time_t', possible loss of data warning C4244: 'return': conversion from 'time_t' to 'long', possible loss of data
2023-10-16Remove Doxygen warning in Fl_Tile.cxx line 185ManoloFLTK
The warning was warning: End of list marker found without any preceding list items.
2023-10-16Add virtual void Fl_Graphics_Driver::draw_circle()ManoloFLTK
2023-10-16Fix Drawing artifact with radio buttons under Cairo (#792) - cont'dManoloFLTK
2023-10-16Fix indentationManoloFLTK
2023-10-16Improve subclassing cababilities of Fl_Tile (STR 2791)Albrecht Schlosser
- remove static variables and functions - make move_intersection() virtual - add (protected) cursor access methods These changes were inspired by STR 2791 where the user proposing an enhancement was not able to subclass Fl_Tile properly. This commit fixes the mentioned issues and enables subclassing without copying internal code.
2023-10-16 OpenManoloFLTK
Fix Drawing artifact with round check buttons in menu under Cairo (#792)
2023-10-15Improve small radio buttons by using fl_draw_circle()Albrecht Schlosser
This removes duplicated code as intended when fl_draw_circle() was introduced.
2023-10-15Fix small circle drawing and add doxygen \since statementAlbrecht Schlosser
src/fl_draw.cxx: improve documentation, add \since 1.4.0, simplify scaling code, use forgotten 'color' argument to set the circle color. src/fl_draw_arrow.cxx: add doxygen \since statement
2023-10-14Draws nicer small circles if display is scaled up.Matthias Melcher
2023-10-14Improve Fl_Wayland_Window_Driver::take_focus()ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-13Drawing artifact with round check buttons in menu under Cairo (#792)ManoloFLTK
2023-10-13Remove obsolete commentsManoloFLTK
2023-10-13FLUID: allow mousewheel events on coordinate inputMatthias Melcher
MACOS: make sure that even small mouse wheel deltas count at least as 1 unit
2023-10-13#748: Adds option to choose menu window boxtypeMatthias Melcher
...independently from the menu button or menu bar boxtype
2023-10-11Fixes conversion warning.Matthias Melcher
2023-10-11Fixes fl_filename_relative on Linux, Mac, and Windows (#787)Matthias Melcher
* fixed filename_relative for Linux * Fixing fl_filename_relative for MSWindows. * Update documentation * Fixed docs. * Fixes Linux and macOS builds
2023-10-11Synchronize all arrow colors and inactive drawing (#791)Matthias Melcher
2023-10-11macOS: remove availability warningManoloFLTK