| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#1122)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fl_Cocoa_Window_Driver::capture_decorated_window_10_6(NSWindow*)
This function hides the code to capture an image of a window that varies a lot with macOS versions
|
|
Also fixes scenarios mixing fullscreen and maximization:
- maximize
- set fullscreen
- unset fullscreen
- un-maximize
with and without window border.
|
|
In function ‘void innards(...)’:
src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx:132:23:
dereferencing type-punned pointer will break strict-aliasing rules
BITMAPINFO &bmi = *((BITMAPINFO*)bmibuffer);
~^~~~~~~~~~~~~~~~~~~~~~~
Found with gcc 12 (MinGW cross compiler)
Also: use correct sizes (sizeof) rather than hardcoded values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This work is based on PR 1068 (patch by @CendioHalim) and
extended to store button status (4,5) in Fl::event_state() like
it's done for other mouse buttons (1-3).
Changes:
- new symbol: FL_BUTTON4 = side button 1 = "back"
- new symbol: FL_BUTTON5 = side button 2 = "forward"
- modified : FL_BUTTONS now includes bits for two side buttons
Note: the status of these new buttons is not maintained by X11,
therefore we need to maintain them in internal variables for
this platform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 1ae43956e2bfb933d63fc774ca8e4ed22e4108dd
|
|
|
|
|
|
|
|
|
|
|
|
#1052)
|
|
|
|
|
|
|
|
This is needed to allow platform compatibel e_text and e_length, but a lot more work ist needed to unify keyboard
handling
|
|
|
|
no operative code changes in this commit
|
|
Thanks to @xuyun018 for finding this.
|
|
|
|
|