summaryrefslogtreecommitdiff
path: root/FL/Fl.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-13 22:17:46 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-13 22:17:46 +0000
commitdc355ebb5477bd3c4374658d3db2a935ae3fb935 (patch)
treed7f360c3d09a41abf9e2acbbfcc81eb563175fb9 /FL/Fl.H
parent7f0c218c1c96eebb2c0694909d237e7d3bdc0c97 (diff)
Add Fl::dnd_text_ops() methods.
Fl_Input now conditionally supports DND out via run-time option. Fl_Input now clears selection if you click inside the selection when DND is turned on. Added support for scheme, dndTextOps, and visibleFocus resources under X11. Documented all X resources supported under X11... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl.H')
-rw-r--r--FL/Fl.H9
1 files changed, 7 insertions, 2 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 51146a871..dfbf51eee 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl.H,v 1.8.2.11.2.14 2002/03/07 19:22:55 spitzak Exp $"
+// "$Id: Fl.H,v 1.8.2.11.2.15 2002/04/13 22:17:45 easysw Exp $"
//
// Main header file for the Fast Light Tool Kit (FLTK).
//
@@ -64,6 +64,7 @@ public: // should be private!
static FL_EXPORT Fl_Window* grab_;
static FL_EXPORT int compose_state;
static FL_EXPORT int visible_focus_;
+ static FL_EXPORT int dnd_text_ops_;
static void damage(int x) {damage_ = x;}
static FL_EXPORT void (*idle)();
@@ -237,6 +238,10 @@ public:
static void visible_focus(int v) { visible_focus_ = v; }
static int visible_focus() { return visible_focus_; }
+ // Drag-n-drop text operation methods...
+ static void dnd_text_ops(int v) { dnd_text_ops_ = v; }
+ static int dnd_text_ops() { return dnd_text_ops_; }
+
// Multithreading support:
static FL_EXPORT void lock();
static FL_EXPORT void unlock();
@@ -247,5 +252,5 @@ public:
#endif // !Fl_H
//
-// End of "$Id: Fl.H,v 1.8.2.11.2.14 2002/03/07 19:22:55 spitzak Exp $".
+// End of "$Id: Fl.H,v 1.8.2.11.2.15 2002/04/13 22:17:45 easysw Exp $".
//