summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
AgeCommit message (Collapse)Author
2024-06-19 Avoid ScreenCaptureKit bug that may modify a non-resizable window's ↵ManoloFLTK
styleMask
2024-06-16Link frameworks used by recent macOS versions with -weak_frameworkManoloFLTK
This allows FLTK apps to use the recent frameworks when they run on recent macOS versions even if the minimum supported macOS version of these apps is more ancient than the framework.
2024-06-14macOS 15.0 Sequoia: fix capture of window titlebarsManoloFLTK
The previous procedure using CGWindowListCreateImageFromArray() is obsoleted in macOS 15.0 . The new procedure requires an additional framework: ScreenCaptureKit; FLTK uses it only for macOS ≥ 15.0
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-17Comment that macOS windows move OK between LowRes and HighRes screensManoloFLTK
2024-05-08macOS: Fix scaling subwindows - cont'd #927ManoloFLTK
2024-04-23macOS: Fix scaling subwindows #927Matthias Melcher
Converting Cocoa coordinates into FLTK coordinates should be avoided as much as possible because the conversion loses precision for scaling != 100%.
2024-03-28macOS: Avoid possible crash in makeMainWindow when another win is modalManoloFLTK
2024-03-11 macOS: Fullscreen window loses sys menu bar if 2nd window is opened (#924)ManoloFLTK
2024-03-04Fullscreen window loses sys menu bar if 2nd window is opened (#924)ManoloFLTK
2024-03-03A window needs is_resizable() true to obey fullscreen() or maximize()ManoloFLTK
2024-02-27Minor optimization of macOS automatic Window menuManoloFLTK
2024-02-27macOS: Window menu of system menubar follows changes in active windowManoloFLTK
2024-02-26Fix: Fl_Window::fullscreen() does not work correctly on Mac (#920)ManoloFLTK
2024-02-20Improve implementation of the macOS Window menuManoloFLTK
The macOS Window menu is connected to the item array of the macOS menubar via FL_SUBMENU_POINTER. This facilitates memorization of pointers to items of the macOS menubar because the item array no longer changes each time a window opens of gets closed.
2023-11-06 maximize method for Fl_Window (macOS) (#820) - cont'dManoloFLTK
2023-11-05Add Fl_Window::maximize() and Fl_Window::un_maximize()ManoloFLTK
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-18 launching a binary from the command line hangs on macOS Sonoma (#799)ManoloFLTK
2023-10-17 launching a binary from the command line hangs on macOS Sonoma (#799)ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
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-11Fixes conversion warning.Matthias Melcher
2023-10-11macOS: remove availability warningManoloFLTK
2023-10-11Add legit #pragma clang diagnostic ignored "-Wdeprecated-declarations"ManoloFLTK
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-10-06Fix: macOS runtime warning makeKeyWindow... (#785)ManoloFLTK
2023-08-09macOS: add extra comment explaining need for PPC-specific source codeManoloFLTK
2023-08-09Fl_cocoa.mm: fix Apple macro for PPC caseSergey Fedorov
2023-08-05Revert "#733 partial: Adds rotation gesture event on MacOS"Albrecht Schlosser
This reverts commit 3049e6394a3376f7fff1c8cde19fd7bb1a9252ec as agreed upon in GitHub Issue #733.
2023-08-05#733 partial: Adds rotation gesture event on MacOSMatthias Melcher
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-14Restore building with macOS SDK 10.9 and earlierManoloFLTK
2023-04-14macOS: remove calls to deprecated APIManoloFLTK
2023-02-13Allow scaled image in Fl_Window::cursor(const Fl_RGB_Image *, int, int)ManoloFLTK
2023-01-30Fix launching of unbundled app from /tmpManoloFLTK
2023-01-14Extend commit a4b33f8 to other uses of function convert_crlf()ManoloFLTK
Helper function convert_crlf() from file fl_wayland_clipboard_dnd.cxx has been repaired by commit a4b33f8 (13 jan 2023). But the same function was also in file Fl_cocoa.mm. This commit moves the repaired code to class Fl_Screen_Driver and has both fl_wayland_clipboard_dnd.cxx and Fl_cocoa.mm use it.
2023-01-13Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)ManoloFLTK
2023-01-09Virtual member Fl_Window_Driver::makeWindow() now returns voidManoloFLTK
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2022-12-29 Fix "Focus is lost leaving full screen on macOS 13" (#608)ManoloFLTK
2022-11-01Fix trailing whitespaceAlbrecht Schlosser
2022-10-03Revert 75016cb because it doesn't work well with macOS < 13.0ManoloFLTK
The problem is visible with test/tile when moving the sub window's border. This also fixes issue #508
2022-09-30macOS: implement (BOOL)[FLView isOpaque] to improve drawing performance.ManoloFLTK
2022-09-29macOS platform: rename Fl_Cocoa_Gl_Window_Driver.cxx to .mmManoloFLTK
2022-09-28macOS: support of FLTK widgets in OpenGL 3 windows - cont'd.ManoloFLTK
This code is OK under macOS 10 9 and 13.
2022-09-28macOS: add necessary setWantsBestResolutionOpenGLSurface:YES message.ManoloFLTK
2022-09-27Simpler code to support FLTK widgets in macOS OpenGL 3 windows.ManoloFLTK
Also, the application-level code to add widgets to a GL3 window becomes platform-independent.
2022-09-26Fix crash under macOS 13 Ventura public beta 6 when closing menu window.ManoloFLTK
Bizarrely, an NSMouseEntered event arrives returning nil to [event window]!