summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-03-22Solve issue #204, wrong default for labelfgcolor()Greg Ercolano
FL_BLACK changed to FL_FOREGROUND_COLOR as per docs.
2021-03-22Add missing include file stdlib.h for abs(int)Albrecht Schlosser
This file was included (in math.h or elsewhere) on Linux and latest macOS versions but maybe not in earlier macOS versions or with other configuration options.
2021-03-21Windows: fix fl_filename_isdir()Albrecht Schlosser
- convert filename from UTF-8 to "Windows wide chars" - use GetFileAttributesW() instead of _stat()
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
2021-03-19Added docs for public fl_vsnprintf() (STR #3413)Greg Ercolano
Applied vsnprintf_v2.patch from STR#3413 which documents the previously undocumented function, so that it shows up here in the doxygen docs: Files -> File List -> vsnprintf.c -> fl_vsnprintf() This commit does not solve STR #3413, just adds the recommended documentation for fl_vsnprintf(). Other functions in src/vsnprintf.c could use docs too. See the bottom of comment #5 in the STR for recommendations to fully solve.
2021-03-18Fix stack corruption when loading GIFfire-eggs
2021-03-15Partial fix for issue #188.ManoloFLTK
This fixes the inconsistency created by the possibility to change img->w() and img->h() values. The fix is to use img->data_w() and img->data_h() that have constant values.
2021-03-15Fix Linux build with --enable-pangoAlbrecht Schlosser
2021-03-15Create class Fl_Cairo_Graphics_Driver.ManoloFLTK
That class is extracted from inside Fl_PostScript_Graphics_Driver and might become handy in the future.
2021-03-15Class Fl_PostScript_Graphics_Driver: better separation of what varies with ↵ManoloFLTK
USE_PANGO
2021-03-13Fix fl_endpoints() for macOS platform that was not effective.ManoloFLTK
2021-03-13Fast pango (#201)ManoloFLTK
* Cache single unicode character widths under Xft+Pango
2021-03-11Unification of scaled coordinate calculations in class ↵ManoloFLTK
Fl_Scalable_Graphics_Driver Most coordinate calculations are done with the new inline function int Fl_Scalable_Graphics_Driver::floor(int coord) that is used by both the Windows and X11 platforms.
2021-03-02Windows platform: accurate drawing area of RGB images with scaled GUI.ManoloFLTK
2021-03-02X11 platform: Accurately control RGB image drawing with GUI scaling.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver.ManoloFLTK
2021-03-01Remove warnings about hidden virtual member functions.ManoloFLTK
2021-03-01Fix cairo build (autoconf + CMake) + README'sAlbrecht Schlosser
- rewrite to use pkg-config with both autoconf + CMake - remove hardcoded library names - fix build dependencies and search directories - remove or replace old and unused variables - update README files To be done: - implement fallback for autoconf/configure if pkg-config is missing - fix pango build (uses cairo internally)
2021-02-27Update dependenciesAlbrecht Schlosser
2021-02-27Remove config_lib.h and runtime configuration infoAlbrecht Schlosser
... as discussed in fltk.coredev.
2021-02-27Rename fl_remove_scale() to fl_override_scale() as discussed in fltk.generalManoloFLTK
Re: Can custom box type functions handle their own high-DPI screen scaling?
2021-02-25Fix Doxygen docs (unescaped '$')Albrecht Schlosser
2021-02-25Add fl_remove_scale()/fl_restore_scale() to transiently draw without scaling ↵ManoloFLTK
factor. This new API is a response to this message in fltk.general : Can custom box type functions handle their own high-DPI screen scaling?
2021-02-24Improve precision of GUI scaling for Windows platform.ManoloFLTK
2021-02-22Simplify source code of Fl_GDI_Graphics_Driver::draw_rgb(Fl_RGB_Image *,…)ManoloFLTK
2021-02-21Remove VS compilation warnings about implicit type conversions.ManoloFLTK
2021-02-21Remove VS compilation warning messages about implicit type conversions.ManoloFLTK
2021-02-21Fix for issue #192: focus box drawing incorrectly on OSX (e.g. 10.10.5) at ↵ManoloFLTK
scales >100%
2021-02-21Fix #include statements, remove unnecessary includesAlbrecht Schlosser
2021-02-19Remove use of static global var gl_fontsize inside virtual member ↵ManoloFLTK
Fl_Gl_Window_Driver::alpha_mask_for_string()
2021-02-18Remove #include ".../config_lib.h" from remaining sourcesAlbrecht Schlosser
... except src/Fl.cxx Fl.cxx uses the FL_CFG_* macros to define the values of runtime configuration options. This is now the only usage of config_lib.h. Todo: we can probably implement these runtime config vars in another way and finally remove config_lib.h.
2021-02-18Update dependenciesAlbrecht Schlosser
2021-02-18Remove redundant definition of FL_CFG_GFX_OPENGLAlbrecht Schlosser
2021-02-18Make clear we're calling a member function of class Fl_WinAPI_System_Driver.ManoloFLTK
2021-02-17Documentation: remove Doxygen warnings of undeclared members.ManoloFLTK
2021-02-17Include config.h rather than config_lib.h in fl_open_uri.cxxManoloFLTK
2021-02-16Remove FL_CFG_SYS_POSIX and FL_CFG_SYS_WIN32 preprocessor vars from Fl_lock.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Tree_Prefs.cxxManoloFLTK
2021-02-16Remove FL_CFG_SYS_POSIX preprocessor variable from Fl_get_key.cxxManoloFLTK
2021-02-16Remove FL_CFG_SYS_POSIX preprocessor variable from fl_open_uri.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Sys_Menu_Bar.cxxManoloFLTK
2021-02-16Include <config.h> in Fl_Gl_Window.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_X11 preprocessor variable from Fl_own_colormap.cxxManoloFLTK
2021-02-16Fix whitespace errors (no code changes)Albrecht Schlosser
- remove trailing whitespace - convert tabs to spaces (configure.ac)
2021-02-16Fix lowercase error in filenames.ManoloFLTK
2021-02-16Remove FL_CFG_WIN_X11 preprocessor variable from Fl_Native_File_Chooser_GTK.cxxManoloFLTK
2021-02-16Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxxManoloFLTK
2021-02-16Include <config.h> when possible - continued.ManoloFLTK
2021-02-16Use <config.h> when appropriate.ManoloFLTK