summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
AgeCommit message (Collapse)Author
2019-07-06Correct guard for adequate version of macOS SDKManoloFLTK
2019-07-06Add support for macOS 10.15 "Catalina"ManoloFLTK
This is relatively to Catalina public beta for now.
2019-07-03Fix a bug appeared in macOS 10.15 Catalina Beta about GUI scaling transient ↵ManoloFLTK
window. The bug is that the app freezes for a few seconds before the yellow transient window is closed if the close message is set from within a timer callback. If the window to close returns NO to the canBecomeKeyWindow message, the bug does not occur. Anyway it's good that canBecomeKeyWindow returns NO for a window with the OUTPUT flag.
2019-06-12Move Fl_Cocoa_Window_Driver::capture_titlebar_and_borders() to ↵ManoloFLTK
Fl_Cocoa_Window_Driver.cxx from Fl_cocoa.mm
2019-06-03Better use of the did_view_resolution_change message sent to FLViewLayerManoloFLTK
2019-05-22Support for fl_scroll() under macOS when GUI is scaled - cont'dManoloFLTK
Handles support of non-layered windows
2019-05-21Support for fl_scroll() under macOS when GUI is scaledManoloFLTK
2019-05-20More accurate implementation of Fl_Cocoa_Window_Driver::decoration_sizes().ManoloFLTK
2019-05-20Remove small duplication of codeManoloFLTK
2019-05-18Avoid small repetitionManoloFLTK
2019-05-17Have Fl_Cocoa_Window_Driver::flush() use the drawRect: method to draw to ↵ManoloFLTK
non-layered views
2019-05-15Restore use for GL windows under macOS 10.14.0Manolo Gouy
2019-05-15Remove class FLGLViewLayer and get simpler code.ManoloFLTK
2019-05-13Fix GUI rescaling when one window is iconified (macOS)ManoloFLTK
2019-05-12Fix GUI scaling in presence of un-show()'n subwindows (macOS)ManoloFLTK
2019-05-09Use more convenient API for function get_window_frame_sizes()ManoloFLTK
2019-05-08Fix Fl_Cocoa_Window_Driver::capture_titlebar_and_borders() when GUI is ↵ManoloFLTK
scaled down
2019-05-08Adapt function fake_X_wm() to rescaled GUI.ManoloFLTK
2019-05-08Avoid double window redraw after resizeManoloFLTK
2019-05-07Remove unnecessary codeManoloFLTK
2019-05-06Slightly simpler code for what is specific to macOS 10.14.0ManoloFLTK
2019-05-06Restore forcing the position of a window before it's shownManoloFLTK
2019-05-04Remove call to Fl_Group::init_sizes() because it's expected from the caller.ManoloFLTK
2019-05-04Fix control for subwindow leakage in presence of GUI scalingManoloFLTK
2019-05-02Reworked algorithm to support window moving across screensManoloFLTK
2019-04-28macOS: further fix to window moving necessary for macOS 10.3ManoloFLTK
Running the tabs test app with all 6 subwindows shown under 10.3 and moving the window around had 3 subwindows drift away from their correct position.
2019-04-28macOS: yet simpler implementation of window resize and rescale.ManoloFLTK
2019-04-25Use NSViewFrameDidChangeNotification instead of NSWindowDidResizeNotificationManoloFLTK
This allows to support the tabbing/untabbing of windows with simpler, clearer code. This commit also fixes the resizing of Fl_Overlay_Window that was broken in the recent commit "Simpler implementation of Fl_Cocoa_Window_Driver::resize()" c66caf5dce9331fd3e011873711a768adb28cf9d
2019-04-23macOS: restore correct tabbing/untabbing of windows - continuedManoloFLTK
slightly simpler and more explicit than previous commit at 602c6ffd8a9154f323f38c2e599abea8947f1f04
2019-04-22Consistently compute the current GUI scaling factor value.ManoloFLTK
2019-04-22macOS: restore correct tabbing/untabbing of windowsManoloFLTK
The recent commit "Simpler implementation of Fl_Cocoa_Window_Driver::resize()" c66caf5dce9331fd3e011873711a768adb28cf9d did not take care of tabbing/untabbing of windows. This is repaired here.
2019-04-21Reorder Fl_Cocoa_Window_Driver to support upward OS compatibilityManoloFLTK
2019-04-21Fix Fl_Cocoa_Window_Driver::fullscreen_off()ManoloFLTK
The correct order of operations is to resize the window after having set its style.
2019-04-20macOS: better support of Fl_Window::border(int)ManoloFLTK
2019-04-19macOS: simpler handling of GL windows when first displayed.ManoloFLTK
tested on macOS versions 10.3, 10.6, 10.9, 10.14
2019-04-15Minor code reorderingManoloFLTK
2019-04-15Minor code reordering.ManoloFLTK
2019-04-11Update comments of Fl_Cocoa_Window_Driver::make_current() for macOS 10.14ManoloFLTK
2019-04-09Improve Fl_Cocoa_Window_Driver::make_current()ManoloFLTK
2019-04-07Simpler implementation of Fl_Cocoa_Window_Driver::resize()ManoloFLTK
2019-03-28macOS: More efficient window rescaling that rarely calls Fl_Group::resize()ManoloFLTK
2019-03-25Replace static void Fl_Window_Driver::default_icons() by virtual ↵ManoloFLTK
Fl_Screen_Driver::default_icons()
2019-03-25Rename fl_compute_macKeyLookUp() to ↵ManoloFLTK
Fl_Darwin_System_Driver::compute_macKeyLookUp()
2019-03-23Invalidate Quit also when running native file chooser.ManoloFLTK
2019-03-18Avoid crash when messages canBecomeKeyWindow or canBecomeMainWindow received ↵ManoloFLTK
by closed window.
2019-02-27Avoid recreation of the system menu bar without changeManoloFLTK
2019-02-23New member function const Fl_Image* Fl_Window::shape() replaces int ↵ManoloFLTK
Fl_Window::is_shaped() The new function allows to get the window's shaping image and delete it after use, if appropriate.
2019-02-08Rename method -[FLViewLayer viewFrameDidChange] to -[FLViewLayer ↵ManoloFLTK
reset_layer_data] The new name follows FLTK naming rules and has the benefit of avoiding potential collision with future macOS method names that follow a different naming rule.
2019-02-02STR #2714: remove new shadow lint for MacOSMatthias Melcher
2019-01-28Remove useless statement.ManoloFLTK