diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:51:17 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:51:17 +0000 |
| commit | fc22bc93a0b3724c759b9e28fb680d4f0b44376b (patch) | |
| tree | 273ec97e80dad2f3860fe454a0b24f10b9012f63 /fluid/Fl_Type.cxx | |
| parent | 226715d978654145c1a011fe8ebf35431774c33d (diff) | |
Support type qualifiers before a class name; this allows for things like
"FL_EXPORT Fl_File_Chooser"...
Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.cxx')
| -rw-r--r-- | fluid/Fl_Type.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index e6be7c8de..eb29400fc 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.cxx,v 1.6.2.6.2.13 2002/11/19 18:41:15 easysw Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.14 2003/01/28 20:51:10 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -726,6 +726,13 @@ void later_cb(Fl_Widget*,void*) { void Fl_Type::write() { write_indent(level); write_word(type_name()); + + if (is_class()) { + const char * p = ((Fl_Class_Type*)this)->prefix(); + if (p && strlen(p)) + write_word(p); + } + write_word(name()); write_open(level); write_properties(); @@ -784,5 +791,5 @@ void Fl_Type::read_property(const char *c) { int Fl_Type::read_fdesign(const char*, const char*) {return 0;} // -// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.13 2002/11/19 18:41:15 easysw Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.14 2003/01/28 20:51:10 easysw Exp $". // |
