summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-06-29Prepare for support of macOS 10.15 CatalinaManoloFLTK
Drawing the window titlebar to a PDF context does not work with Catalina Beta.
2019-06-27Add method Fl_Menu_::menu_end() (STR 3523)Albrecht Schlosser
This method can be called after all menu modifications to make sure the menu() array is relocated (copied from the internal working area) to a private place owned by the Fl_Menu_ instance. menu_end() is now called in Fl_Menu_Button::popup() to make sure the menu array is in private storage. This fixes STR 3523 w/o user code changes. Calling menu_end() is in most cases optional. Todo: call menu_end() where useful (or necessary), e.g. in Fl_Choice, Fl_Menu_Bar, etc. ?
2019-06-22Update dependency systemAlbrecht Schlosser
Try to make `make depend' independent of locale.
2019-06-21Simpler list of virtual member functions of Fl_Gl_Window_DriverManoloFLTK
2019-06-19Fix building for Windows platform when HAVE_GL_OVERLAY is set to 1ManoloFLTK
2019-06-19Rename variable from txt_buf to alpha_bufManoloFLTK
2019-06-18Avoid "uninitialized memory" error in gl_drawAlbrecht Schlosser
As discussed in fltk.general, valgrind reported errors when gl_draw() is called and the text is converted to a texture (i.e. when testing whether the texture already exists). We need a length check to make sure we don't overrun text buffers. See threads "gl_draw" and "gl_draw - [General Use]", respectively, started on Jun 19, 2019.
2019-06-18Slightly simpler Fl_WinAPI_Screen_Driver::init()ManoloFLTK
2019-06-16Windows platform: resize all windows after screen configuration eventsManoloFLTK
2019-06-16Make FLTK Windows apps "Per-Monitor-V2 DPI Aware"ManoloFLTK
Per-Monitor V2 awareness mode is supported on Windows 10 1703 or above and has window title bars correctly scaled on HighDPI screens. Before this commit, FLTK Windows apps were "Per-Monitor-V1 DPI Aware". FLTK apps detect at run-time whether the V2 mode is possible.
2019-06-12Move Fl_Cocoa_Window_Driver::capture_titlebar_and_borders() to ↵ManoloFLTK
Fl_Cocoa_Window_Driver.cxx from Fl_cocoa.mm
2019-06-11Fix Fl_WinAPI_Window_Driver::capture_titlebar_and_borders() when window ↵ManoloFLTK
titlebar is partially out of screen
2019-06-06Add one argument to Fl_Screen_Driver::read_win_rectangle()ManoloFLTK
The new argument gives the window to be captured, or NULL to indicate capture from the current offscreen. Calling this function becomes easier because less dependent on global variables.
2019-06-06Fix in Fl_Xlib_Graphics_Driver::font_unscaled() necessary when changing ↵ManoloFLTK
drawing surfaces
2019-06-03Better use of the did_view_resolution_change message sent to FLViewLayerManoloFLTK
2019-06-03X11+Pango: fix case when function pango_font_get_glyph_extents() failsManoloFLTK
2019-06-02X11+Pango: font names visible in the fonts and utf8 apps are usable for ↵ManoloFLTK
Fl::set_font(Fl_Font, const char*)
2019-05-30X11+Pango: call pango_font_description_from_string() less oftenManoloFLTK
Previously, each time fl_font(fnum, fsize) was called, functions pango_font_description_free() and pango_font_description_from_string() would be called. Now, pango_font_description_from_string() is called only once, the first time an Fl_Font is used.
2019-05-27Fix Fl_X11_Window_Driver::capture_titlebar_and_borders() for scaled, ↵ManoloFLTK
partially visible windows
2019-05-25Slightly simplify Fl_X11_Window_Driver::capture_titlebar_and_borders()ManoloFLTK
2019-05-25Restore the value of global variable fl_windowManoloFLTK
2019-05-25Call virtual member Fl_Surface_Device::end_current() when necessaryManoloFLTK
Rename member function Fl_Surface_Device::end_current_() to end_current(), set it protected, and make it called by the destructor of all classes derived from Fl_Surface_Device that re-implement end_current(). This way, end_current() runs equally if Fl_Surface_Device()::pop_current() is called before or after the drawing surface is deleted.
2019-05-24Remove Fl_Copy_Surface_Driver::draw_decorated_window() that is unnecessaryManoloFLTK
2019-05-23Fix Fl_Cocoa_Printer_Driver::draw_decorated_window() for GUI scaling - cont'dManoloFLTK
2019-05-23Fix Fl_Cocoa_Printer_Driver::draw_decorated_window for scaled GUI.ManoloFLTK
Support for scaled GUI was missing when the window titlebar is not layer-based.
2019-05-22Implement Fl_Quartz_Copy_Surface_Driver::draw_decorated_window()ManoloFLTK
The window title is copied in vectorial form when the titlebar is layer-backed.
2019-05-22Improve drawing of Fl_RGB_Image's to Fl_Copy_Surface on macOSManoloFLTK
2019-05-22Support for fl_scroll() under macOS when GUI is scaled - cont'dManoloFLTK
Handles support of non-layered windows
2019-05-22Remove warning appeared with Doxygen 1.8.15ManoloFLTK
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-15Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-05-15Restore use for GL windows under macOS 10.14.0Manolo Gouy
2019-05-15Document Fl_File_Input::errorcolor() as deprecatedAlbrecht Schlosser
Fl_File_Input::errorcolor() and Fl_File_Input::errorcolor(Fl_Color) have not been used anywhere. Marked as deprecated.
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