summaryrefslogtreecommitdiff
path: root/test/demo.menu
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-14 18:46:56 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-14 19:51:34 +0100
commit0f41797b7ab0ee010e31659f60cafd38affac8f5 (patch)
treeb7202f3bfcc801c6af29890e128de3a848fc70fa /test/demo.menu
parent0eb6a0e193d7608650728f42b88e9dfc0ab29282 (diff)
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)
Diffstat (limited to 'test/demo.menu')
-rw-r--r--test/demo.menu1
1 files changed, 1 insertions, 0 deletions
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