summaryrefslogtreecommitdiff
path: root/src/drivers/GDI
AgeCommit message (Collapse)Author
2023-10-16Add virtual void Fl_Graphics_Driver::draw_circle()ManoloFLTK
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2023-02-11Very controlled GDIplus startup and shutdown #635 (#679)Matthias Melcher
Fall back to GDI if GDIplus is not available
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-11-25Make Fl_XXX_Graphics_Driver::create_bitmask() a static member functionManoloFLTK
2022-11-25Fix GDI graphics driver use for bitmasksMatthias Melcher
2022-11-11Fix Visual Studio compiler warningsAlbrecht Schlosser
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-09-08Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived.ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-20Remove FL_EXPORT qualifier from platform-specific class declarations.ManoloFLTK
2022-08-13Replace call to CreateFont() by call to CreateFontW().ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-21Avoid using same name (p) for distinct members of derived classes - cont'd.ManoloFLTK
2022-03-21Avoid using same name (p) for distinct members of derived classes.ManoloFLTK
2022-03-13Separate platform init functions from platform-specific driver filesManoloFLTK
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-12-19Add check against NULL pointer (fix for issue #338).ManoloFLTK
2021-12-14Fix trailing whitespace and a MSVC compiler warningAlbrecht Schlosser
No code changes
2021-12-14Windows platform and Input Methods: improve GUI scaling support.ManoloFLTK
2021-12-13Windows platform: account for GUI scaling when using input method.ManoloFLTK
2021-07-08Harmonize and document syntax of config.h source filesAlbrecht Schlosser
- configh.in: add and improve comments, reorder statements - configh.cmake.in: add comments, fix whitespace - src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx: fix trailing whitespace
2021-05-31Windows platform: use GDI+ to antialias oblique lines and curves.ManoloFLTK
2021-05-28New virtual member function Fl_Graphics_Driver::colored_rectf().ManoloFLTK
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
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-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-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-16Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxxManoloFLTK
2021-02-16Use <config.h> when appropriate.ManoloFLTK
2021-02-16Create classes Fl_XXX_Gl_Window_Driver according to driver model.ManoloFLTK
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2021-01-25Windows: restore "checkers" app that was damaged after handling of issue #155.ManoloFLTK
2020-11-30Scaling for Windows and X11: support rectangular loops.ManoloFLTK
2020-11-29Windows: fix undrawn pixels at right and bottom of scaled windows.ManoloFLTK
2020-11-13Fix for issue #155 - continuedManoloFLTK
This fix takes care of the Windows platform.
2020-11-12Fix for issue #155 - continuedManoloFLTK
The issue lies in details how floating point scaled coordinates are converted to integer values and its impact on the drawing of large SVG images. This commit fixes the X11 platform. The macOS platform is immune because drawing uses floating point coordinates. The Windows platform still needs fixing.
2020-08-03Remove useless Fl_GDI_Graphics_Driver::reset_spot()ManoloFLTK
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-30Fix use of an SVG image in Fl_Tiled_Image when display is rescaled.ManoloFLTK
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-01-15Fix uninitialized vars in calls to fl_clip_box() (issue #6)Albrecht Schlosser
The main fixes are only to avoid static code analyzer warnings reported in issue #5, but there are also minor bug fixes included. These bug fixes are more of theoretical concerns though. Close #6.
2019-11-07Reorganise use of virtual member function Fl_Surface_Device::end_current()ManoloFLTK
2019-07-18Fl_GDI_Copy_Surface_Driver: add BITMAP version of graphics to clipboardManoloFLTK
When copying graphical data to the clipboard with Fl_Copy_Surface, both a vectorial and a bitmap versions of the graphics are copied.
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-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.