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
This commit is contained in:
Bill Spitzak
1999-04-26 06:45:29 +00:00
parent e46a0be2b5
commit 5bf457ac24
4 changed files with 28 additions and 18 deletions
+3 -2
View File
@@ -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 $".
//
+3 -3
View File
@@ -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 $".
//