summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2022-12-19Complete Fl_Cairo_Graphics_Driver::restore_clip()ManoloFLTK
The driver's clip_ member was not updated to the new Cairo clip state which rendered function Fl_Cairo_Graphics_Driver::clip_box() inaccurate.
2022-12-17Remove further unused code after 12da87bManoloFLTK
2022-12-17Remove useless Fl_System_Driver members after 12da87bManoloFLTK
2022-12-10Text positioning different in 1.4.x vs 1.3.x (#568) - cont'dManoloFLTK
@wcout reports that we get better results if function pango_font_metrics_get_height() is not used until version 1.50.6 and above of libpango. The difference is specially visible with underscore characters in unscaled, standard DPI displays. This commit does that.
2022-12-10Defer opening the display as much as possible (#586)Matthias Melcher
2022-12-10Fixes some VC compiler warningsMatthias Melcher
2022-12-10Windows: fix memory leak caused by RegisterDragDrop (#569)Albrecht Schlosser
- call RevokeDragDrop() when the window is hidden - do not delete the *static* FLDropTarget object
2022-12-10Fixes OpenGL complex polygons when scaling (#576)Matthias Melcher
Also fixes gap()
2022-12-09Add new Wayland-specific fl_wl_compositor() functionManoloFLTK
2022-12-08Fix compilation warning, update dependenciesAlbrecht Schlosser
Warning: variable ā€˜j’ set but not used [-Wunused-but-set-variable]
2022-12-08 Simpler prototype of Fl_Wayland_Graphics_Driver::buffer_commit() member - ↵ManoloFLTK
cont'd
2022-12-08Simplify prototype of Fl_Wayland_Graphics_Driver::buffer_commit() memberManoloFLTK
2022-12-07Wayland: fix progressive drawing as in test/mandelbrotManoloFLTK
2022-12-06Fix issue #537 without damaging test/mandelbrotManoloFLTK
2022-12-05Fixing fl_complex_polygon() compilation for WIN32 (#571)Matthias Melcher
2022-12-05Implement fl_complex_polygon() for OpenGL (#570)Matthias Melcher
2022-12-04Wayland: remove regression in mandelbrot introduced by 1a5d657ManoloFLTK
The panel was drawn solid black when test/mandelbrot was unfocussed.
2022-12-04Fl_Cairo_Graphics_Driver: simpler way to construct font from name+sizeManoloFLTK
2022-12-03Fix dotted line drawing under Cairo graphics driverManoloFLTK
2022-12-02Fix text drawn by pango is offset +1 pixel on x and y) (#568)ManoloFLTK
2022-11-30Add a unit test for drawing complex shapes (#565)Matthias Melcher
2022-11-30Remove useless fl_matrix member variable of class Fl_Graphics_DriverManoloFLTK
2022-11-30Remove small files fl_XXX_gl_platform_init.cxxManoloFLTK
The single-function content of these files is moved to Fl_XXX_Gl_Window_Driver.cxx.
2022-11-29Fix for issue [Cairo]: Arrows have a "gap" (#561)ManoloFLTK
The problem to fix is that the arrow drawn by draw_arrow1() in src/fl_symbols.cxx displays a faint clear line between the stem and head of the arrow with the Cairo graphics driver. This occurs because draw_arrow1() draws the arrow in 2 steps (a rectangle + a triangle) and the Cairo driver is configured to use antialiasing when filling polygons. The antialiasing produces the faint line between stem and head. Why does draw_arrow1() draw a rectangle + a triangle rather than a 7-vertex polygon? That's because the X11 graphics driver fails with its polygon- drawing function when the polygon is also rotated: the polygon is drawn empty. We want to keep using antialiasing under Cairo for polygons because the result is better with non horizontal/vertical polygon edges. This implementation changes function draw_arrow1() which draws the arrow as a 7-vertex filled polygon except when the graphics driver returns false for its virtual member function can_fill_non_convex_polygon(). In that situation, draw_arrow1() draws, as before, a rectangle + a triangle. The new, virtual member function can_fill_non_convex_polygon() returns true except for the X11 graphics driver. Therefore, draw_arrow1() is effectively unchanged under the X11 driver.
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-24Improve text drawing above GL3 scene under macOSManoloFLTK
2022-11-24Check boundary conditions in Cocoa scroll code (#554)Matthias Melcher
2022-11-24OpenGL3 under macOS: simpler implementation of support of child widgetsManoloFLTK
2022-11-23Configure-based build: control presence of GL-related packagesManoloFLTK
2022-11-23Improve Fl_Cocoa_Gl_Window_Driver::switch_to_GL1() to support multiple GL3 ↵ManoloFLTK
windows
2022-11-23Fix for issue #412 for the Wayland backendManoloFLTK
The problem was that after a drag-n-drop within a window, text selection by shift+arrow key stopped working. Also, improves drag-n-drop within a window by leaving insertion point at end of dragged text.
2022-11-22macOS: Fix release of extra NSView holding child widgets of GL windowManoloFLTK
2022-11-20Replace #if FLTK_USE_X11 by #ifdef FLTK_USE_X11ManoloFLTK
2022-11-17Remove development stage "Using Wayland backend" messageManoloFLTK
2022-11-17Fix "Cairo: Scaled images draw with wrong size" (#537)ManoloFLTK
2022-11-15Add support of .svgz image files to fluidManoloFLTK
The prototype of the public Fl_SVG_Image constructor is expanded to allow construction from in-memory, gzip'ed binary data.
2022-11-14Fix yet another Visual Studio compiler warningAlbrecht Schlosser
2022-11-11Fix Visual Studio compiler warningsAlbrecht Schlosser
2022-11-11Remove redundant doxygen docs of fl_beep()Albrecht Schlosser
Also add a comment to all platform driver implementations.
2022-11-09Wayland: remove unneeded friend declarationsManoloFLTK
2022-11-08Wayland: improve processing of the -display command line argumentManoloFLTK
2022-11-08Wayland: show keyboard modifiers during mouse clicks (#534)ManoloFLTK
2022-11-08Wayland: cancel drag-n-drop after Fl::pushed(0) (#525)ManoloFLTK
2022-11-07Fix initialisation of hybrid Wayland/X11 platformManoloFLTK
Also, terminate Wayland drag-and-drop operation after Fl::pushed(0).
2022-11-07Delete src/drivers/X11/Fl_X11_System_Driver.*ManoloFLTK
2022-11-07Delete src/drivers/Wayland/Fl_Wayland_System_Driver.*ManoloFLTK
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-11-06Check return value from call to gtk_init_check()ManoloFLTK
2022-11-06Allow using native file chooser on Darwin + XQuartz + (homebrew or fink)ManoloFLTK