Author: matt
Date: 2010-12-12 12:06:04 -0800 (Sun, 12 Dec 2010)
New Revision: 8019
Log:
Fluid generates correct Fl_Int_Iput and Fl_Float_Input plus include line. STR 
2476

Modified:
   branches/branch-1.3/fluid/Fl_Widget_Type.cxx

Modified: branches/branch-1.3/fluid/Fl_Widget_Type.cxx
===================================================================
--- branches/branch-1.3/fluid/Fl_Widget_Type.cxx        2010-12-12 19:52:26 UTC 
(rev 8018)
+++ branches/branch-1.3/fluid/Fl_Widget_Type.cxx        2010-12-12 20:06:04 UTC 
(rev 8019)
@@ -67,6 +67,10 @@
     if (c) return c;
     if (l->is_class()) return "Fl_Group";
     if (p->o->type() == FL_WINDOW+1) return "Fl_Double_Window";
+    if (strcmp(p->type_name(), "Fl_Input") == 0) {
+      if (p->o->type() == FL_FLOAT_INPUT) return "Fl_Float_Input";
+      if (p->o->type() == FL_INT_INPUT) return "Fl_Int_Input";
+    }
   }
   return l->type_name();
 }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to