On 04/21/2010 03:55 AM, Andrew Simpson wrote: > i have soo much trouble is red menu bar is always in the way, is there > code that tell be normal? instead of red bar but theme > In 1.x Viewers, the menu bar color depends on the selected grid (and God-mode). The color values are defined in indra/newview/skins/*/colors_base.xml (default <http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/newview/skins/default/colors_base.xml?rev=2456#L81>, silver <http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/newview/skins/silver/colors_base.xml?rev=2769#L80>). The code to switch the color seems to be at |init_menus()| in indra/newview/llviewermenu.cpp <http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/newview/llviewermenu.cpp?rev=3121#L636> and |LLViewerWindow::setMenuBackgroundColor(|...|)| in indra/newview/llviewerwindow.cpp <http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/newview/llviewerwindow.cpp?rev=3301#L2217>. To change which grids cause a different color you'll probably want to modify LLViewerLogin::isInProductionGrid() <http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/newview/llviewernetwork.cpp?rev=3224#L377>.
I hope this helps. cheers Boroondas
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges