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)
116 lines
2.8 KiB
Plaintext
116 lines
2.8 KiB
Plaintext
# Menu description file for the generic demo program
|
|
#
|
|
# Each line consists of three fields, separated by :
|
|
#
|
|
# - menu name : To which the item belongs (starts with @)
|
|
# - item name : Placed on button. (use \n for newline)
|
|
# - command name: To be executed. Use a menu name to define a submenu.
|
|
#
|
|
# @main indicates the main menu.
|
|
#
|
|
|
|
@main:Widget\nTests...:@x
|
|
@x:Fl_Browser:browser browser.cxx
|
|
@x:Fl_Input:input
|
|
@x:Fl_Output:output
|
|
@x:Fl_Button:radio
|
|
@x:Fl_Tabs:tabs
|
|
@x:Fl_Tile:tile
|
|
@x:Fl_Scroll:scroll
|
|
@x:Fl_Pack:pack
|
|
@x:more...:@xm
|
|
@xm:Fl_Menu:menubar
|
|
@xm:Fl_Table:table
|
|
@xm:Fl_Tree:tree
|
|
|
|
@main:Window\nTests...:@w
|
|
@w:overlay:overlay
|
|
@w:subwindow:subwindow
|
|
@w:double\nbuffer:doublebuffer
|
|
@w:GL window:cube
|
|
@w:GL overlay:gl_overlay
|
|
@w:iconize:iconize
|
|
@w:fullscreen:fullscreen
|
|
@w:resizable:resizebox
|
|
@w:resize:resize
|
|
|
|
@main:Drawing\nTests...:@d
|
|
@d:unit tests:unittests
|
|
@d:Images...:@di
|
|
@di:Fl_Bitmap:bitmap
|
|
@di:Fl_Pixmap:pixmap
|
|
@di:Fl_RGB\n_Image:image
|
|
@di:Fl_Shared\n_Image:pixmap_browser
|
|
@di:Fl_Tiled\n_Image:tiled_image
|
|
@di:transparency:animated
|
|
@d:cursor:cursor
|
|
@d:labels:label
|
|
@d:offscreen:offscreen
|
|
@d:rotated text:rotated_text
|
|
@d:fl_arc:arc
|
|
@d:fl_curve:curve
|
|
@d:fl_line_style:line_style
|
|
|
|
@main:Events...:@u
|
|
@u:navigation:navigation
|
|
@u:minimum update:minimum
|
|
@u:keyboard:keyboard
|
|
@u:fast && slow widgets:fast_slow
|
|
@u:inactive:inactive
|
|
|
|
@main:Tools...:@t
|
|
@t:Fluid\n(UI design tool):fluid valuators.fl
|
|
@t:FLTK\nRuntime\nOptions:fltk-options
|
|
|
|
@main:Cool\nDemos...:@e
|
|
@e:Mandelbrot:mandelbrot
|
|
@e:Fractals:fractals
|
|
@e:Puzzle:glpuzzle
|
|
@e:Cairo\nSupport:cairo_test
|
|
@e:Block\nAttack!:blocks
|
|
@e:Checkers:checkers
|
|
@e:Sudoku:sudoku
|
|
@e:Print\nSupport:device
|
|
@e:Clipboard\nViewer:clipboard
|
|
|
|
@main:Other\nTests...:@o
|
|
@o:File Chooser:file_chooser
|
|
@o:Native File Chooser:native-filechooser
|
|
@o:HelpDialog:help_dialog help_dialog.html
|
|
@o:Input Choice:input_choice
|
|
@o:Preferences:preferences
|
|
@o:Threading:threads
|
|
@o:XForms Emulation:forms
|
|
@o:Colors and Fonts...:@of
|
|
@of:X Color\nBrowser:colbrowser rgb.txt
|
|
@of:Color Chooser:color_chooser
|
|
@of:Color Contrast:contrast
|
|
@of:Fonts:fonts
|
|
@of:UTF-8 Fonts:utf8
|
|
|
|
@main:Tutorial\nfrom\nManual...:@j
|
|
@j:ask\n(modified):ask
|
|
@j:button:button
|
|
@j:CubeView:CubeView
|
|
@j:editor:editor editor.cxx
|
|
@j:hello:hello
|
|
@j:shape:shape
|
|
|
|
@main:Images\nfor\nManual...:@i
|
|
@i:valuators:valuators
|
|
@i:symbols:symbols
|
|
@i:buttons:buttons
|
|
@i:clock:clock
|
|
@i:popups:message
|
|
@i:boxtypes:boxtype
|
|
@i:Resize Examples\n...:@ir
|
|
@ir:Example\n1:resize-example1
|
|
@ir:Example\n2:resize-example2
|
|
@ir:Example\n3a:resize-example3a
|
|
@ir:Example\n3b:resize-example3b
|
|
@ir:Example\n3c:resize-example3c
|
|
@ir:Example\n4a:resize-example4a
|
|
@ir:Example\n4b:resize-example4b
|
|
@ir:Example\n5a:resize-example5a
|
|
@ir:Example\n5b:resize-example5b
|