summaryrefslogtreecommitdiff
path: root/FL/Fl.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-03 05:11:34 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-03 05:11:34 +0000
commitd3acd6c475de7fb811c4bde93ca735e3526ad82f (patch)
tree53f8efcb6ca30eaa0d0528460446e230510cbf26 /FL/Fl.H
parent7495dff2470310aa7824c6982df9622a975a8f38 (diff)
Add Fl::visible_focus() method.
Add optional "draw_symbols" argument to fl_draw and fl_measure functions. Fl_Repeat_Button didn't handle keyboard focus properly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl.H')
-rw-r--r--FL/Fl.H9
1 files changed, 6 insertions, 3 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 72e61c353..7abf3ae9e 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl.H,v 1.8.2.11.2.2 2001/08/06 03:17:43 easysw Exp $"
+// "$Id: Fl.H,v 1.8.2.11.2.3 2001/11/03 05:11:33 easysw Exp $"
//
// Main header file for the Fast Light Tool Kit (FLTK).
//
@@ -61,7 +61,7 @@ public: // should be private!
static FL_EXPORT Fl_Window* modal_;
static FL_EXPORT Fl_Window* grab_;
static FL_EXPORT int compose_state;
-
+ static FL_EXPORT int visible_focus_;
static void damage(int x) {damage_ = x;}
static FL_EXPORT void (*idle)();
@@ -212,10 +212,13 @@ public:
static FL_EXPORT void grab(Fl_Window&w) {grab(&w);}
static FL_EXPORT void release() {grab(0);}
+ // Visible focus methods...
+ static void visible_focus(int v) { visible_focus_ = v; }
+ static int visible_focus() { return visible_focus_; }
};
#endif
//
-// End of "$Id: Fl.H,v 1.8.2.11.2.2 2001/08/06 03:17:43 easysw Exp $".
+// End of "$Id: Fl.H,v 1.8.2.11.2.3 2001/11/03 05:11:33 easysw Exp $".
//