summaryrefslogtreecommitdiff
path: root/fluid/file.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-01-28 20:51:17 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-01-28 20:51:17 +0000
commitfc22bc93a0b3724c759b9e28fb680d4f0b44376b (patch)
tree273ec97e80dad2f3860fe454a0b24f10b9012f63 /fluid/file.cxx
parent226715d978654145c1a011fe8ebf35431774c33d (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/file.cxx')
-rw-r--r--fluid/file.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 7cc2daac8..0e72e4315 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: file.cxx,v 1.7.2.6.2.7 2002/08/09 22:57:00 easysw Exp $"
+// "$Id: file.cxx,v 1.7.2.6.2.8 2003/01/28 20:51:13 easysw Exp $"
//
// Fluid file routines for the Fast Light Tool Kit (FLTK).
//
@@ -458,6 +458,12 @@ static void read_children(Fl_Type *p, int paste) {
t->name(read_word());
c = read_word(1);
+ if (strcmp(c,"{") && t->is_class()) { // <prefix> <name>
+ ((Fl_Class_Type*)t)->prefix(t->name());
+ t->name(c);
+ c = read_word(1);
+ }
+
if (strcmp(c,"{")) {
read_error("Missing property list for %s\n",t->title());
goto REUSE_C;
@@ -631,5 +637,5 @@ void read_fdesign() {
}
//
-// End of "$Id: file.cxx,v 1.7.2.6.2.7 2002/08/09 22:57:00 easysw Exp $".
+// End of "$Id: file.cxx,v 1.7.2.6.2.8 2003/01/28 20:51:13 easysw Exp $".
//