summaryrefslogtreecommitdiff
path: root/test/menubar.cxx
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-04-26 06:45:29 +0000
committerBill Spitzak <spitzak@gmail.com>1999-04-26 06:45:29 +0000
commit5bf457ac24f4ac27ac75eafe8cb6f697c8b10ca5 (patch)
treeb9a00fb82d1a0e606221eff567dbc14e4a4c352a /test/menubar.cxx
parente46a0be2b5b2bdb524b3c49462fcd3cd11bf5ff6 (diff)
Tab, space, backtab, and backspace can be used to navigate through menus.
They act like up/down arrows except they circulate around at the end. Fixed a typo in fluid that made it not write when() correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/menubar.cxx')
-rw-r--r--test/menubar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/menubar.cxx b/test/menubar.cxx
index 4ec2f97ed..75d5c60a3 100644
--- a/test/menubar.cxx
+++ b/test/menubar.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: menubar.cxx,v 1.6 1999/02/25 19:09:11 bill Exp $"
+// "$Id: menubar.cxx,v 1.6.2.1 1999/04/26 06:45:29 bill Exp $"
//
// Menubar test program for the Fast Light Tool Kit (FLTK).
//
@@ -98,7 +98,7 @@ Fl_Menu_Item menutable[] = {
{"Size", 0, 0},
{0},
{"&Checkbox",0,0,0,FL_SUBMENU},
- {"&Alpha", 0, 0, (void *)1, FL_MENU_TOGGLE},
+ {"&Alpha", FL_F+2, 0, (void *)1, FL_MENU_TOGGLE},
{"&Beta", 0, 0, (void *)2, FL_MENU_TOGGLE},
{"&Gamma", 0, 0, (void *)3, FL_MENU_TOGGLE},
{"&Delta", 0, 0, (void *)4, FL_MENU_TOGGLE|FL_MENU_VALUE},
@@ -214,5 +214,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: menubar.cxx,v 1.6 1999/02/25 19:09:11 bill Exp $".
+// End of "$Id: menubar.cxx,v 1.6.2.1 1999/04/26 06:45:29 bill Exp $".
//