From 0f41797b7ab0ee010e31659f60cafd38affac8f5 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 14 Mar 2023 18:46:56 +0100 Subject: Cairo: introduce Fl::cairo_flush() in FLTK API Flushing the Cairo context is necessary on Windows to make Cairo drawings appear on the device (screen). This new method makes it easy for user code to do this correctly after using Cairo drawings. - add Fl::cairo_flush(cairo_t *) - document Fl::cairo_flush(cairo_t *) - reformat Cairo doxygen docs and code (partially) - use the new method in Fl_Cairo_Window - use the new method in test/cairo_test.cxx - other minor (text) changes in test/cairo_test.cxx - add test/cairo_test to the demo menu (test/demo.menu) --- test/demo.menu | 1 + 1 file changed, 1 insertion(+) (limited to 'test/demo.menu') diff --git a/test/demo.menu b/test/demo.menu index 3549b18ef..e608f54e8 100644 --- a/test/demo.menu +++ b/test/demo.menu @@ -66,6 +66,7 @@ @e:Mandelbrot:mandelbrot @e:Fractals:fractals @e:Puzzle:glpuzzle + @e:Cairo\nSupport:cairo_test @e:Block\nAttack!:blocks @e:Checkers:checkers @e:Sudoku:sudoku -- cgit v1.2.3