nanogui: The answer for Writting FLTK'program by c++ format.


Previous by date: 23 Sep 2002 04:40:33 -0000 problem about run microwindows demo program, Wang Jun
Next by date: 23 Sep 2002 04:40:33 -0000 Suggest me Web Browser on Nano-X, P.R. Patil
Previous in thread:
Next in thread:

Subject: The answer for Writting FLTK'program by c++ format.
From: "llin" ####@####.####
Date: 23 Sep 2002 04:40:33 -0000
Message-Id: <008701c262ba$ffeb1230$0400a8c0@YOUCHUANG.local>

Hi.counter.Thank you for help!

  There is the answer in FLTK FAQ.(http://www.fltk.org/faq.php#callback)

----- Original Message -----
From: ####@####.####
To: ####@####.####
Sent: Monday, September 23, 2002 11:51 AM
Subject: RE:: Write FLTK'program by c++ format. Can't compile.


> I found two errors ,and there are  still some errrors about using  widget
pointer .you may not use those pointers such as 'box' in
> click_cb.
> 1
> class F0101{
> public:
>   int F0101_run(int argc,char **argv);
> private:
>   Fl_Window *window;
>   Fl_Box *box;
>   Fl_Input *input;
>   Fl_Button *button;
> file://wrong:  void click_cb(Fl_Widget *, void *);
> file://change to:static  void click_cb(Fl_Button *,void *);
> 2
> --//main.cxx
> #include "F01010.H"
> int main(int argc,char **argv){
>
> file://wrong:  F01010 oF01010;
> file://change to    F0101 oF01010;
>  oF01010.F0101 run(argc,argv);
>
> }
>
> Best Regards
>         counter
>
>

Previous by date: 23 Sep 2002 04:40:33 -0000 problem about run microwindows demo program, Wang Jun
Next by date: 23 Sep 2002 04:40:33 -0000 Suggest me Web Browser on Nano-X, P.R. Patil
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.