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
Greg Ercolano
0080850092
Fl_Terminal better name for flags -> charflags
2 years ago
ManoloFLTK
4f894e4745
Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap
...
Previously, these objects were drawn slightly blurred on HighDPI.
This commit has them resized to the pixel size of the area where
they are being drawn and then drawn.
2 years ago
Matthias Melcher
0beab855a0
Stabilizes Fl_Tile size_range mode.
...
- improved documentation
- new tile resize strategy
- robust against zero sized children
2 years ago
Matthias Melcher
b6be421a1f
Added safety when calling Text_Display methods
...
- before assigning a buffer (Github #845 )
- also fixed a warning form unused arg in Fl_Terminal
2 years ago
Matthias Melcher
de2dd0cddf
Adds zero size check in Fl_Tile::on_move
2 years ago
Matthias Melcher
8041a62e59
Adds Callback Reason to FAQ on Fl_Window::callback
2 years ago
Matthias Melcher
f8d915cfe6
Fixes warning in Fl_Tile by Doxygen
2 years ago
Greg Ercolano
9894812644
Make new handle_lf/cr methods private
2 years ago
Matthias Melcher
c961f84086
Fixes warning and errors.
2 years ago
Matthias Melcher
81e26b9089
Adding size range settings to Fl_Tile, initial commit.
...
- some documentation missing
- Fl_Tile::resize() not satisfying yet
- minimums work, maximums currently ignored
- 0 size children may make program hang
2 years ago
Greg Ercolano
9383f172a8
Fl_Terminal docs: Added some tables
2 years ago
Greg Ercolano
c568056244
Added output_translate(): controls lf -> crlf translation
2 years ago
Greg Ercolano
56e85e8522
Fl_Terminal docs for fg/bg colors
2 years ago
Greg Ercolano
11e6fb5911
Fl::check() docs fix: example indented
2 years ago
Greg Ercolano
7c95aa7c79
Change Fl_Terminal default color() 0x0 -> FL_BLACK
2 years ago