Author: bgbnbigben
Date: 2011-05-14 23:04:24 -0700 (Sat, 14 May 2011)
New Revision: 8662
Log:
Documentation cleanup in src/Style.cxx and changed the order of buttons in 
test/editor, to make the Cancel button the ReturnButton (and one that initially 
has focus)


Modified:
   trunk/src/Style.cxx
   trunk/test/editor.cxx

Modified: trunk/src/Style.cxx
===================================================================
--- trunk/src/Style.cxx 2011-05-14 18:11:56 UTC (rev 8661)
+++ trunk/src/Style.cxx 2011-05-15 06:04:24 UTC (rev 8662)
@@ -110,6 +110,11 @@
   fltk::Button uses box, however). The default is fltk::UP_BOX.
 */
 
+/*! \fn Box* Style::focusbox() const;
+  The type of box to draw when a widget takes focus. The default is
+  fltk::DEFAULT_FOCUS_BOX
+*/
+
 /*! \fn Symbol* Style::glyph() const;
 
   A small image that some Widgets use to draw part of themselves.

Modified: trunk/test/editor.cxx
===================================================================
--- trunk/test/editor.cxx       2011-05-14 18:11:56 UTC (rev 8661)
+++ trunk/test/editor.cxx       2011-05-15 06:04:24 UTC (rev 8662)
@@ -469,7 +469,7 @@
 
   int r = fltk::choice("The current file has not been saved.\n"
                     "Would you like to save it now?",
-                    "Cancel", "Save", "Don't Save");
+                    "Don't Save", "Save", "Cancel");
 
   if (r == 1) {
     save_cb(); // Save the file...

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to