From dc355ebb5477bd3c4374658d3db2a935ae3fb935 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 13 Apr 2002 22:17:46 +0000 Subject: 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 --- FL/Fl.H | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'FL') 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 $". // -- cgit v1.2.3