summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-11-04 15:16:24 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-11-04 15:16:24 +0000
commit7f6bacf2374d8e82a31cdbfd8fcf5ff18e97a55b (patch)
treed526ddd1207e9fd9363f56c54039a614e2071959 /fluid/Fl_Type.h
parentd24609eafb56c0c41f0aa72f2b44ee95df6bc2ad (diff)
FLUID1: The comment entry in the Browser now reveals some more information by showing multiple lines up to 50 characters. Also, a change just to make sure our Code View won't harm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 18f6f5303..fe9d65351 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -230,12 +230,14 @@ public:
class Fl_Comment_Type : public Fl_Type {
char in_c_, in_h_, style_;
+ char title_buf[64];
public:
Fl_Type *make();
void write_code1();
void write_code2();
void open();
virtual const char *type_name() {return "comment";}
+ virtual const char *title(); // string for browser
void write_properties();
void read_property(const char *);
virtual int is_public() const { return 1; }