ManoloFLTK
865aed4eec
Wayland: fix setting cursor to FL_NO_CURSOR
1 year ago
Albrecht Schlosser
b21a3910a9
Improve documentation of Fl_Native_File_Chooser
...
Document restrictions imposed by the new system file chooser dialogs,
particularly by 'kdialog' and 'zenity' (Unix/X11/Wayland only).
1 year ago
Matthias Melcher
faff63130c
Fix cached GL context on all platforms ( #737 )
1 year ago
Matthias Melcher
c40b165353
Fix OpenGL context caching on macOS ( #737 )
1 year ago
Matthias Melcher
d9612e3cc7
RFC: Different approach to Editor tutorial (see #189 ) ( #883 )
...
Update test/editor code and tutorial (#189 , #883 )
Different, sequential approach to Editor tutorial
Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
1 year ago
Matthias Melcher
fa8799bcef
Fix animated gif reloading ( #897 )
1 year ago
Matthias Melcher
444ee8bc36
Fix warning for out of range index.
1 year ago
Matthias Melcher
4123605aab
Fix inlined animated GIFs with NULL name ( #897 )
1 year ago
Greg Ercolano
f2544509c1
Fix mousewheel problem with Fl_Text_Editor (issue #879 )
...
When an Fl_Text_Editor ended up under the mouse, it took
mousewheel events for itself, freezing navigation of a
parent's Fl_Scroll.
Patch handles mousewheel events for both up/down and left/right
by checking:
> If editor has no scrollbar (e.g. no content to scroll to),
then mousewheel events for that scrollbar are ignored
so the parent can be navigated.
> If editor has a scrollbar, it handles wheel events until scroller reaches
an extreme position (e.g. top or bottom), it starts ignoring wheel events
so the parent can be navigated.
1 year ago
Greg Ercolano
6a887bf69b
Fix small typos in Anim GIF docs
1 year ago
ManoloFLTK
8a4aa619e4
Fix "Wrong tooltip position on Wayland …" - cont'd ( #894 )
1 year ago
ManoloFLTK
da8d6c8d77
Fix "Wrong tooltip position on Wayland with secondary monitor" ( #894 )
1 year ago
Albrecht Schlosser
5cc5a60e09
Fl_Preferences: fix missing '/' ( #891 )
...
Without the '/' FLTK 1.4 wouldn't fall back to the 1.3 prefs folder
even if it existed.
1 year ago
Matthias Melcher
667adac6dd
Fix warning.
1 year ago
Matthias Melcher
7b01f0b39f
Fixes mouse pointer visibility for popups ( #890 )
1 year ago
Matthias Melcher
595d2df049
Fix wrong path var and typos
1 year ago
Matthias Melcher
baa3c6ddc0
Fix User Preferences file search order for Unix ( #891 )
1 year ago
ManoloFLTK
45422a7d19
Add popup_window() virtual member functions to Fl_Window_Driver
1 year ago
ManoloFLTK
12854fd8e5
Fix Wayland: crash with set_menu_window() - cont'd ( #892 )
1 year ago
ManoloFLTK
2481bfe430
Fix Wayland: crash with set_menu_window() - cont'd ( #892 )
1 year ago
ManoloFLTK
ab8c84447e
Fix "Wayland: crash with set_menu_window()" - cont'd ( #892 )
1 year ago
ManoloFLTK
2fbf5bed0d
Fix "Wayland: crash with set_menu_window()" ( #892 )
...
Fixes also a similar crash occuring after use of set_tooltip_window().
Two bool member variables are added to class Fl_Window_Driver
to indicate true FLTK menu windows (i.e., created by Fl_Menu_Item::pulldown())
and true FLTK tooltip windows (i.e., Fl_Tooltip).
1 year ago
Albrecht Schlosser
b5b839e4f0
Fix compiler warning [-Wmaybe-uninitialized]
...
'buf' could indeed be used uninitialized if the switch statement
below was executed with an unknown style (no default case).
1 year ago
Matthias Melcher
ed757454eb
Fix crash in Fl_Preferences for deformed group name ( #891 )
1 year ago
ManoloFLTK
13d412f82f
Wayland: add necessary initializations after commit b7fba46
1 year ago
ManoloFLTK
01f2f760b6
Create struct wl_callback_listener *Fl_Wayland_Graphics_Driver::p_surface_frame_listener
1 year ago
ManoloFLTK
b7fba465ce
Wayland: throttle resize operations also for top-level GL windows
...
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window.
This allows frame_cb to be used both for non-GL and for top-level GL windows.
1 year ago
Matthias Melcher
554bccbecd
Synchronize mouse and keyboard callbacks for Fl_Button ( #877 )
...
Keyboard behavior for button types was not consistent with mouse
click behavior. This change avoids callbacks when pressed radio buttons
are pressed again.
1 year ago
Matthias Melcher
a038e55783
Restore original Fl_Button event behavior( #877 )
...
Previous commits introduced too many changes to Fl_Button callbacks,
creating problems in user apps. This is the base for a second much
more specific fix to event flags.
1 year ago
ManoloFLTK
0dfa37f4c0
Wayland + full-size subwindow resizing issue - cont'd ( #878 )
...
Implement a less strict handling of resizing of a decorated window entirely covered
by a subwindow where throttling of fast resize commands is guided by the
value of the in_use member variable of the window's wld_buffer.
1 year ago
ManoloFLTK
266bf1d3c0
Update libdecor to commit 7807ae34 dated 15-Jan-2024
1 year ago
Greg Ercolano
e5abb3bc86
Fixed issue number reference.
1 year ago
Greg Ercolano
d3914ef90e
Addresses issue #879
1 year ago
Greg Ercolano
3142eb2fda
Small code fixups
...
> Enabled -Wall -Wextra -Wpedantic to catch errors
- Silenced resulting "unused parameters" warnings
- Fixed char omission in protected Fl_Terminal::insert_char() methods
> Self doc code and better comments in RingBuffer::resize()
> Changed private RingBuffer::clear_disp_row() -> clear_disp_rows()
> Added private RingBuffer::hist_rows()/disp_rows() setter methods
> Added private RingBuffer::offset_adjust() method for adjusting RingBuffer offset_
> Fixed comment typos
> Remove white space inside outer parens of while()/if()/etc
1 year ago
ManoloFLTK
8679be8561
Restore correct copyright window for checkers demo
1 year ago
Matthias Melcher
31daa83f2b
#877 : Formatting, comments, debug output
1 year ago
Matthias Melcher
da6791d492
#877L: Formatting, Unused variable.
1 year ago
ManoloFLTK
c44bea787f
#842 - cont'd: fix typos in documentation.
1 year ago
Matthias Melcher
5c90938aa3
#887 : Fixes FLTK file chooser not releasing preview image.
...
...when hidden
1 year ago
Matthias Melcher
be1c96b98a
#889 : Fixes missing return statement.
1 year ago
Matthias Melcher
e0a334840d
#842 : Documents args() color values and how they apply
1 year ago
Matthias Melcher
826eb39d68
#877 : Fixes shortcut callbacks for Fl_Button
...
- this commit does rewrite some of the logic,
hoping to make thing more, um, logical. The bits
react mostly the same and hopefully as expected.
Everything is documented in the Fl_Button ctor.
1 year ago
ManoloFLTK
a6e5b5b35b
Remove compilation warning
...
converting to non pointer type "int" from NULL (-Wconversion-null)
1 year ago
Albrecht Schlosser
92b48c3936
Fix yet another typo in documentation
1 year ago
Albrecht Schlosser
0f1a803eb8
Fix doxygen docs (typo, undocumented parameter)
1 year ago
Matthias Melcher
332a87aa43
#887 : Fixes Fl_Shared_Image reference counting
...
- adds documentation to all calls
- changes implementation details on ::copy()
and copy(w,h)
1 year ago
ManoloFLTK
994b5824dc
Wayland: fix processing of keypad keys - cont'd ( #881 )
1 year ago
ManoloFLTK
421e917f03
Comment out debug statement
1 year ago
Greg Ercolano
c9534460f7
Solves issue #882 .
1 year ago
Greg Ercolano
d9125d76cb
Solves issue #884 : single quote zenity/kdialog
1 year ago