summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-05-15Remove class FLGLViewLayer and get simpler code.ManoloFLTK
2019-05-13Remove Fl_Cocoa_Screen_Driver::flush() that is uselessManoloFLTK
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-30Minor change in Fl_Cocoa_Window_Driver::shape(const Fl_Image*)ManoloFLTK
2019-04-29Fix compiler warning (issue #25)Albrecht Schlosser
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-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-23Use HAVE_GLXGETPROCADDRESSARB preprocessor variableManoloFLTK
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-13Update Doxygen doc of Fl_Gl_Window::draw() for HighDPI supportManoloFLTK
2019-04-12Doxygen: describe better support for OpenGL on HighDPI displays.ManoloFLTK
2019-04-12Move Doxygen comments next to member function bodies.ManoloFLTK
2019-04-12Remove function body from Fl_Widget_Surface class declaration.ManoloFLTK
2019-04-11Add check against hidden window.ManoloFLTK
2019-04-11Update comments of Fl_Cocoa_Window_Driver::make_current() for macOS 10.14ManoloFLTK
2019-04-11Remove 2 Doxygen warningsManoloFLTK
fltk-1.4/src/Fl_Copy_Surface.cxx:66: warning: no uniquely matching class member found for int Fl_Copy_Surface_Driver::printable_rect(int *w, int *h) and same for Fl_Image_Surface_Driver.
2019-04-10Save and restore GL parameters as appropriateAlbrecht Schlosser
According to the docs "glPixelStorei sets pixel storage modes that affect the operation of subsequent glReadPixels as well as the unpacking of texture patterns (see glTexImage2D and glTexSubImage2D)." Hence we (a) must be aware that current values of these modes can be anything set by user or FLTK code before (b) should be polite and restore these modes to previous values See discussion in fltk.coredev, thread "gl_draw problem" started on Apr 05, 2019.
2019-04-10Use the new Fl_Surface_Device::is_current() virtual functionManoloFLTK
2019-04-10Remove useless member functions Fl_XXX_Copy_Surface_Driver::w() and h()ManoloFLTK
2019-04-10New virtual member function bool Fl_Surface_Device::is_current()ManoloFLTK
2019-04-10Function Fl_Screen_Driver::traverse_to_gl_subwindows() is static in its classManoloFLTK
2019-04-09Add public function Fl_RGB_Image *fl_capture_window_part()ManoloFLTK
In the context of HighDPI screens, the API of function fl_read_image() is inadequate because a rectangle of size WxH drawing units of a window may contain many more than W*H pixels. Function fl_capture_window_part() returns an Fl_RGB_Image object whose drawing size matches the size of the rectangle and whose data size matches the, possibly larger, size in pixels of the corresponding area of the mapped window.
2019-04-09Fix for STR 3519: the PostScript graphics driver fails with some narrow ↵ManoloFLTK
unicode characters
2019-04-09Improve Fl_Cocoa_Window_Driver::make_current()ManoloFLTK
2019-04-07Member Fl_Cocoa_Window_Driver::window_flags_ stores now 2 flagsManoloFLTK
2019-04-07Simpler implementation of Fl_Cocoa_Window_Driver::resize()ManoloFLTK
2019-04-07Maintain window position when turning its border on.ManoloFLTK
2019-03-28Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-03-28macOS: More efficient window rescaling that rarely calls Fl_Group::resize()ManoloFLTK
2019-03-28Add dependencies for non-Xft buildsAlbrecht Schlosser