[Insight-users] Doubt in FLTK...

Sentil Balaji profbalse at yahoo . co . in
Wed, 5 Nov 2003 20:55:33 +0000 (GMT)


#include <FL/Fl.h>
#include <FL/Fl_Window.h>
Hey Luis,
     I compiled the following FLTK program but i did
not get the Hello World Displayed , I have the window
popped up though...
    My second doubt , Is it possible to visualise the
same FANCY widgets  in Windows Environment??
-------------------------------------------------------
#include <FL/Fl_Box.h>
int main(int argc, char **argv) {
  Fl_Window *window = new Fl_Window(800,800);
  Fl_Box *box = new Fl_Box(20,40,260,100,"Hello,
World!");
  box->box(FL_UP_BOX);
  box->labelsize(36);
  box->labelfont(FL_BOLD+FL_ITALIC);
  box->labeltype(FL_SHADOW_LABEL);
  window->end();
  window->show(argc, argv);

  return Fl::run();
}
-------------------------------------------------------Awaiting
your reply..
Thanks

Ciao

Cheers
BeeJay



________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in . mobile . yahoo . com