at the moment this can not be done with a property / XML File, right ?
so I looked into:
/src/GUI/FGPUIMenuBar.cxx
_menuBar is a puMenuBar object.
it is shown or hidden by:
- Code: Select all
_menuBar->reveal();
and
- Code: Select all
_menuBar->hide();
reveal() does not take any X,Y coordinates, but draw(int dx, int dy) does.
I replaced reveal with draw -> no effect, then I removed the line completely:
- Code: Select all
if (_visible)
{
// _menuBar->draw(10,0);
SG_LOG(SG_GENERAL, SG_INFO, " make menubar");
// _menuBar->reveal();
}
else
_menuBar->hide();
..no effect (but I can see my debug output)
I guess I have to search somewhere else.