[opensource-dev] reb menu bar

Boroondas Gupte sllists at boroon.dasgupta.ch
Wed Apr 21 04:52:13 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100421/e0c3ec44/attachment.htm 


More information about the opensource-dev mailing list