summaryrefslogtreecommitdiff
path: root/src/PSEditWidget.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/PSEditWidget.H')
-rw-r--r--src/PSEditWidget.H15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/PSEditWidget.H b/src/PSEditWidget.H
index 689b938..f7cb3f5 100644
--- a/src/PSEditWidget.H
+++ b/src/PSEditWidget.H
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditWidget.H,v 1.16 2005/06/05 19:57:57 hofmann Exp $"
+// "$Id: PSEditWidget.H,v 1.17 2005/06/17 18:20:42 hofmann Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -27,16 +27,22 @@
#include "GsWidget.H"
#include "PSEditModel.H"
+typedef void (PSEditCallback)();
+
class PSText;
class PSEditWidget : public GsWidget {
private:
int cur_size;
+ PSEditColor cur_text_color;
+
int show_tags;
int zoom_percent;
+ PSEditCallback *property_changed_cb;
+
protected:
PSEditModel *model;
@@ -75,6 +81,10 @@ public:
int get_size();
+ void set_color(const PSEditColor *c);
+
+ void get_color(PSEditColor *c);
+
int get_max_pages();
char *get_tag();
@@ -95,6 +105,9 @@ public:
int zoom(int p);
+ void property_changed_callback(PSEditCallback *cb) {
+ property_changed_cb = cb;};
+
private:
int bb_x(PSEditText *t);