diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-16 22:00:04 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-16 22:00:04 +0000 |
| commit | ca41e69c27af0dee60b8186d06f5be0713d1a051 (patch) | |
| tree | 85fd248b68d4d00414fef6488016da975f739bd2 /FL/Fl_Input_.H | |
| parent | 18312d3c1fb325c0d9ac92e98137cebbcadb563c (diff) | |
Updated headers to support WIN32 and OS/2 DLLs.
Updated VC++ project files.
Removed dummymain.c (no longer needed).
git-svn-id: file:///fltk/svn/fltk/trunk@278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Input_.H')
| -rw-r--r-- | FL/Fl_Input_.H | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index 2e1b6fb48..1e7a2b599 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.H,v 1.5 1999/01/07 19:16:56 mike Exp $" +// "$Id: Fl_Input_.H,v 1.6 1999/02/16 21:59:38 mike Exp $" // // Input base class header file for the Fast Light Tool Kit (FLTK). // @@ -56,37 +56,37 @@ class Fl_Input_ : public Fl_Widget { uchar cursor_color_; uchar erase_cursor_only; - const char* expand(const char*, char*) const; - double expandpos(const char*, const char*, const char*, int*) const; - void minimal_update(int, int); - void minimal_update(int p); - void put_in_buffer(int newsize); + FL_EXPORT const char* expand(const char*, char*) const; + FL_EXPORT double expandpos(const char*, const char*, const char*, int*) const; + FL_EXPORT void minimal_update(int, int); + FL_EXPORT void minimal_update(int p); + FL_EXPORT void put_in_buffer(int newsize); - void setfont() const; + FL_EXPORT void setfont() const; protected: - int wordboundary(int i) const; - int lineboundary(int i) const; - void drawtext(int, int, int, int); - int up_down_position(int, int keepmark=0); - void handle_mouse(int, int, int, int, int keepmark=0); - int handletext(int e, int, int, int, int); - void maybe_do_callback(); + FL_EXPORT int wordboundary(int i) const; + FL_EXPORT int lineboundary(int i) const; + FL_EXPORT void drawtext(int, int, int, int); + FL_EXPORT int up_down_position(int, int keepmark=0); + FL_EXPORT void handle_mouse(int, int, int, int, int keepmark=0); + FL_EXPORT int handletext(int e, int, int, int, int); + FL_EXPORT void maybe_do_callback(); int xscroll() const {return xscroll_;} int yscroll() const {return yscroll_;} public: - void resize(int, int, int, int); + FL_EXPORT void resize(int, int, int, int); - Fl_Input_(int, int, int, int, const char* = 0); - ~Fl_Input_(); + FL_EXPORT Fl_Input_(int, int, int, int, const char* = 0); + FL_EXPORT ~Fl_Input_(); - int value(const char*); - int value(const char*, int); - int static_value(const char*); - int static_value(const char*, int); + FL_EXPORT int value(const char*); + FL_EXPORT int value(const char*, int); + FL_EXPORT int static_value(const char*); + FL_EXPORT int static_value(const char*, int); const char* value() const {return value_;} char index(int i) const {return value_[i];} int size() const {return size_;} @@ -95,17 +95,17 @@ public: int position() const {return position_;} int mark() const {return mark_;} - int position(int p, int m); + FL_EXPORT int position(int p, int m); int position(int p) {return position(p, p);} int mark(int m) {return position(position(), m);} - int replace(int, int, const char*, int=0); + FL_EXPORT int replace(int, int, const char*, int=0); int cut() {return replace(position(), mark(), 0);} 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);} - int copy(); - int undo(); - int copy_cuts(); + FL_EXPORT int copy(); + FL_EXPORT int undo(); + FL_EXPORT int copy_cuts(); Fl_Font textfont() const {return (Fl_Font)textfont_;} void textfont(uchar s) {textfont_ = s;} @@ -120,5 +120,5 @@ public: #endif // -// End of "$Id: Fl_Input_.H,v 1.5 1999/01/07 19:16:56 mike Exp $". +// End of "$Id: Fl_Input_.H,v 1.6 1999/02/16 21:59:38 mike Exp $". // |
