summaryrefslogtreecommitdiff
path: root/src/PSEditText.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PSEditText.cxx')
-rw-r--r--src/PSEditText.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/PSEditText.cxx b/src/PSEditText.cxx
index 001f3c1..0231807 100644
--- a/src/PSEditText.cxx
+++ b/src/PSEditText.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditText.cxx,v 1.2 2004/10/21 21:02:05 hofmann Exp $"
+// "$Id: PSEditText.cxx,v 1.3 2005/06/17 18:20:42 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -30,13 +30,14 @@
#include "PSEditText.H"
-PSEditText::PSEditText(int x1, int y1, const char *s1, int size1) {
+PSEditText::PSEditText(int x1, int y1, const char *s1,
+ int size1, PSEditColor *c) {
x = x1;
y = y1;
s = strdup(s1);
tag = NULL;
- c = 0;
size = size1;
+ text_color.set(c->r, c->g, c->b);
next = NULL;
}
@@ -133,10 +134,6 @@ int PSEditText::get_size() {
return size;
}
-int PSEditText::get_color() {
- return c;
-}
-
PSEditText* PSEditText::get_next() {
return next;
}