summaryrefslogtreecommitdiff
path: root/test
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
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')
-rw-r--r--test/browser.cxx5
-rw-r--r--test/menubar.cxx6
2 files changed, 6 insertions, 5 deletions
diff --git a/test/browser.cxx b/test/browser.cxx
index 12d3a4555..89e13e16d 100644
--- a/test/browser.cxx
+++ b/test/browser.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: browser.cxx,v 1.5 1999/01/07 19:17:49 mike Exp $"
+// "$Id: browser.cxx,v 1.5.2.1 1999/04/26 06:45:28 bill Exp $"
//
// Browser test program for the Fast Light Tool Kit (FLTK).
//
@@ -80,6 +80,7 @@ int main(int argc, char **argv) {
window.box(FL_NO_BOX); // because it is filled with browser
Fl_Select_Browser browser(0,0,400,400,0);
browser.type(FL_MULTI_BROWSER);
+ //browser.color(42);
browser.callback(b_cb);
// browser.scrollbar_right();
//browser.has_scrollbar(Fl_Browser::BOTH_ALWAYS);
@@ -94,6 +95,6 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: browser.cxx,v 1.5 1999/01/07 19:17:49 mike Exp $".
+// End of "$Id: browser.cxx,v 1.5.2.1 1999/04/26 06:45:28 bill Exp $".
//
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 $".
//