fltk/test/demo.menu
Bill Spitzak d5b47034a7 Added Fl::first_window(window) to change which window is at the top of
the window list.  This window is used as the "parent" of any modal
windows you create so it is a good idea to be able to change it.
Normally it is whatever window got the last event.

Fixed Fl_Menu::global handler to use first_window so if a modal window
pops up in response it is parented to the window containing the
menubar rather than the current top window.  This was an annoying bug!

Copied fl_line_style() and the line_style demo over from fltk 2.0
because I am tired of mailing this code to people.  Better to advertise this
as "added fl_line_style() function to set line thickness, dash patterns,
and end caps".

Fixed the documentation for these changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-05-13 20:03:20 +00:00

83 lines
1.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
@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:Fl_Menu:menubar
@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:Fl_Bitmap:bitmap
@d:Fl_Pixmap:pixmap
@d:Fl_Image:image
@d:pixmap\nbrowser:pixmap_browser
@d:cursor:cursor
@d:labels:label
@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:Fluid\n(UI design tool):../fluid/fluid valuators.fl
@main:Cool\nDemos:@e
@e:X Color\nBrowser:colbrowser
@e:Mandelbrot:mandelbrot
@e:Fractals:fractals
@e:Puzzle:glpuzzle
@e:shiny\nOpenGL\nbuttons:shiny
@e:Checkers:checkers
@main:Other\nTests:@o
@o:color choosers:color_chooser r
@o:file chooser:file_chooser
@o:XForms Emulation:forms
@o:fonts:fonts
@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