On 26.02.2010, at 13:25, Domingo Alvarez Duarte wrote:

> Using fluid we can design our user interface visually and fluid generates the 
> c++ code, but it lacks write a constructor without parameters for windows 
> forcing us to rewrite the window size and label again on instantiation.
> 
...

> With this added code fluid now generates a constructor without parameters 
> that uses our assigned design time size and label.
> 
> So instead of:
> 
> MyNewWindow *w = new MyNewWindow(newWidth, newHeight, newLabel);
> 
> we can simply:
> 
> MyNewWindow *w = new MyNewWindow();
> 
> I propose this code to be added to fluid official distribution !
> 
> Thanks for any comments/sugestions !

Thanks for the good suggestion. The code is already added to the code base. 
This has always been nagging me ;-)

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

Reply via email to