I'm facing a problem using fluid, I'm writing forms for view/edit database
records I want to name the widgets used to show/edit field information
with the same name as the database records, but sometimes those names can
conflict with some parent class field/method names, ideally I want a kind
of namespace for those fields and that can be don using an internal
class/struct without any inheritance.
-------- Done with fluid, the Fl_Input *resize conflict with
Outter::resize(int, int)
class Outter : public Fl_Double_Window {
void _Outter();
public:
Outter(int X, int Y, int W, int H, const char *L = 0);
Outter(int W, int H, const char *L = 0);
Outter();
class InnerAsNamespace {
int innerID;
};
Fl_Input *resize;
};
-----------
Actually fluid allow us to create a class inside a widget class but it
doesn't allow create fields on this inner class with widgets.
Can this problem be solved with another way ?
On Delphi and Lazarus they have the possibility of visual form inheritance.
Thanks in advance for any help !
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk