Greg Ercolano
c3849b0a97
Fix issue 854 - append_ansi() len fix
2 years ago
Matthias Melcher
ed910b7368
FLUID: improves special handling of widget_class members
2 years ago
Albrecht Schlosser
cf07fa09dc
Minor updates of bundled libraries and README.CMake.txt
...
Update Makefiles, CMakeLists.txt, improve formatting.
2 years ago
Albrecht Schlosser
a73a14347d
Fix compiler warnings
...
fluid/code.cxx: unused variable
src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx:
function may return address of local variable [-Wreturn-local-addr]
2 years ago
Matthias Melcher
75c97edb1e
#858 : Fluid: removed duplicate and false code
2 years ago
Matthias Melcher
1476d215f3
FLUID: Refactored writing escaped strings
2 years ago
ManoloFLTK
3e61ec7044
New member function Fl_Image_Surface::mask(Fl_RGB_Image*)
2 years ago
Greg Ercolano
b9ac6bd728
Solves issue #856 : improve Fl_File_Chooser enum docs
2 years ago
Albrecht Schlosser
63c54fe7c8
CMake: Remove UseFLTK.cmake generation and usage
2 years ago
Albrecht Schlosser
a6927779c3
Update nanosvg/README.txt to reflect recent changes
2 years ago
Albrecht Schlosser
384b546dc6
Upgrade bundled nanosvg library to latest upstream commit
...
commit 706eb0618249507c1700cef4a518f73e546b1c38 (upstream/master)
Author: Mikko Mononen <memononen@gmail.com>
Date: Wed Nov 22 22:47:18 2023 +0200
Merge pull request #249 from wcout/issue_240
Fix for #240 : Bug: "else" missing
+ FLTK specific extensions, see documentation/src/bundled-libs.dox
2 years ago
ManoloFLTK
973d53bbcd
Fix error in configure-based build
2 years ago
Albrecht Schlosser
9950c8e082
Improve contrast of check marks and radio buttons ( #443 )
...
- add fl_draw_radio(...) to standardize radio button drawing
- src/Fl_Light_Button.cxx: use fl_contrast() to determine color of
radio button and check (light) button check marks, and use
new fl_draw_radio() method
- src/Fl_Menu.cxx: same as src/Fl_Light_Button.cxx and use
fl_draw_check() instead of "manually" drawing the check mark
(forgotten in an earlier update)
2 years ago
ManoloFLTK
0aa8e28be0
Update libdecor to commit 060fe761 dated 1-dec-2023
2 years ago
Matthias Melcher
d8dac2a088
#858 : FLUID: fixes control character replacement in widget browser
2 years ago
ManoloFLTK
f72748bb45
Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by default
...
This commit makes the default FLTK build setting use libdecor
as packaged in Linux when the build system contains packages
libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0.
Otherwise, FLTK uses the bundled version of libdecor.
This includes situations where package libdecor-0-dev is
present in an earlier version.
2 years ago
Matthias Melcher
96730f80cb
Adds some possible NULL references and small fixes
2 years ago
Matthias Melcher
ccc21d381a
Fixes a few minor compiler warnings.
2 years ago
Matthias Melcher
1077d74958
Fixes name conflict in X11 GL swap_interval
2 years ago
ManoloFLTK
9b33cadbc1
Wayland: use GTK Shell also with system libdecor - cont'd
2 years ago
ManoloFLTK
7472e41ccc
Wayland: use GTK Shell also with system libdecor
2 years ago
ManoloFLTK
ed5ee81ccd
Wayland: add changes to struct libdecor_frame_gtk
2 years ago
Matthias Melcher
a69fc0c9e5
Fixes anonymous union intialisation for C++98
2 years ago
Matthias Melcher
2025481f8c
FLUID: Add dialog box when processes are still runing when user tries to quit.
2 years ago
ManoloFLTK
a1a3a31090
Set date of last update to bundled libdecor
2 years ago
Greg Ercolano
38aff7d9b4
solve issue 853: make scrollbar public
2 years ago
Albrecht Schlosser
727bd94560
Add commandline conversion for Windows (no-op on other platforms)
...
- add Fl::args_to_utf8() to convert commandline arguments to UTF-8
This new function closes the gap that previously only Visual Studio
applications converted their commandlines to UTF-8.
Tested with MinGW, MSYS2/MinGW-w64, and Visual Studio (2019).
2 years ago
Albrecht Schlosser
a0e4a3fd5d
Minor fixes and window size_range in new test/tile.cxx
...
Also add comments to clarify what "old" and "new" code is,respectively.
2 years ago
Matthias Melcher
49af3d88e3
Adds OpenGL swap interval documentation.
2 years ago
MatthiasWM
06e2bd7f0e
Merge branch 'master' of https://github.com/fltk/fltk
2 years ago
MatthiasWM
75c879e2ff
Implements swap_interval for MSWindows.
2 years ago
ManoloFLTK
44b845cc42
Change type of member variables Fl_Graphics_Driver::ascent + descent
...
Type short is too small for Fl_Cairo_Graphics_Driver and font sizes ≥ 110.
2 years ago
ManoloFLTK
6bcce462e9
Update libdecor to commit cc58dd2a dated 2-nov-2023
2 years ago
Matthias Melcher
82e838f1fd
Adds OpenGL swap_interval for Wayland and X11.
2 years ago
ManoloFLTK
59bdb45566
Rearrange PostScript graphics driver code redundant with Cairo driver
2 years ago
ManoloFLTK
12af9dad3e
Remove PostScript graphics driver code redundant with Cairo driver
2 years ago
Albrecht Schlosser
57371365d8
Fix compiler warning, dependencies, and trailing whitespace
...
The benign warning was:
‘Fl_Browser_::hscrollbar’ will be initialized after [-Wreorder]
‘int Fl_Browser_::linespacing_’ ...
2 years ago
ManoloFLTK
6ea31316fb
Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap
2 years ago
ManoloFLTK
f6d2ba651b
Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap
2 years ago
Matthias Melcher
f3348e8120
Adds GL swap control for X11
2 years ago
Matthias Melcher
6817e821af
STR 1373: adds vsync control to OpenGL contexts on macOS
...
Windows and X11 to follow, no idea about Wayland.
2 years ago
Matthias Melcher
102437f1ee
Restores mouse pointer before popping up cut/copy/paste menu
...
on Fl_Input and Fl_Text_Display
Also adds – to Help View
2 years ago
Matthias Melcher
39a3212fc3
Adds pulldown menu to Fl_Text_Display and ..._Editor
2 years ago
Albrecht Schlosser
b48ce8699e
Ignore more files generated by building with Wayland
2 years ago
Matthias Melcher
c097f63ff8
Cleans up Fl_Input right mouse button menu
2 years ago
Matthias Melcher
7bef4ebf78
STR 749: Adds cut/copy/paste popup menu to Fl_Input
2 years ago
Albrecht Schlosser
09242ee16d
Fix and improve fl_call_main.c
...
- add missing NULL pointer at end of argv
- fix #if condition for compilation
Todo: another update will follow soon, using a standardized FLTK
interface for argument conversion to UTF-8 for non-MSVC builds.
2 years ago
Albrecht Schlosser
4a461efae6
CMake/Windows/MSVC: Add option to select MSVC Runtime
...
Selects MSVC compiler/build options known as /MT, /MTd, /MD, or /MDd.
This applies to "Visual Studio" (IDE) and "NMake Makefiles" builds.
2 years ago
Albrecht Schlosser
e8ad00d9fe
CMake/Windows/MSVC: add DLL path as target property
...
This modifies the debug environment so demo programs linked to FLTK
DLL's can be debugged w/o copying FLTK DLL's to the build folders
of the demo programs.
This is work in progress and may be improved in a future commit but
it works as it is now for all demo programs.
2 years ago
Matthias Melcher
34ed30fe1a
Adds `linespacing()` to `Fl_Browser_` and all derived widgets
2 years ago