[sldev] Hiding or Removing the Menu Bar(containining menu, edit,
view)
alexander treptow
alexander.treptow at zweitgeist.com
Tue Oct 30 01:29:21 PDT 2007
Go to llviewerwindow.cpp to function LLViewerWindow::draw()
and add the following lines before "mRootView->draw()" is called.
LLString *s = new LLString("Menu Holder");
LLView *v = mRootView->getChildByName(*s);
if(v) v->setVisible(FALSE);
This should disable the whole top menu bar.
I m not sure if it works when you put it in the
llviewerwindow::initWorldUI() function
-Alex
More information about the SLDev
mailing list