summaryrefslogtreecommitdiff
path: root/src/PSEditWidget.H
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2004-10-26 14:58:49 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2004-10-26 14:58:49 +0000
commitbc7e8e0a1617eb26ec38b2a4e433efc9c7f85f6a (patch)
tree671eb1a5982f28729467d26dd431c92fe3058ce7 /src/PSEditWidget.H
parent95a26f47d0f801f5218c6e708c8e3e6c40a3b118 (diff)
cleanups
cleanups
Diffstat (limited to 'src/PSEditWidget.H')
-rw-r--r--src/PSEditWidget.H27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/PSEditWidget.H b/src/PSEditWidget.H
index 1811972..6ad3704 100644
--- a/src/PSEditWidget.H
+++ b/src/PSEditWidget.H
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditWidget.H,v 1.9 2004/10/23 19:57:14 hofmann Exp $"
+// "$Id: PSEditWidget.H,v 1.10 2004/10/26 16:58:49 hofmann Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -32,36 +32,61 @@ class PSText;
class PSEditWidget : public GsWidget {
private:
int cur_size;
+
int show_tags;
protected:
PSEditModel *model;
+
int loaded;
+
int mod;
+
void clear_text();
+
void draw();
public:
PSEditWidget(int X,int Y,int W, int H);
+
int next();
+
void new_text(int x1, int y1, const char *s, int p);
+
void new_text(int x1, int y1, const char *s);
+
int set_cur_text(int x1, int y1);
+
void append_text(const char *s);
+
void move(int x1, int y1, int last_x, int last_y);
+
void rm_char();
+
int reload();
+
void set_cur_size(int s);
+
void set_size(int s);
+
int get_size();
+
int get_max_pages();
+
char *get_tag();
+
int set_tag(const char *t);
+
int get_show_tags();
+
void set_show_tags(int s);
+
PSText * get_text(int p);
+
int modified();
+
int file_loaded();
+
int replace_tag(char* tag, char* text);
};