summaryrefslogtreecommitdiff
path: root/FL/Fl_Input_.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Input_.H')
-rw-r--r--FL/Fl_Input_.H54
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 $".
//