diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 11 | ||||
| -rw-r--r-- | FL/Fl_Input_.H | 6 | ||||
| -rw-r--r-- | FL/x.H | 5 |
3 files changed, 13 insertions, 9 deletions
@@ -1,5 +1,5 @@ // -// "$Id: Fl.H,v 1.8.2.11.2.13 2002/01/09 21:50:02 easysw Exp $" +// "$Id: Fl.H,v 1.8.2.11.2.14 2002/03/07 19:22:55 spitzak Exp $" // // Main header file for the Fast Light Tool Kit (FLTK). // @@ -169,11 +169,14 @@ public: static FL_EXPORT void add_handler(int (*h)(int)); // cut/paste: + static FL_EXPORT void copy(const char* stuff, int len, int clipboard = 0); + static FL_EXPORT void paste(Fl_Widget &receiver, int clipboard /*=0*/); + static FL_EXPORT int dnd(); + // These are for back-compatability only: static FL_EXPORT Fl_Widget* selection_owner() {return selection_owner_;} static FL_EXPORT void selection_owner(Fl_Widget*); - static FL_EXPORT void selection(Fl_Widget &owner, const char* stuff, int len); + static FL_EXPORT void selection(Fl_Widget &owner, const char*, int len); static FL_EXPORT void paste(Fl_Widget &receiver); - static FL_EXPORT int dnd(); // screen size: #if defined(WIN32) || defined(__APPLE__) @@ -244,5 +247,5 @@ public: #endif // !Fl_H // -// End of "$Id: Fl.H,v 1.8.2.11.2.13 2002/01/09 21:50:02 easysw Exp $". +// End of "$Id: Fl.H,v 1.8.2.11.2.14 2002/03/07 19:22:55 spitzak Exp $". // diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index c021484a7..dd43a6dc1 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.H,v 1.6.2.4.2.2 2002/01/01 15:11:27 easysw Exp $" +// "$Id: Fl_Input_.H,v 1.6.2.4.2.3 2002/03/07 19:22:56 spitzak Exp $" // // Input base class header file for the Fast Light Tool Kit (FLTK). // @@ -105,7 +105,7 @@ public: int cut(int n) {return replace(position(), position()+n, 0);} int cut(int a, int b) {return replace(a, b, 0);} int insert(const char* t, int l=0){return replace(position_, mark_, t, l);} - FL_EXPORT int copy(); + FL_EXPORT int copy(int clipboard); FL_EXPORT int undo(); FL_EXPORT int copy_cuts(); @@ -122,5 +122,5 @@ public: #endif // -// End of "$Id: Fl_Input_.H,v 1.6.2.4.2.2 2002/01/01 15:11:27 easysw Exp $". +// End of "$Id: Fl_Input_.H,v 1.6.2.4.2.3 2002/03/07 19:22:56 spitzak Exp $". // @@ -1,5 +1,5 @@ // -// "$Id: x.H,v 1.10.2.8.2.6 2002/03/06 18:11:00 easysw Exp $" +// "$Id: x.H,v 1.10.2.8.2.7 2002/03/07 19:22:56 spitzak Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -58,6 +58,7 @@ FL_EXPORT void fl_close_display(); // constant info about the X server connection: extern FL_EXPORT Display *fl_display; +extern FL_EXPORT Window fl_message_window; extern FL_EXPORT int fl_screen; extern FL_EXPORT XVisualInfo *fl_visual; extern FL_EXPORT Colormap fl_colormap; @@ -136,5 +137,5 @@ extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b) #endif // -// End of "$Id: x.H,v 1.10.2.8.2.6 2002/03/06 18:11:00 easysw Exp $". +// End of "$Id: x.H,v 1.10.2.8.2.7 2002/03/07 19:22:56 spitzak Exp $". // |
