diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-10-21 18:12:36 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-10-21 18:12:36 +0000 |
commit | ef1117eb50a9a0e82825e961be8e59d203ebf650 (patch) | |
tree | 796d417f8fb64e63f81e9a8ddb827ac73cb02c94 /src/PSEditModel.cxx | |
parent | 382846248e84c478f713deabbb05a18c1a0d6951 (diff) |
reimplement drawing
reimplement drawing
Diffstat (limited to 'src/PSEditModel.cxx')
-rw-r--r-- | src/PSEditModel.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/PSEditModel.cxx b/src/PSEditModel.cxx index 9e12d7a..81e2bf4 100644 --- a/src/PSEditModel.cxx +++ b/src/PSEditModel.cxx @@ -1,5 +1,5 @@ // -// "$Id: PSEditModel.cxx,v 1.1 2004/10/21 19:55:36 hofmann Exp $" +// "$Id: PSEditModel.cxx,v 1.2 2004/10/21 20:12:36 hofmann Exp $" // // PSEditWidget routines. // @@ -103,6 +103,10 @@ int PSEditModel::set_cur_text(int x1, int y1, int p) { return 1; } +int PSEditModel::is_cur_text(PSEditText *t) { + return (t && t == cur_text); +} + void PSEditModel::append_text(const char *s) { if (cur_text && s) { cur_text->append_text(s); |