>
> In FLTK 1, "Fl_Box" is a widget. It draws a box or frame, but has no =
> other function. The FLTK 2 equivalent is "fltk::Widget"
>
> The code you posted looks like fluid code. Are you editing the fluid =
> code manually?=20
> You should never edit the fluid code manually...
>

I opened files fluid in fluid2
Fluid2 not all will transform automatically
After transform in fluid2 21 file corrected further manually
Compilation passes successfully to a meeting with fltk::Widget with which I 
have replaced Fl_Box


[ 63%] Building CXX object CMakeFiles/yoshimi.dir/EnvelopeUI.cxx.o

/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx: In 
constructor ‘EnvelopeFreeEdit::EnvelopeFreeEdit(int, int, int, int, const 
char*)’:
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx:8: Error: 
there is no suitable function for a call ‘fltk::Widget::Widget(int&, int&, 
int&, int&, <unresolved overloaded function type>)’
/usr/include/fltk/Widget.h:56: remark: applicants: fltk::Widget::Widget(int, 
int, int, int, const char*)
/usr/include/fltk/Widget.h:52: remark:              fltk::Widget::Widget(const 
fltk::Widget&)
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx: In 
member function ‘virtual void EnvelopeFreeEdit::draw()’:
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx:65: 
Error: there is no suitable function for a call ‘EnvelopeFreeEdit::color(int, 
int, int)’
/usr/include/fltk/Widget.h:226: remark: applicants: fltk::Color 
fltk::Widget::color() const
/usr/include/fltk/Widget.h:246: remark:              void 
fltk::Widget::color(fltk::Color)
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx:80: 
Error: there is no suitable function for a call ‘EnvelopeFreeEdit::color(int, 
int, int)’
/usr/include/fltk/Widget.h:226: remark: applicants: fltk::Color 
fltk::Widget::color() const
/usr/include/fltk/Widget.h:246: remark:              void 
fltk::Widget::color(fltk::Color)
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx:113: 
Error: there is no suitable function for a call ‘EnvelopeFreeEdit::color(int, 
int, int)’
/usr/include/fltk/Widget.h:226: remark: applicants: fltk::Color 
fltk::Widget::color() const
/usr/include/fltk/Widget.h:246: remark:              void 
fltk::Widget::color(fltk::Color)
/home/user/build/rpms/yoshimi-0.056-2mdv2010.1.src/bin/EnvelopeUI.cxx:119: 
Error: there is no suitable function for a call ‘EnvelopeFreeEdit::draw(char 
[20], int, int, int, int, fltk::<anonymous enum>, NULL, int)’




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

Reply via email to