summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2019-03-28Update dependenciesAlbrecht Schlosser
Note: these dependencies are not complete and will likely never be because they depend on different configurations.
2019-03-27Call to Fl_Group::init_sizes() needed after resize of widgets.ManoloFLTK
2019-03-27Send FL_FOCUS is necessary under X11ManoloFLTK
2019-03-27Correct typo in Doxygen doc of Fl::focus()ManoloFLTK
2019-03-27Use Fl_Widget_Tracker to check for existence of the putative focus widgetManoloFLTK
2019-03-27Follow CMP and rename a type with capitalized words without underscoreManoloFLTK
2019-03-27Remove unnecessary #include directivesManoloFLTK
2019-03-27Add further checks to avoid null pointer.ManoloFLTK
2019-03-27Check against null pointer for securityManoloFLTK
2019-03-27Don't change the focus widget after showing transient scale factor windowManoloFLTK
2019-03-26Use \deprecated Doxygen command where necessaryManoloFLTK
2019-03-26Correct typo in Doxygen doc of Fl_System_Driver::filename_ext()ManoloFLTK
2019-03-26Improve Doxygen doc of the Fl_SVG_Image constructorManoloFLTK
2019-03-25Replace static void Fl_Window_Driver::default_icons() by virtual ↵ManoloFLTK
Fl_Screen_Driver::default_icons()
2019-03-25Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-03-25Rename fl_compute_macKeyLookUp() to ↵ManoloFLTK
Fl_Darwin_System_Driver::compute_macKeyLookUp()
2019-03-25Update dependenciesAlbrecht Schlosser
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-03-12Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-03-12Remove unneeded #include directiveManoloFLTK
2019-03-12Prevent unnecessary Fl_Clock timer events (STR 3516)Albrecht Schlosser
See documentation @ STR 3516
2019-03-12Avoid "unused argument" compiler warnings with -Wextra after #include ↵ManoloFLTK
<fl_draw.H>
2019-03-11X11 platform: keep GUI scaling after screen is reconfiguredManoloFLTK
2019-03-11X11 platform: follow when the OS changes the Xft.dpi resourceManoloFLTK
Under gnome, Tweaks -> Fonts ->Scaling factor allows to change the size of all fonts handled by gnome. With that change, FLTK apps obey to changes to Xft.dpi.
2019-03-10X11 platform: use the Xft.dpi resource as basis for the initial GUI scaling ↵ManoloFLTK
factor Previously, the display scaling factor value under gnome was sought in the gnome database using the gnome_scale_factor() function. But that information is no longer present. File $HOME/.config/monitors.xml was also used to get that information. Using the Xft.dpi X resource is simpler and more general because it's effective both for gnome and KDE.
2019-03-06Improve static function react_to_screen_reconfiguration()ManoloFLTK