Commit Graph

8534 Commits

Author SHA1 Message Date
ManoloFLTK
46fa9d2625 Fix Doxygen comment badly processed by Doxygen 1.8.15 2019-05-22 21:45:12 +02:00
ManoloFLTK
b2c027fa83 Implement Fl_Quartz_Copy_Surface_Driver::draw_decorated_window()
The window title is copied in vectorial form when the titlebar is layer-backed.
2019-05-22 21:33:02 +02:00
ManoloFLTK
277cee73b0 Improve drawing of Fl_RGB_Image's to Fl_Copy_Surface on macOS 2019-05-22 13:37:12 +02:00
ManoloFLTK
da6d671d9b Support for fl_scroll() under macOS when GUI is scaled - cont'd
Handles support of non-layered windows
2019-05-22 10:56:19 +02:00
ManoloFLTK
9ad985ce07 Remove warning appeared with Doxygen 1.8.15 2019-05-22 10:26:50 +02:00
ManoloFLTK
9b80a38345 Support for fl_scroll() under macOS when GUI is scaled 2019-05-21 21:17:11 +02:00
ManoloFLTK
07f4fd4380 More accurate implementation of Fl_Cocoa_Window_Driver::decoration_sizes(). 2019-05-20 13:30:57 +02:00
ManoloFLTK
159572785d Remove small duplication of code 2019-05-20 13:16:31 +02:00
ManoloFLTK
357dad1e51 Merge remote-tracking branch 'origin/master' 2019-05-18 17:40:36 +02:00
ManoloFLTK
30e05510fa Avoid small repetition 2019-05-18 17:40:18 +02:00
Albrecht Schlosser
1071b30f21 Update CHANGES_1.3.txt to reflect release 1.3.5 2019-05-17 15:59:46 +02:00
ManoloFLTK
99419b2f63 Have Fl_Cocoa_Window_Driver::flush() use the drawRect: method to draw to non-layered views 2019-05-17 15:23:55 +02:00
ManoloFLTK
238c3b7cef Merge remote-tracking branch 'origin/master' 2019-05-15 21:58:26 +02:00
Manolo Gouy
88c2994e20 Restore use for GL windows under macOS 10.14.0 2019-05-15 21:55:10 +02:00
Albrecht Schlosser
5df7a7678a Document Fl_File_Input::errorcolor() as deprecated
Fl_File_Input::errorcolor() and Fl_File_Input::errorcolor(Fl_Color)
have not been used anywhere. Marked as deprecated.
2019-05-15 18:31:46 +02:00
Albrecht Schlosser
31093d0a14 Replace fl_ask() with fl_choice() in FAQ
fl_ask() is deprecated and should be replaced with fl_choice().
2019-05-15 18:02:01 +02:00
Albrecht Schlosser
c4a755bdf8 Fix some links in documentation
Particularly to Doxygen docs and NEdit which appears to have moved
to sourceforge (according to Wikipedia), see
https://en.wikipedia.org/wiki/NEdit

Note: nedit.org exists but shows some non-English text.
2019-05-15 17:16:11 +02:00
ManoloFLTK
fa5c2718da Remove class FLGLViewLayer and get simpler code. 2019-05-15 13:59:29 +02:00
ManoloFLTK
e2eabd3056 Remove Fl_Cocoa_Screen_Driver::flush() that is useless 2019-05-13 15:34:26 +02:00
ManoloFLTK
e236091a99 Fix GUI rescaling when one window is iconified (macOS) 2019-05-13 15:06:19 +02:00
ManoloFLTK
ac1e7fabfa Merge remote-tracking branch 'origin/master' 2019-05-12 19:05:52 +02:00
ManoloFLTK
dd687e7fbc Fix GUI scaling in presence of un-show()'n subwindows (macOS) 2019-05-12 19:02:15 +02:00
Lasse Lopperi
e178d14668 Correct config installation path on macOS
Before:
install/FLTK/.framework/Resources/CMake/FLTKConfig.cmake
After:
install/FLTK.framework/Resources/CMake/FLTKConfig.cmake

See https://cmake.org/cmake/help/v3.0/command/find_package.html
for definitions of expected installation paths.
2019-05-12 18:06:00 +02:00
ManoloFLTK
874ccfe645 Fix Doxygen doc of Fl_Window::border(int) and border() 2019-05-09 10:49:03 +02:00
ManoloFLTK
467e216681 Use more convenient API for function get_window_frame_sizes() 2019-05-09 10:22:31 +02:00
ManoloFLTK
32439ec259 Fix Fl_Cocoa_Window_Driver::capture_titlebar_and_borders() when GUI is scaled down 2019-05-08 16:27:53 +02:00
ManoloFLTK
12dedc26cd Adapt function fake_X_wm() to rescaled GUI. 2019-05-08 12:25:48 +02:00
ManoloFLTK
d88ef8f039 Avoid double window redraw after resize 2019-05-08 11:53:25 +02:00
ManoloFLTK
5a57c928a1 Remove unnecessary code 2019-05-07 12:45:44 +02:00
ManoloFLTK
c00f31ab10 Slightly simpler code for what is specific to macOS 10.14.0 2019-05-06 16:55:41 +02:00
ManoloFLTK
fea125eca9 Restore forcing the position of a window before it's shown 2019-05-06 16:50:42 +02:00
ManoloFLTK
38cf195727 Remove call to Fl_Group::init_sizes() because it's expected from the caller. 2019-05-04 13:25:28 +02:00
ManoloFLTK
ef355e2762 Fix control for subwindow leakage in presence of GUI scaling 2019-05-04 09:44:29 +02:00
ManoloFLTK
5fde73b9ea Reworked algorithm to support window moving across screens 2019-05-02 20:53:10 +02:00
ManoloFLTK
61dbac62e7 Minor change in Fl_Cocoa_Window_Driver::shape(const Fl_Image*) 2019-04-30 15:18:40 +02:00
Albrecht Schlosser
bb55c9251d Fix compiler warning (issue #25)
src/Fl_Table_Row.cxx:56:25: warning: argument 2 range
    [18446744071562067969, 18446744073709551615] exceeds maximum
    object size 9223372036854775807 [-Walloc-size-larger-than=]
     arr = (char*)realloc(arr, count * sizeof(char));
                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes #25
2019-04-29 11:36:21 +02:00
ManoloFLTK
738cce154e macOS: further fix to window moving necessary for macOS 10.3
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-28 18:34:24 +02:00
ManoloFLTK
172063b2ad macOS: yet simpler implementation of window resize and rescale. 2019-04-28 15:31:02 +02:00
ManoloFLTK
9ac73175be Use NSViewFrameDidChangeNotification instead of NSWindowDidResizeNotification
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()"
    c66caf5dce
2019-04-25 10:30:59 +02:00
ManoloFLTK
a98d3a6569 Use HAVE_GLXGETPROCADDRESSARB preprocessor variable 2019-04-23 18:17:16 +02:00
ManoloFLTK
6f82d88af3 macOS: restore correct tabbing/untabbing of windows - continued
slightly simpler and more explicit than previous commit at
    602c6ffd8a
2019-04-23 08:11:10 +02:00
ManoloFLTK
94f859c373 Consistently compute the current GUI scaling factor value. 2019-04-22 10:02:32 +02:00
ManoloFLTK
602c6ffd8a macOS: restore correct tabbing/untabbing of windows
The recent commit "Simpler implementation of Fl_Cocoa_Window_Driver::resize()"
    c66caf5dce
did not take care of tabbing/untabbing of windows.
This is repaired here.
2019-04-22 09:48:15 +02:00
ManoloFLTK
98b4ece33e Reorder Fl_Cocoa_Window_Driver to support upward OS compatibility 2019-04-21 09:45:06 +02:00
ManoloFLTK
f3bfe93a51 Fix Fl_Cocoa_Window_Driver::fullscreen_off()
The correct order of operations is to resize the window after having set its style.
2019-04-21 09:27:44 +02:00
ManoloFLTK
3f5580d49c macOS: better support of Fl_Window::border(int) 2019-04-20 22:01:48 +02:00
ManoloFLTK
33862479af Merge remote-tracking branch 'origin/master' 2019-04-19 13:05:14 +02:00
ManoloFLTK
ebbee5301b macOS: simpler handling of GL windows when first displayed.
tested on macOS versions 10.3, 10.6, 10.9, 10.14
2019-04-19 13:03:49 +02:00
Greg Ercolano
8d0647732f Fix time drawing color (was not being set)
The items showing the current time looked ugly on linux
when selected, since they were drawing in the leftover
blue color used for drawing the R-G-B box pattern.
2019-04-16 10:56:33 -07:00
ManoloFLTK
698fe39ff1 Minor code reordering 2019-04-15 16:08:16 +02:00