On 22.08.2011, at 08:15, Rajesh Kumar wrote:

> How to make black colour window in fltk2.0

If you have a question that is unrelated to the subject (Re: [fltk.general] 
dynamic gui widgets), please start a new thread. Thank you.

Please not that FLTK2 has never had a final release and has no active support. 
Please consider going with the newest version of FLTK: 1.3.0.

>From memory:

#include <fltk/run.h>
#include <fltk/Window.h>

int main(int argc, char **argv) {
  fltk::Window *win = new fltk::Window(500, 200);
  win->color(fltk::BLACK);
  win->show(argc, argv);
  return fltk::run();
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to