summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier - ↵ManoloFLTK
cont'd.
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier.ManoloFLTK
It's possible to build and run FLTK 1.5 with its use of C++11 for macOS 10.7 and SDK 10.7. This commit makes 10.7 the required minimal version of macOS to build and run FLTK 1.5.
7 daysFix obvious indenting errors after removal of old codeAlbrecht Schlosser
... by commit e0405d2135939d08289205e3a38df329076e16c1
7 daysmacOS: remove code present only to support macOS versions 10.3 and 10.4.ManoloFLTK
This is a first step towards removing the code related to support of old macOS versions that are not compatible with C++11 which FLTK 1.5 requires.
7 daysRestore usability with macOS SDK < 10.12ManoloFLTK
2025-12-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-13Fix overzealous C++11ification in Pen driver.Matthias Melcher
2025-11-27Refactor pen interface into driver system.Matthias Melcher
2025-11-20Adjust some pen driver comments.Matthias Melcher
Made global variables private.
2025-11-17Fix two macOS compiler warnings.Matthias Melcher
2025-11-17Add pen/stylus/tablet API and driver for macOS (#1326)Matthias Melcher
* define the pen/tablet support API * add pen event handler stub as a fallback * add pen device test "penpal". * Add macOS pen/stylus/tablet driver. * Add Oxygen documentation.
2025-02-08Make Fl_Cocoa_Gl_Window_Driver::capture_gl_rectangle() return a depth-4 imageManoloFLTK
This change allows to capture the rounded corners of a top-level GL window. Also, rename Fl_Cocoa_Window_Driver::capture_decorated_window_10_5() from capture_decorated_window_10_6() because this function uses CGWindowListCreateImageFromArray() available from macOS 10.5.
2025-02-06fix macOS Sonoma/Sequoia not capturing OpenGL text on macOS - cont'd (#1197ManoloFLTK
2025-02-06fix "macOS Sonoma/Sequoia not capturing OpenGL 1 text on macOS" (#1197)ManoloFLTK
2025-01-30macOS: Fix "Full screen broken on macOS in FLTK 1.3.10 (regression)" (#1192)ManoloFLTK
FLTK now supports 2 types of fullscreen modes under macOS: 1) normal macOS fullscreen mode where the menubar and titlebar appear when mouse is moved to top of screen and the window covers one screen only; 2) multiple-screen mode that requires calling Fl_Window::fullscreen_screens() before. This commit fixes all possible transitions between these fullscreen modes and normal window mode.
2024-11-01New member function ↵ManoloFLTK
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
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-15Change member function args to Fl_Menu_Bar::play_menu(const Fl_Menu_Item *)ManoloFLTK
2024-05-14 New member function Fl_Menu_Bar::play_menu(const char *title)ManoloFLTK
2024-05-02macOS + GL: remove compilation error with old SDK versionsManoloFLTK
2024-04-30Implement and document new class Fl_PDF_File_SurfaceManoloFLTK
2024-03-03Use Fl_Window_Driver::is_resizable() to check whether window can be resizedManoloFLTK
2024-02-27Minor optimization of macOS automatic Window menuManoloFLTK
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.
2024-01-29Fix OpenGL context caching on macOS (#737)Matthias Melcher
2023-12-16#842: Enables command line color arguments on macOSMatthias Melcher
2023-12-13macOS platform + GLUT: fix crash with glut_test - cont'dManoloFLTK
2023-12-12macOS platform + GLUT: fix crash with glut_test appManoloFLTK
2023-11-26Adds GL swap control for X11Matthias Melcher
2023-11-26STR 1373: adds vsync control to OpenGL contexts on macOSMatthias Melcher
Windows and X11 to follow, no idea about Wayland.
2023-11-05Add Fl_Window::maximize() and Fl_Window::un_maximize()ManoloFLTK
2023-10-31 Remove 81615bb causing GL window to blink when resizing on macOS (#813)ManoloFLTK
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-06-26Fix Fl_Cocoa_Gl_Window_Driver::resize()ManoloFLTK
The additional [NSOpenGLContext flushBuffer] messages appear necessary when an Fl_Tile contains 2 or more GL subwindows.
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-21Fl_Window_Driver::destroy_double_buffer() does not need overridesManoloFLTK
2023-02-10Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676)Matthias Melcher
2023-01-13Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)ManoloFLTK
2023-01-11Fix ";" inadvertently written ","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-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-11-30Remove small files fl_XXX_gl_platform_init.cxxManoloFLTK
The single-function content of these files is moved to Fl_XXX_Gl_Window_Driver.cxx.
2022-11-24Improve text drawing above GL3 scene under macOSManoloFLTK
2022-11-24Check boundary conditions in Cocoa scroll code (#554)Matthias Melcher
2022-11-24OpenGL3 under macOS: simpler implementation of support of child widgetsManoloFLTK
2022-11-23Improve Fl_Cocoa_Gl_Window_Driver::switch_to_GL1() to support multiple GL3 ↵ManoloFLTK
windows
2022-11-22macOS: Fix release of extra NSView holding child widgets of GL windowManoloFLTK
2022-11-11Remove redundant doxygen docs of fl_beep()Albrecht Schlosser
Also add a comment to all platform driver implementations.