0f41797b7a
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/README.txt - 20 Oct 1998 ----------------------------- This directory contains tests and demos of FL. In most cases you can learn a lot about how to program FL by looking at the source code. Type "make" to compile them all. The program "demo" is a graphical interface to run all the demos. (you may recognize this as a rewrite of an XForms program). Some of the more interesting programs: fractals: A GLUT program with FL controls added to it glpuzzle: A GLUT program with no modifications fullscreen: Demo of how to make your window toggle to fill screen list_visuals: necessary to debug X visual stuff mandelbrot: A true application, using panels built in Fluid menubar: Demo of how FL's menus work shiny: Demo of drawing FL's controls using OpenGL forms: An XForms program to demonstrate emulation colbrowser: Another XForms program that is actually useful ----------------------------------------------------- Note: this file is outdated and incomplete. (*FIXME*) -----------------------------------------------------