I'm not sure if this is really an OpenGL question but it so happens I'm seeing it in an OpenGL app so here goes.
I need my OpenGL app to have panels that show project settings and a tools menu but I can't seem to get the OpenGL window class (derived from Fl_Gl_Window) to accept/show anything other than the OpenGL rendered scene. I expected to see something in front of the scene but nothing is drawn. ========================================== OGL_Window *glwindow = new OGL_Window( 0, 0, nWWidth, nWHeight, NULL ); glwindow->end(); glwindow->show( argc, argv ); 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); // I tried not using this line at first because I thought the OGL_Window class would do it automatically. It doesn't work either way. glwindow->add( box ); /* ...OpenGL init and other stuff here ... */ return Fl::run(); =========================================== _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
