Hi,

  I have return to using FLTK for development after a long absence.

  I am building a prototype OpenGL application requiring a user interface 
something like the following diagram.

  I am using FLTK2.

  I started with a plain fltk::Window and added Menu item etc.

  The menu bar shows up with the nested item.

  I then added my subclass GlutWindow but found that my menu bar has 
disappeared.

  Do I need to create some group/container for the GlutWindow so that the 
layout is maintained.

  Is there any example code with similar layout as the diagram below.

+----------------------------------------------------+
|                                                    |
|+--------------------------------------------------+|
|| Menu Bar                                         ||
|+--------------------------------------------------+|
|+----------++---------------------++---------------+|
||Component ||                     ||               ||
|| Tree     ||                     || Slider        ||
|| View     ||                     || and other     ||
||          ||                     || nested        ||
||          ||     GLUT            || UI components ||
||          ||                     ||               ||
||          ||     Window          ||+-----------+  ||
||          ||                     |||           |  ||
||          ||                     |||           |  ||
||          ||                     |||           |  ||
||          ||                     ||+-----------+  ||
||          ||                     ||               ||
||          ||                     ||               ||
|+----------++---------------------++---------------+|
+----------------------------------------------------+

Regards

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

Reply via email to