Author: greg.ercolano
Date: 2013-03-16 22:24:58 -0700 (Sat, 16 Mar 2013)
New Revision: 9836
Log:
Added examples for Fl::option() methods


Modified:
   branches/branch-1.3/src/Fl.cxx

Modified: branches/branch-1.3/src/Fl.cxx
===================================================================
--- branches/branch-1.3/src/Fl.cxx      2013-03-10 15:14:03 UTC (rev 9835)
+++ branches/branch-1.3/src/Fl.cxx      2013-03-17 05:24:58 UTC (rev 9836)
@@ -1931,6 +1931,14 @@
  There should be an application that manages options system wide, per user, and
  per application.
 
+ Example:
+ \code
+     if ( Fl::option(Fl::OPTION_ARROW_FOCUS) )
+         { ..on..  }
+     else
+         { ..off..  }
+ \endcode
+
  \note As of FLTK 1.3.0, options can be managed within fluid, using the menu
  <i>Edit/Global FLTK Settings</i>.
 
@@ -1992,6 +2000,12 @@
 
  This function does not change any system or user settings.
 
+ Example:
+ \code
+     Fl::option(Fl::OPTION_ARROW_FOCUS, true);     // on
+     Fl::option(Fl::OPTION_ARROW_FOCUS, false);    // off
+ \endcode
+
  \param opt which option
  \param val set to true or false
  \see enum Fl::Fl_Option

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

Reply via email to