diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-10-12 18:52:23 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-10-12 18:52:23 +0000 |
commit | be8b4a78d6bcfd5738864cea03f8a218724f6397 (patch) | |
tree | 1775506a0ba17e68c1475c12f375b3ae1dd106a1 /src/PSEditWidget.H | |
parent | 570f2cbe4b10f587591273226a64b79d6d0f48e7 (diff) |
add initial tags handling
add initial tags handling
Diffstat (limited to 'src/PSEditWidget.H')
-rw-r--r-- | src/PSEditWidget.H | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/PSEditWidget.H b/src/PSEditWidget.H index 04f72dd..afb3021 100644 --- a/src/PSEditWidget.H +++ b/src/PSEditWidget.H @@ -1,5 +1,5 @@ // -// "$Id: PSEditWidget.H,v 1.6 2004/07/09 17:22:55 hofmann Exp $" +// "$Id: PSEditWidget.H,v 1.7 2004/10/12 20:52:23 hofmann Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -33,8 +33,11 @@ private: PSText **text; int max_pages; int cur_size; + int show_tags; protected: + int loaded; + int mod; void clear_text(); void draw(); @@ -58,13 +61,20 @@ public: 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(); }; class PSText { int x, y; char *s; + char *tag; PSText *next; PSEditWidget *gsew; @@ -80,6 +90,8 @@ public: void append(PSText *g); PSText *get_match(int x1, int y1); char *get_text(); + char *get_tag(); + int set_tag(const char *t); int get_size(); PSText *get_next(); Fl_Color get_color(); |