summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-22Fix missing quotes in CMakeLists.txt change.Greg Ercolano
2019-06-22Small fix for build error caught by git's build system.Greg Ercolano
2019-06-22Additional Makefile rules and source files for issue #29.Greg Ercolano
This adds source png and xcf files for checkers pieces. Also adds Makefile rules using xxd to convert .png -> .h as requested by Albrecht in issue #29, (hmm, no comment numbers github?)..message dated "June 22nd 2019 4:22am PDT".
2019-06-22Fix issue #29: Updated buggy/ugly checkers piece iconsGreg Ercolano
OP noticed our one-bit xbm images demonstrated an X11 driver bug on certain hardware. While it's good that our test programs show the bug (e.g. test/bitmap), it's bad that our games do. Removed the 16 xbm files used by checkers which simulated transparency with dithered images, and replaced with 4 "hexdump" png files that are cleaner/simpler looking for such lores pieces (46x46 pixels). Will follow up with a separate commit for the source .png and gimp .xcf file I used for making the pieces.
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-06Last commit typo: latex docs fixGreg Ercolano
2019-06-06Added example for mac Application -> PreferencesGreg Ercolano
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-06Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-06-06Fix in Fl_Xlib_Graphics_Driver::font_unscaled() necessary when changing ↵ManoloFLTK
drawing surfaces
2019-06-04Fix typo in CMake macro FL_ADD_LIBRARYAlbrecht Schlosser
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-25Add default argument values to reimplementations of ↵ManoloFLTK
Fl_Widget_Surface::draw_decorated_window
2019-05-25Restore the value of global variable fl_windowManoloFLTK
2019-05-25Merge remote-tracking branch 'origin/master'ManoloFLTK
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-25Fix version of removal of deprecated methodAlbrecht Schlosser
Removal of methods breaks the ABI, hence we need to wait until 1.5.0
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-23Merge remote-tracking branch 'origin/master'ManoloFLTK
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-23Update nanosvg library to current upstream versionAlbrecht Schlosser
See README.bundled-libs.txt
2019-05-22Fix Doxygen comment badly processed by Doxygen 1.8.15ManoloFLTK
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-18Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-05-18Avoid small repetitionManoloFLTK
2019-05-17Update CHANGES_1.3.txt to reflect release 1.3.5Albrecht Schlosser
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