aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-17 01:24:37 -0600
committerJacek Antonelli2008-12-17 01:24:37 -0600
commita3b0b6c299f791b3d8132d36a3d4c1790aea86b1 (patch)
tree07d9080e0f71845fdf07f666907422b2fe6c4a3f /linden/indra
parentUse NType to find inventory icon name (part 2 of 2). (diff)
parentVWR-1582: Local ruler mode wrong for linked objects. (diff)
downloadmeta-impy-a3b0b6c299f791b3d8132d36a3d4c1790aea86b1.zip
meta-impy-a3b0b6c299f791b3d8132d36a3d4c1790aea86b1.tar.gz
meta-impy-a3b0b6c299f791b3d8132d36a3d4c1790aea86b1.tar.bz2
meta-impy-a3b0b6c299f791b3d8132d36a3d4c1790aea86b1.tar.xz
Merge 1.1.0 alpha into quickfilter
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llsecondlifeurls.cpp2
-rw-r--r--linden/indra/llcommon/llversionviewer.h3
-rw-r--r--linden/indra/newview/app_settings/settings.xml32
-rw-r--r--linden/indra/newview/llappviewer.cpp7
-rw-r--r--linden/indra/newview/llcolorscheme.cpp5
-rw-r--r--linden/indra/newview/llcolorscheme.h2
-rw-r--r--linden/indra/newview/llfloaterabout.cpp19
-rw-r--r--linden/indra/newview/llfloatergroupinvite.cpp20
-rw-r--r--linden/indra/newview/llfloatergroupinvite.h6
-rw-r--r--linden/indra/newview/llfloaterhtmlhelp.cpp38
-rw-r--r--linden/indra/newview/llfloaterhtmlhelp.h3
-rw-r--r--linden/indra/newview/llfloaterinspect.cpp5
-rw-r--r--linden/indra/newview/llnetmap.cpp7
-rw-r--r--linden/indra/newview/llnetmap.h3
-rw-r--r--linden/indra/newview/llpanellogin.cpp13
-rw-r--r--linden/indra/newview/llpanellogin.h1
-rw-r--r--linden/indra/newview/llselectmgr.cpp7
-rw-r--r--linden/indra/newview/llstartup.cpp4
-rw-r--r--linden/indra/newview/llurlhistory.cpp14
-rw-r--r--linden/indra/newview/llviewermenu.cpp17
-rw-r--r--linden/indra/newview/llviewernetwork.cpp39
-rw-r--r--linden/indra/newview/llviewerregion.cpp4
-rw-r--r--linden/indra/newview/llviewerwindow.cpp2
-rw-r--r--linden/indra/newview/llworld.cpp9
-rw-r--r--linden/indra/newview/llworldmapview.cpp8
-rw-r--r--linden/indra/newview/llworldmapview.h2
-rw-r--r--linden/indra/newview/pipeline.cpp2
-rw-r--r--linden/indra/newview/skins/default/colors_base.xml319
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml8
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml8
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_login.xml66
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml17
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notify.xml9
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_groups.xml8
-rw-r--r--linden/indra/newview/skins/silver/colors_base.xml384
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py99
36 files changed, 712 insertions, 480 deletions
diff --git a/linden/indra/llcommon/llsecondlifeurls.cpp b/linden/indra/llcommon/llsecondlifeurls.cpp
index ee478fe..b006a6a 100644
--- a/linden/indra/llcommon/llsecondlifeurls.cpp
+++ b/linden/indra/llcommon/llsecondlifeurls.cpp
@@ -84,4 +84,4 @@ const std::string SL_KB_URL (
84 "http://secondlife.com/knowledgebase/"); 84 "http://secondlife.com/knowledgebase/");
85 85
86const std::string RELEASE_NOTES_BASE_URL ( 86const std::string RELEASE_NOTES_BASE_URL (
87 "http://secondlife.com/app/releasenotes/"); 87 "http://imprudenceviewer.org/wiki/Release_Notes/");
diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h
index bc42359..4032c5b 100644
--- a/linden/indra/llcommon/llversionviewer.h
+++ b/linden/indra/llcommon/llversionviewer.h
@@ -43,7 +43,8 @@ const char * const LL_VIEWER_NAME = "Second Life";
43const char * const IMP_VIEWER_NAME = "Imprudence"; 43const char * const IMP_VIEWER_NAME = "Imprudence";
44 44
45const S32 IMP_VERSION_MAJOR = 1; 45const S32 IMP_VERSION_MAJOR = 1;
46const S32 IMP_VERSION_MINOR = 0; 46const S32 IMP_VERSION_MINOR = 1;
47const S32 IMP_VERSION_PATCH = 0; 47const S32 IMP_VERSION_PATCH = 0;
48const char * const IMP_VERSION_TEST = "alpha";
48 49
49#endif 50#endif
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 1d2da46..ca3dd81 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -664,27 +664,38 @@
664 <integer>0</integer> 664 <integer>0</integer>
665 </array> 665 </array>
666 </map> 666 </map>
667 <key>BeaconAlwaysOn</key> 667 <key>BeaconsEnabled</key>
668 <map> 668 <map>
669 <key>Comment</key> 669 <key>Comment</key>
670 <string>Beacons / highlighting always on</string> 670 <string>Beacons / highlighting always on</string>
671 <key>Persist</key> 671 <key>Persist</key>
672 <integer>1</integer> 672 <integer>0</integer>
673 <key>Type</key> 673 <key>Type</key>
674 <string>Boolean</string> 674 <string>Boolean</string>
675 <key>Value</key> 675 <key>Value</key>
676 <integer>0</integer> 676 <integer>0</integer>
677 </map> 677 </map>
678 <key>BrowserHomePage</key> 678 <key>BrowserHome</key>
679 <map> 679 <map>
680 <key>Comment</key> 680 <key>Comment</key>
681 <string>[NOT USED]</string> 681 <string>Inworld browser home page</string>
682 <key>Persist</key> 682 <key>Persist</key>
683 <integer>1</integer> 683 <integer>1</integer>
684 <key>Type</key> 684 <key>Type</key>
685 <string>String</string> 685 <string>String</string>
686 <key>Value</key> 686 <key>Value</key>
687 <string>http://www.secondlife.com</string> 687 <string>http://www.imprudenceviewer.org</string>
688 </map>
689 <key>BrowserLastVisited</key>
690 <map>
691 <key>Comment</key>
692 <string>Last visited page</string>
693 <key>Persist</key>
694 <integer>0</integer>
695 <key>Type</key>
696 <string>String</string>
697 <key>Value</key>
698 <string></string>
688 </map> 699 </map>
689 <key>BlockAvatarAppearanceMessages</key> 700 <key>BlockAvatarAppearanceMessages</key>
690 <map> 701 <map>
@@ -6676,6 +6687,17 @@
6676 <key>Value</key> 6687 <key>Value</key>
6677 <integer>0</integer> 6688 <integer>0</integer>
6678 </map> 6689 </map>
6690 <key>SelectCopyableOnly</key>
6691 <map>
6692 <key>Comment</key>
6693 <string>Select only objects you can copy</string>
6694 <key>Persist</key>
6695 <integer>1</integer>
6696 <key>Type</key>
6697 <string>Boolean</string>
6698 <key>Value</key>
6699 <integer>0</integer>
6700 </map>
6679 <key>SelectOwnedOnly</key> 6701 <key>SelectOwnedOnly</key>
6680 <map> 6702 <map>
6681 <key>Comment</key> 6703 <key>Comment</key>
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 243a9d8..14214b5 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -602,11 +602,12 @@ bool LLAppViewer::init()
602 writeSystemInfo(); 602 writeSystemInfo();
603 603
604 // Build a string representing the current version number. 604 // Build a string representing the current version number.
605 gCurrentVersion = llformat("%s %d.%d.%d / %s %d.%d.%d.%d", 605 gCurrentVersion = llformat("%s %d.%d.%d %s / %s %d.%d.%d.%d",
606 gSavedSettings.getString("VersionChannelName").c_str(), 606 gSavedSettings.getString("VersionChannelName").c_str(),
607 IMP_VERSION_MAJOR, 607 IMP_VERSION_MAJOR,
608 IMP_VERSION_MINOR, 608 IMP_VERSION_MINOR,
609 IMP_VERSION_PATCH, 609 IMP_VERSION_PATCH,
610 IMP_VERSION_TEST,
610 LL_VIEWER_NAME, 611 LL_VIEWER_NAME,
611 LL_VERSION_MAJOR, 612 LL_VERSION_MAJOR,
612 LL_VERSION_MINOR, 613 LL_VERSION_MINOR,
@@ -2247,6 +2248,7 @@ void LLAppViewer::writeSystemInfo()
2247 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; 2248 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2248 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; 2249 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2249 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; 2250 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2251 gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST;
2250 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2252 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2251 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2253 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2252 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2254 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;
@@ -2330,6 +2332,7 @@ void LLAppViewer::handleViewerCrash()
2330 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; 2332 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2331 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; 2333 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2332 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; 2334 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2335 gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST;
2333 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2336 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2334 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2337 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2335 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2338 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;
diff --git a/linden/indra/newview/llcolorscheme.cpp b/linden/indra/newview/llcolorscheme.cpp
index ef8b4a8..460f1a2 100644
--- a/linden/indra/newview/llcolorscheme.cpp
+++ b/linden/indra/newview/llcolorscheme.cpp
@@ -37,8 +37,6 @@
37 37
38LLColor4 gTrackColor; 38LLColor4 gTrackColor;
39LLColor4 gSelfMapColor; 39LLColor4 gSelfMapColor;
40LLColor4 gAvatarMapColor;
41LLColor4 gFriendMapColor;
42LLColor4 gLandmarkMapColor; 40LLColor4 gLandmarkMapColor;
43LLColor4 gLocationMapColor; 41LLColor4 gLocationMapColor;
44LLColor4 gTelehubMapColor; 42LLColor4 gTelehubMapColor;
@@ -56,8 +54,7 @@ void init_colors()
56 gDisabledTrackColor.setVec( 0.5f, 0.f, 0.f, 1.f ); 54 gDisabledTrackColor.setVec( 0.5f, 0.f, 0.f, 1.f );
57 55
58 gSelfMapColor = LLColor4::white; 56 gSelfMapColor = LLColor4::white;
59 gAvatarMapColor = LLColor4::green; 57
60 gFriendMapColor = LLColor4::yellow;
61 // fleshy color 58 // fleshy color
62 //gAvatarMapColor.setVec( 255.f/255.f, 223.f/255.f, 170.f/255.f, 1.f); 59 //gAvatarMapColor.setVec( 255.f/255.f, 223.f/255.f, 170.f/255.f, 1.f);
63 60
diff --git a/linden/indra/newview/llcolorscheme.h b/linden/indra/newview/llcolorscheme.h
index e772b11..bf1e053 100644
--- a/linden/indra/newview/llcolorscheme.h
+++ b/linden/indra/newview/llcolorscheme.h
@@ -36,8 +36,6 @@
36 36
37extern LLColor4 gTrackColor; 37extern LLColor4 gTrackColor;
38extern LLColor4 gSelfMapColor; 38extern LLColor4 gSelfMapColor;
39extern LLColor4 gAvatarMapColor;
40extern LLColor4 gFriendMapColor;
41extern LLColor4 gLandmarkMapColor; 39extern LLColor4 gLandmarkMapColor;
42extern LLColor4 gLocationMapColor; 40extern LLColor4 gLocationMapColor;
43extern LLColor4 gTelehubMapColor; 41extern LLColor4 gTelehubMapColor;
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index 4704c5b..af436c5 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -110,9 +110,9 @@ LLFloaterAbout::LLFloaterAbout()
110 110
111 // Version string 111 // Version string
112 std::string version = llformat( 112 std::string version = llformat(
113 "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", 113 "%s %d.%d.%d %s / %s %d.%d.%d (%d), %s %s\n",
114 IMP_VIEWER_NAME, 114 IMP_VIEWER_NAME,
115 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, 115 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, IMP_VERSION_TEST,
116 LL_VIEWER_NAME, 116 LL_VIEWER_NAME,
117 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, 117 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD,
118 __DATE__, __TIME__); 118 __DATE__, __TIME__);
@@ -262,17 +262,16 @@ void LLFloaterAbout::show(void*)
262static std::string get_viewer_release_notes_url() 262static std::string get_viewer_release_notes_url()
263{ 263{
264 std::ostringstream version; 264 std::ostringstream version;
265 version << LL_VERSION_MAJOR << "." 265 version << IMP_VERSION_MAJOR << "."
266 << LL_VERSION_MINOR << "." 266 << IMP_VERSION_MINOR << "."
267 << LL_VERSION_PATCH << "." 267 << IMP_VERSION_PATCH;
268 << LL_VERSION_BUILD;
269 268
270 LLSD query; 269 // Append the test version if it's not empty
271 query["channel"] = gSavedSettings.getString("VersionChannelName"); 270 if( strcmp(IMP_VERSION_TEST, "") != 0 )
272 query["version"] = version.str(); 271 version << "-" << IMP_VERSION_TEST;
273 272
274 std::ostringstream url; 273 std::ostringstream url;
275 url << RELEASE_NOTES_BASE_URL << LLURI::mapToQueryString(query); 274 url << RELEASE_NOTES_BASE_URL << version.str();
276 275
277 return url.str(); 276 return url.str();
278} 277}
diff --git a/linden/indra/newview/llfloatergroupinvite.cpp b/linden/indra/newview/llfloatergroupinvite.cpp
index 643abf7..1644050 100644
--- a/linden/indra/newview/llfloatergroupinvite.cpp
+++ b/linden/indra/newview/llfloatergroupinvite.cpp
@@ -34,7 +34,7 @@
34#include "llfloatergroupinvite.h" 34#include "llfloatergroupinvite.h"
35#include "llpanelgroupinvite.h" 35#include "llpanelgroupinvite.h"
36 36
37const char FLOATER_TITLE[] = "Group Invitation"; 37const char FLOATER_TITLE[] = "Invite to ";
38const LLRect FGI_RECT(0, 380, 210, 0); 38const LLRect FGI_RECT(0, 380, 210, 0);
39 39
40class LLFloaterGroupInvite::impl 40class LLFloaterGroupInvite::impl
@@ -132,6 +132,11 @@ void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, std::vector<LLUU
132 group_id); 132 group_id);
133 133
134 impl::sInstances[group_id] = fgi; 134 impl::sInstances[group_id] = fgi;
135
136 // Look up the group name.
137 // The callback will insert it into the title.
138 const BOOL is_group = TRUE;
139 gCacheName->get(group_id, is_group, callbackLoadGroupName, NULL);
135 140
136 fgi->mImpl->mInvitePanelp->clear(); 141 fgi->mImpl->mInvitePanelp->clear();
137 } 142 }
@@ -145,3 +150,16 @@ void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, std::vector<LLUU
145 fgi->open(); /*Flawfinder: ignore*/ 150 fgi->open(); /*Flawfinder: ignore*/
146 fgi->mImpl->mInvitePanelp->update(); 151 fgi->mImpl->mInvitePanelp->update();
147} 152}
153
154void LLFloaterGroupInvite::callbackLoadGroupName(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group, void* data)
155{
156 LLFloaterGroupInvite *fgi = get_if_there(impl::sInstances, id, (LLFloaterGroupInvite*)NULL);
157
158 if (fgi)
159 {
160 // Build a new title including the group name.
161 std::ostringstream title;
162 title << FLOATER_TITLE << first;
163 fgi->setTitle(title.str());
164 }
165}
diff --git a/linden/indra/newview/llfloatergroupinvite.h b/linden/indra/newview/llfloatergroupinvite.h
index 621b5dd..96b9161 100644
--- a/linden/indra/newview/llfloatergroupinvite.h
+++ b/linden/indra/newview/llfloatergroupinvite.h
@@ -52,6 +52,12 @@ protected:
52 52
53 class impl; 53 class impl;
54 impl* mImpl; 54 impl* mImpl;
55private:
56 static void callbackLoadGroupName(const LLUUID& id,
57 const std::string& first,
58 const std::string& last,
59 BOOL is_group,
60 void* data);
55}; 61};
56 62
57#endif 63#endif
diff --git a/linden/indra/newview/llfloaterhtmlhelp.cpp b/linden/indra/newview/llfloaterhtmlhelp.cpp
index d6d249e..7fe4d59 100644
--- a/linden/indra/newview/llfloaterhtmlhelp.cpp
+++ b/linden/indra/newview/llfloaterhtmlhelp.cpp
@@ -58,7 +58,9 @@ LLFloaterMediaBrowser::LLFloaterMediaBrowser(const LLSD& media_data)
58 58
59void LLFloaterMediaBrowser::draw() 59void LLFloaterMediaBrowser::draw()
60{ 60{
61 childSetEnabled("go", !mAddressCombo->getValue().asString().empty()); 61 BOOL url_exists = !mAddressCombo->getValue().asString().empty();
62 childSetEnabled("go", url_exists);
63 childSetEnabled("set_home", url_exists);
62 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); 64 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
63 if(parcel) 65 if(parcel)
64 { 66 {
@@ -84,6 +86,8 @@ BOOL LLFloaterMediaBrowser::postBuild()
84 childSetAction("close", onClickClose, this); 86 childSetAction("close", onClickClose, this);
85 childSetAction("open_browser", onClickOpenWebBrowser, this); 87 childSetAction("open_browser", onClickOpenWebBrowser, this);
86 childSetAction("assign", onClickAssign, this); 88 childSetAction("assign", onClickAssign, this);
89 childSetAction("home", onClickHome, this);
90 childSetAction("set_home", onClickSetHome, this);
87 91
88 buildURLHistory(); 92 buildURLHistory();
89 return TRUE; 93 return TRUE;
@@ -146,6 +150,7 @@ void LLFloaterMediaBrowser::onLocationChange( const EventType& eventIn )
146 childSetEnabled("back", mBrowser->canNavigateBack()); 150 childSetEnabled("back", mBrowser->canNavigateBack());
147 childSetEnabled("forward", mBrowser->canNavigateForward()); 151 childSetEnabled("forward", mBrowser->canNavigateForward());
148 childSetEnabled("reload", TRUE); 152 childSetEnabled("reload", TRUE);
153 gSavedSettings.setString("BrowserLastVisited", truncated_url);
149} 154}
150 155
151LLFloaterMediaBrowser* LLFloaterMediaBrowser::showInstance(const LLSD& media_url) 156LLFloaterMediaBrowser* LLFloaterMediaBrowser::showInstance(const LLSD& media_url)
@@ -156,6 +161,14 @@ LLFloaterMediaBrowser* LLFloaterMediaBrowser::showInstance(const LLSD& media_url
156 return floaterp; 161 return floaterp;
157} 162}
158 163
164void LLFloaterMediaBrowser::show()
165{
166 //Show home url if new session, last visited if not
167 std::string last_url = gSavedSettings.getString("BrowserLastVisited");
168 if(last_url.empty())
169 last_url = gSavedSettings.getString("BrowserHome");
170 showInstance(last_url);
171}
159//static 172//static
160void LLFloaterMediaBrowser::onEnterAddress(LLUICtrl* ctrl, void* user_data) 173void LLFloaterMediaBrowser::onEnterAddress(LLUICtrl* ctrl, void* user_data)
161{ 174{
@@ -238,6 +251,29 @@ void LLFloaterMediaBrowser::onClickAssign(void* user_data)
238 251
239} 252}
240 253
254void LLFloaterMediaBrowser::onClickHome(void* user_data)
255{
256 LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data;
257 if (self)
258 {
259 if (self->mBrowser)
260 {
261 std::string home_url = gSavedSettings.getString("BrowserHome");
262 self->mBrowser->navigateTo(home_url);
263 }
264 }
265}
266
267void LLFloaterMediaBrowser::onClickSetHome(void* user_data)
268{
269 LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data;
270 std::string url = self->mCurrentURL;
271 if(!url.empty())
272 {
273 gSavedSettings.setString("BrowserHome", url);
274 }
275}
276
241void LLFloaterMediaBrowser::openMedia(const std::string& media_url) 277void LLFloaterMediaBrowser::openMedia(const std::string& media_url)
242{ 278{
243 mBrowser->setHomePageUrl(media_url); 279 mBrowser->setHomePageUrl(media_url);
diff --git a/linden/indra/newview/llfloaterhtmlhelp.h b/linden/indra/newview/llfloaterhtmlhelp.h
index 7257566..d726b77 100644
--- a/linden/indra/newview/llfloaterhtmlhelp.h
+++ b/linden/indra/newview/llfloaterhtmlhelp.h
@@ -65,6 +65,7 @@ public:
65 void buildURLHistory(); 65 void buildURLHistory();
66 66
67 static LLFloaterMediaBrowser* showInstance(const LLSD& id); 67 static LLFloaterMediaBrowser* showInstance(const LLSD& id);
68 static void show();
68 static void onEnterAddress(LLUICtrl* ctrl, void* user_data); 69 static void onEnterAddress(LLUICtrl* ctrl, void* user_data);
69 static void onClickRefresh(void* user_data); 70 static void onClickRefresh(void* user_data);
70 static void onClickBack(void* user_data); 71 static void onClickBack(void* user_data);
@@ -73,6 +74,8 @@ public:
73 static void onClickClose(void* user_data); 74 static void onClickClose(void* user_data);
74 static void onClickOpenWebBrowser(void* user_data); 75 static void onClickOpenWebBrowser(void* user_data);
75 static void onClickAssign(void* user_data); 76 static void onClickAssign(void* user_data);
77 static void onClickHome(void* user_data);
78 static void onClickSetHome(void* user_data);
76 79
77private: 80private:
78 LLWebBrowserCtrl* mBrowser; 81 LLWebBrowserCtrl* mBrowser;
diff --git a/linden/indra/newview/llfloaterinspect.cpp b/linden/indra/newview/llfloaterinspect.cpp
index d308210..8a665b5 100644
--- a/linden/indra/newview/llfloaterinspect.cpp
+++ b/linden/indra/newview/llfloaterinspect.cpp
@@ -206,8 +206,9 @@ void LLFloaterInspect::refresh()
206 mObjectList->operateOnAll(LLScrollListCtrl::OP_DELETE); 206 mObjectList->operateOnAll(LLScrollListCtrl::OP_DELETE);
207 //List all transient objects, then all linked objects 207 //List all transient objects, then all linked objects
208 208
209 for (LLObjectSelection::iterator iter = mObjectSelection->begin(); 209 //Crash fix for VWR-10823
210 iter != mObjectSelection->end(); iter++) 210 for (LLObjectSelection::valid_iterator iter = mObjectSelection->valid_begin();
211 iter != mObjectSelection->valid_end(); iter++)
211 { 212 {
212 LLSelectNode* obj = *iter; 213 LLSelectNode* obj = *iter;
213 LLSD row; 214 LLSD row;
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp
index b277998..22dee9d 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -69,7 +69,7 @@
69 69
70#include "llglheaders.h" 70#include "llglheaders.h"
71 71
72const F32 MAP_SCALE_MIN = 64; 72const F32 MAP_SCALE_MIN = 32;
73const F32 MAP_SCALE_MID = 172; 73const F32 MAP_SCALE_MID = 172;
74const F32 MAP_SCALE_MAX = 512; 74const F32 MAP_SCALE_MAX = 512;
75const F32 MAP_SCALE_INCREMENT = 16; 75const F32 MAP_SCALE_INCREMENT = 16;
@@ -97,6 +97,9 @@ LLNetMap::LLNetMap(
97 mPixelsPerMeter = gMiniMapScale / REGION_WIDTH_METERS; 97 mPixelsPerMeter = gMiniMapScale / REGION_WIDTH_METERS;
98 98
99 LLNetMap::sRotateMap = gSavedSettings.getBOOL( "MiniMapRotate" ); 99 LLNetMap::sRotateMap = gSavedSettings.getBOOL( "MiniMapRotate" );
100
101 glyph_color_avatar = gColors.getColor("NetMapGlyphColorAvatar");
102 glyph_color_friend = gColors.getColor("NetMapGlyphColorFriend");
100 103
101 // Surface texture is dynamically generated/updated. 104 // Surface texture is dynamically generated/updated.
102// createObjectImage(); 105// createObjectImage();
@@ -411,7 +414,7 @@ void LLNetMap::draw()
411 } 414 }
412 LLWorldMapView::drawAvatar( 415 LLWorldMapView::drawAvatar(
413 pos_map.mV[VX], pos_map.mV[VY], 416 pos_map.mV[VX], pos_map.mV[VY],
414 show_as_friend ? gFriendMapColor : gAvatarMapColor, 417 show_as_friend ? glyph_color_friend : glyph_color_avatar,
415 pos_map.mV[VZ]); 418 pos_map.mV[VZ]);
416 } 419 }
417 } 420 }
diff --git a/linden/indra/newview/llnetmap.h b/linden/indra/newview/llnetmap.h
index 3fb20cc..91027c5 100644
--- a/linden/indra/newview/llnetmap.h
+++ b/linden/indra/newview/llnetmap.h
@@ -84,7 +84,10 @@ protected:
84 84
85public: 85public:
86 LLHandle<LLView> mPopupMenuHandle; 86 LLHandle<LLView> mPopupMenuHandle;
87
87 LLColor4 mBackgroundColor; 88 LLColor4 mBackgroundColor;
89 LLColor4 glyph_color_avatar;
90 LLColor4 glyph_color_friend;
88 91
89 F32 mScale; // Size of a region in pixels 92 F32 mScale; // Size of a region in pixels
90 F32 mPixelsPerMeter; // world meters to map pixels 93 F32 mPixelsPerMeter; // world meters to map pixels
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 09e2cee..a495516 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -360,10 +360,11 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
360 // childSetAction("quit_btn", onClickQuit, this); 360 // childSetAction("quit_btn", onClickQuit, this);
361 361
362 std::string imp_channel = gSavedSettings.getString("VersionChannelName"); 362 std::string imp_channel = gSavedSettings.getString("VersionChannelName");
363 std::string imp_version = llformat("%d.%d.%d", 363 std::string imp_version = llformat("%d.%d.%d %s",
364 IMP_VERSION_MAJOR, 364 IMP_VERSION_MAJOR,
365 IMP_VERSION_MINOR, 365 IMP_VERSION_MINOR,
366 IMP_VERSION_PATCH ); 366 IMP_VERSION_PATCH,
367 IMP_VERSION_TEST );
367 368
368 std::string ll_channel = LL_VIEWER_NAME; 369 std::string ll_channel = LL_VIEWER_NAME;
369 std::string ll_version = llformat("%d.%d.%d (%d)", 370 std::string ll_version = llformat("%d.%d.%d (%d)",
@@ -711,6 +712,14 @@ void LLPanelLogin::addServer(const std::string& server, S32 domain_name)
711 combo->setCurrentByIndex(0); 712 combo->setCurrentByIndex(0);
712} 713}
713 714
715
716// static
717void LLPanelLogin::setServer(S32 domain_name)
718{
719 LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo");
720 combo->setCurrentByIndex(domain_name);
721}
722
714// static 723// static
715void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, 724void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password,
716 BOOL &remember) 725 BOOL &remember)
diff --git a/linden/indra/newview/llpanellogin.h b/linden/indra/newview/llpanellogin.h
index 539997b..78b0a22 100644
--- a/linden/indra/newview/llpanellogin.h
+++ b/linden/indra/newview/llpanellogin.h
@@ -87,6 +87,7 @@ public:
87 const std::string& password, BOOL remember); 87 const std::string& password, BOOL remember);
88 88
89 static void addServer(const std::string& server, S32 domain_name); 89 static void addServer(const std::string& server, S32 domain_name);
90 static void setServer(S32 domain_name);
90 static void refreshLocation( bool force_visible ); 91 static void refreshLocation( bool force_visible );
91 92
92 static void getFields(std::string& firstname, std::string& lastname, 93 static void getFields(std::string& firstname, std::string& lastname,
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp
index 2e4983c..7547dd2 100644
--- a/linden/indra/newview/llselectmgr.cpp
+++ b/linden/indra/newview/llselectmgr.cpp
@@ -5499,6 +5499,10 @@ void LLSelectMgr::updateSelectionCenter()
5499 5499
5500 std::vector < LLViewerObject *> jointed_objects; 5500 std::vector < LLViewerObject *> jointed_objects;
5501 5501
5502 // Initialize the bounding box to the root prim, so the BBox orientation
5503 // matches the root prim's (affecting the orientation of the manipulators).
5504 bbox.addBBoxAgent( (mSelectedObjects->getFirstRootObject(TRUE))->getBoundingBoxAgent() );
5505
5502 for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); 5506 for (LLObjectSelection::iterator iter = mSelectedObjects->begin();
5503 iter != mSelectedObjects->end(); iter++) 5507 iter != mSelectedObjects->end(); iter++)
5504 { 5508 {
@@ -5745,7 +5749,8 @@ BOOL LLSelectMgr::canSelectObject(LLViewerObject* object)
5745 } 5749 }
5746 5750
5747 if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) || 5751 if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) ||
5748 (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove())) 5752 (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove()) ||
5753 (gSavedSettings.getBOOL("SelectCopyableOnly") && !object->permCopy()))
5749 { 5754 {
5750 // only select my own objects 5755 // only select my own objects
5751 return FALSE; 5756 return FALSE;
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 625b1d8..6371f2b 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -2458,14 +2458,14 @@ void login_show()
2458 // UI textures have been previously loaded in doPreloadImages() 2458 // UI textures have been previously loaded in doPreloadImages()
2459 2459
2460 LL_DEBUGS("AppInit") << "Setting Servers" << LL_ENDL; 2460 LL_DEBUGS("AppInit") << "Setting Servers" << LL_ENDL;
2461 2461 LL_INFOS("AppInit") << "getGridChoice is " << LLViewerLogin::getInstance()->getGridChoice() << LL_ENDL;
2462 LLPanelLogin::addServer(LLViewerLogin::getInstance()->getGridLabel(), LLViewerLogin::getInstance()->getGridChoice());
2463 2462
2464 LLViewerLogin* vl = LLViewerLogin::getInstance(); 2463 LLViewerLogin* vl = LLViewerLogin::getInstance();
2465 for(int grid_index = GRID_INFO_NONE + 1; grid_index < GRID_INFO_OTHER; ++grid_index) 2464 for(int grid_index = GRID_INFO_NONE + 1; grid_index < GRID_INFO_OTHER; ++grid_index)
2466 { 2465 {
2467 LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index); 2466 LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index);
2468 } 2467 }
2468 LLPanelLogin::setServer(LLViewerLogin::getInstance()->getGridChoice()-1);
2469} 2469}
2470 2470
2471// Callback for when login screen is closed. Option 0 = connect, option 1 = quit. 2471// Callback for when login screen is closed. Option 0 = connect, option 1 = quit.
diff --git a/linden/indra/newview/llurlhistory.cpp b/linden/indra/newview/llurlhistory.cpp
index ac3fa93..c10add4 100644
--- a/linden/indra/newview/llurlhistory.cpp
+++ b/linden/indra/newview/llurlhistory.cpp
@@ -72,9 +72,17 @@ bool LLURLHistory::loadFile(const std::string& filename)
72 72
73// static 73// static
74bool LLURLHistory::saveFile(const std::string& filename) 74bool LLURLHistory::saveFile(const std::string& filename)
75{ 75{
76 std::string temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); 76 std::string temp_str = gDirUtilp->getLindenUserDir();
77 llofstream out((temp_str + filename)); 77 if( temp_str.empty() )
78 {
79 llwarns << "Can't save " << filename
80 << ": No user directory set." << llendl;
81 return false;
82 }
83
84 temp_str += gDirUtilp->getDirDelimiter() + filename;
85 llofstream out(temp_str);
78 if (!out.good()) 86 if (!out.good())
79 { 87 {
80 llwarns << "Unable to open " << filename << " for output." << llendl; 88 llwarns << "Unable to open " << filename << " for output." << llendl;
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 5e67712..3bf390e 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -5305,6 +5305,10 @@ class LLShowFloater : public view_listener_t
5305 { 5305 {
5306 LLFloaterActiveSpeakers::toggleInstance(LLSD()); 5306 LLFloaterActiveSpeakers::toggleInstance(LLSD());
5307 } 5307 }
5308 else if (floater_name == "inworld browser")
5309 {
5310 LLFloaterMediaBrowser::show();
5311 }
5308 return true; 5312 return true;
5309 } 5313 }
5310}; 5314};
@@ -6714,6 +6718,18 @@ class LLToolsSelectOnlyMovableObjects : public view_listener_t
6714 } 6718 }
6715}; 6719};
6716 6720
6721class LLToolsSelectOnlyCopyableObjects : public view_listener_t
6722{
6723 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
6724 {
6725 BOOL cur_val = gSavedSettings.getBOOL("SelectCopyableOnly");
6726
6727 gSavedSettings.setBOOL("SelectCopyableOnly", ! cur_val );
6728
6729 return true;
6730 }
6731};
6732
6717class LLToolsSelectBySurrounding : public view_listener_t 6733class LLToolsSelectBySurrounding : public view_listener_t
6718{ 6734{
6719 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6735 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -9829,6 +9845,7 @@ void initialize_menus()
9829 addMenu(new LLToolsSelectTool(), "Tools.SelectTool"); 9845 addMenu(new LLToolsSelectTool(), "Tools.SelectTool");
9830 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); 9846 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects");
9831 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); 9847 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects");
9848 addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects");
9832 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); 9849 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding");
9833 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); 9850 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection");
9834 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); 9851 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius");
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp
index c8cffcf..9019b88 100644
--- a/linden/indra/newview/llviewernetwork.cpp
+++ b/linden/indra/newview/llviewernetwork.cpp
@@ -110,34 +110,34 @@ void LLViewerLogin::setGridChoice(const std::string& grid_name)
110 // The string can be: 110 // The string can be:
111 // - a grid label from the gGridInfo table 111 // - a grid label from the gGridInfo table
112 // - an ip address 112 // - an ip address
113 if(!grid_name.empty()) 113 if(!grid_name.empty())
114 { 114 {
115 // find the grid choice from the user setting. 115 // find the grid choice from the user setting.
116 int grid_index = GRID_INFO_NONE; 116 int grid_index = GRID_INFO_NONE;
117 for(;grid_index < GRID_INFO_OTHER; ++grid_index) 117 for(;grid_index < GRID_INFO_OTHER; ++grid_index)
118 { 118 {
119 if(0 == LLStringUtil::compareInsensitive(gGridInfo[grid_index].mLabel, grid_name)) 119 if(0 == LLStringUtil::compareInsensitive(gGridInfo[grid_index].mLabel, grid_name))
120 { 120 {
121 // Founding a matching label in the list... 121 // Founding a matching label in the list...
122 setGridChoice((EGridInfo)grid_index); 122 setGridChoice((EGridInfo)grid_index);
123 break; 123 break;
124 } 124 }
125 } 125 }
126 126
127 if(GRID_INFO_OTHER == grid_index) 127 if(GRID_INFO_OTHER == grid_index)
128 { 128 {
129 // *FIX:MEP Can and should we validate that this is an IP address? 129 // *FIX:MEP Can and should we validate that this is an IP address?
130 mGridChoice = GRID_INFO_OTHER; 130 mGridChoice = GRID_INFO_OTHER;
131 mGridName = grid_name; 131 mGridName = grid_name;
132 gSavedSettings.setS32("ServerChoice", mGridChoice); 132 gSavedSettings.setS32("ServerChoice", mGridChoice);
133 gSavedSettings.setString("CustomServer", mGridName); 133 gSavedSettings.setString("CustomServer", mGridName);
134 } 134 }
135 } 135 }
136} 136}
137 137
138void LLViewerLogin::resetURIs() 138void LLViewerLogin::resetURIs()
139{ 139{
140 // Clear URIs when picking a new server 140 // Clear URIs when picking a new server
141 gSavedSettings.setValue("CmdLineLoginURI", LLSD::emptyArray()); 141 gSavedSettings.setValue("CmdLineLoginURI", LLSD::emptyArray());
142 gSavedSettings.setString("CmdLineHelperURI", ""); 142 gSavedSettings.setString("CmdLineHelperURI", "");
143} 143}
@@ -163,7 +163,8 @@ std::string LLViewerLogin::getGridLabel() const
163 163
164std::string LLViewerLogin::getGridCodeName() const 164std::string LLViewerLogin::getGridCodeName() const
165{ 165{
166 if( gGridInfo[mGridChoice].mCodeName == "" ) 166 // Fall back to grid label if code name is empty.
167 if( strcmp(gGridInfo[mGridChoice].mCodeName, "") == 0 )
167 { 168 {
168 return getGridLabel(); 169 return getGridLabel();
169 } 170 }
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp
index 08dc979..2944d9d 100644
--- a/linden/indra/newview/llviewerregion.cpp
+++ b/linden/indra/newview/llviewerregion.cpp
@@ -1022,6 +1022,8 @@ void LLViewerRegion::updateCoarseLocations(LLMessageSystem* msg)
1022 U8 z_pos = 0; 1022 U8 z_pos = 0;
1023 1023
1024 U32 pos = 0x0; 1024 U32 pos = 0x0;
1025
1026 LLUUID agent_id = LLUUID::null;
1025 1027
1026 S16 agent_index; 1028 S16 agent_index;
1027 S16 target_index; 1029 S16 target_index;
@@ -1034,6 +1036,7 @@ void LLViewerRegion::updateCoarseLocations(LLMessageSystem* msg)
1034 msg->getU8Fast(_PREHASH_Location, _PREHASH_X, x_pos, i); 1036 msg->getU8Fast(_PREHASH_Location, _PREHASH_X, x_pos, i);
1035 msg->getU8Fast(_PREHASH_Location, _PREHASH_Y, y_pos, i); 1037 msg->getU8Fast(_PREHASH_Location, _PREHASH_Y, y_pos, i);
1036 msg->getU8Fast(_PREHASH_Location, _PREHASH_Z, z_pos, i); 1038 msg->getU8Fast(_PREHASH_Location, _PREHASH_Z, z_pos, i);
1039 msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id, i);
1037 1040
1038 //llinfos << " object X: " << (S32)x_pos << " Y: " << (S32)y_pos 1041 //llinfos << " object X: " << (S32)x_pos << " Y: " << (S32)y_pos
1039 // << " Z: " << (S32)(z_pos * 4) 1042 // << " Z: " << (S32)(z_pos * 4)
@@ -1059,6 +1062,7 @@ void LLViewerRegion::updateCoarseLocations(LLMessageSystem* msg)
1059 pos <<= 8; 1062 pos <<= 8;
1060 pos |= z_pos; 1063 pos |= z_pos;
1061 mMapAvatars.put(pos); 1064 mMapAvatars.put(pos);
1065 mMapAvatarIDs.put(agent_id);
1062 } 1066 }
1063 } 1067 }
1064} 1068}
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp
index 64c042a..2e77316 100644
--- a/linden/indra/newview/llviewerwindow.cpp
+++ b/linden/indra/newview/llviewerwindow.cpp
@@ -470,7 +470,7 @@ public:
470 ypos += y_inc; 470 ypos += y_inc;
471 } 471 }
472 // only display these messages if we are actually rendering beacons at this moment 472 // only display these messages if we are actually rendering beacons at this moment
473 if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconAlwaysOn")) 473 if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconsEnabled"))
474 { 474 {
475 if (LLPipeline::getRenderParticleBeacons(NULL)) 475 if (LLPipeline::getRenderParticleBeacons(NULL))
476 { 476 {
diff --git a/linden/indra/newview/llworld.cpp b/linden/indra/newview/llworld.cpp
index 66c4068..4dee103 100644
--- a/linden/indra/newview/llworld.cpp
+++ b/linden/indra/newview/llworld.cpp
@@ -365,9 +365,14 @@ LLVector3d LLWorld::clipToVisibleRegions(const LLVector3d &start_pos, const LLVe
365 clip_factor = (region_coord.mV[VY] - region_width) / delta_pos_abs.mdV[VY]; 365 clip_factor = (region_coord.mV[VY] - region_width) / delta_pos_abs.mdV[VY];
366 } 366 }
367 367
368 // clamp to < 256 to stay in sim 368 // clamp to within region dimensions
369 LLVector3d final_region_pos = LLVector3d(region_coord) - (delta_pos * clip_factor); 369 LLVector3d final_region_pos = LLVector3d(region_coord) - (delta_pos * clip_factor);
370 final_region_pos.clamp(0.0, 255.999); 370 final_region_pos.mdV[VX] = llclamp(final_region_pos.mdV[VX], 0.0,
371 (F64)(region_width - F_ALMOST_ZERO));
372 final_region_pos.mdV[VY] = llclamp(final_region_pos.mdV[VY], 0.0,
373 (F64)(region_width - F_ALMOST_ZERO));
374 final_region_pos.mdV[VZ] = llclamp(final_region_pos.mdV[VZ], 0.0,
375 (F64)(LLWorld::getInstance()->getRegionMaxHeight()));
371 return regionp->getPosGlobalFromRegion(LLVector3(final_region_pos)); 376 return regionp->getPosGlobalFromRegion(LLVector3(final_region_pos));
372} 377}
373 378
diff --git a/linden/indra/newview/llworldmapview.cpp b/linden/indra/newview/llworldmapview.cpp
index 92d9588..0d266dd 100644
--- a/linden/indra/newview/llworldmapview.cpp
+++ b/linden/indra/newview/llworldmapview.cpp
@@ -208,6 +208,8 @@ LLWorldMapView::LLWorldMapView(const std::string& name, const LLRect& rect )
208 mTextBoxNorthWest = new LLTextBox( std::string("NW"), minor_dir_rect ); 208 mTextBoxNorthWest = new LLTextBox( std::string("NW"), minor_dir_rect );
209 mTextBoxNorthWest->setColor( minor_color ); 209 mTextBoxNorthWest->setColor( minor_color );
210 addChild( mTextBoxNorthWest ); 210 addChild( mTextBoxNorthWest );
211
212 glyph_color_avatar = gColors.getColor("NetMapGlyphColorAvatar");
211} 213}
212 214
213 215
@@ -886,8 +888,8 @@ void LLWorldMapView::drawAgents()
886 S32 agent_count = info.mExtra; 888 S32 agent_count = info.mExtra;
887 sim_agent_count += info.mExtra; 889 sim_agent_count += info.mExtra;
888 // Here's how we'd choose the color if info.mID were available but it's not being sent: 890 // Here's how we'd choose the color if info.mID were available but it's not being sent:
889 //LLColor4 color = (agent_count == 1 && is_agent_friend(info.mID)) ? gFriendMapColor : gAvatarMapColor; 891 //LLColor4 color = (agent_count == 1 && is_agent_friend(info.mID)) ? glyph_color_friend : glyph_color_avatar;
890 drawImageStack(info.mPosGlobal, sAvatarSmallImage, agent_count, 3.f, gAvatarMapColor); 892 drawImageStack(info.mPosGlobal, sAvatarSmallImage, agent_count, 3.f, glyph_color_avatar);
891 } 893 }
892 LLWorldMap::getInstance()->mNumAgents[handle] = sim_agent_count; // override mNumAgents for this sim 894 LLWorldMap::getInstance()->mNumAgents[handle] = sim_agent_count; // override mNumAgents for this sim
893 } 895 }
@@ -902,7 +904,7 @@ void LLWorldMapView::drawAgents()
902 region_center[VY] += REGION_WIDTH_METERS / 2; 904 region_center[VY] += REGION_WIDTH_METERS / 2;
903 // Reduce the stack size as you zoom out - always display at lease one agent where there is one or more 905 // Reduce the stack size as you zoom out - always display at lease one agent where there is one or more
904 S32 agent_count = (S32)(((num_agents-1) * agents_scale + (num_agents-1) * 0.1f)+.1f) + 1; 906 S32 agent_count = (S32)(((num_agents-1) * agents_scale + (num_agents-1) * 0.1f)+.1f) + 1;
905 drawImageStack(region_center, sAvatarSmallImage, agent_count, 3.f, gAvatarMapColor); 907 drawImageStack(region_center, sAvatarSmallImage, agent_count, 3.f, glyph_color_avatar);
906 } 908 }
907 } 909 }
908 } 910 }
diff --git a/linden/indra/newview/llworldmapview.h b/linden/indra/newview/llworldmapview.h
index 915a196..53f0bdd 100644
--- a/linden/indra/newview/llworldmapview.h
+++ b/linden/indra/newview/llworldmapview.h
@@ -189,6 +189,8 @@ public:
189 handle_list_t mVisibleRegions; // set every frame 189 handle_list_t mVisibleRegions; // set every frame
190 190
191 static std::map<std::string,std::string> sStringsMap; 191 static std::map<std::string,std::string> sStringsMap;
192
193 LLColor4 glyph_color_avatar;
192}; 194};
193 195
194#endif 196#endif
diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp
index f232fdf..3523635 100644
--- a/linden/indra/newview/pipeline.cpp
+++ b/linden/indra/newview/pipeline.cpp
@@ -2101,7 +2101,7 @@ void LLPipeline::postSort(LLCamera& camera)
2101 } 2101 }
2102 2102
2103 // only render if the flag is set. The flag is only set if we are in edit mode or the toggle is set in the menus 2103 // only render if the flag is set. The flag is only set if we are in edit mode or the toggle is set in the menus
2104 if (gSavedSettings.getBOOL("BeaconAlwaysOn")) 2104 if (gSavedSettings.getBOOL("BeaconsEnabled"))
2105 { 2105 {
2106 if (sRenderScriptedTouchBeacons) 2106 if (sRenderScriptedTouchBeacons)
2107 { 2107 {
diff --git a/linden/indra/newview/skins/default/colors_base.xml b/linden/indra/newview/skins/default/colors_base.xml
index 3b85efa..ff3d53e 100644
--- a/linden/indra/newview/skins/default/colors_base.xml
+++ b/linden/indra/newview/skins/default/colors_base.xml
@@ -1,146 +1,180 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes"?> 1<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2<settings version = "101"> 2<settings version = "101">
3 3<!-- Additional comments by McCabe Maxsted -->
4
4<!-- WINDOWS --> 5<!-- WINDOWS -->
5<TitleBarFocusColor value="255, 255, 255, 30" /> <!-- Focused window title bar highlight, no equivalent for unfocused windows --> 6<TitleBarFocusColor value="255, 255, 255, 30" /> <!-- Focused window title bar highlight, no equivalent for unfocused windows -->
6<FloaterFocusBorderColor value="0, 0, 0, 80" /> 7<FloaterFocusBorderColor value="0, 0, 0, 80" /> <!-- Focused window border color -->
7<FloaterUnfocusBorderColor value="0, 0, 0, 80" /> 8<FloaterUnfocusBorderColor value="0, 0, 0, 80" /> <!-- Unfocused window border color -->
8<FocusBackgroundColor value="62, 62, 62, 255" /> <!-- Background color of focused floaters --> 9<FocusBackgroundColor value="62, 62, 62, 255" /> <!-- Background color of focused windows -->
9<DefaultBackgroundColor value="62, 62, 62, 140" /> <!-- Background color for unfocused floaters --> 10<DefaultBackgroundColor value="62, 62, 62, 140" /> <!-- Background color for unfocused windows -->
10<ColorDropShadow value="0, 0, 0, 200" /> <!-- The drop shadow behind windows and menus --> 11<ColorDropShadow value="0, 0, 0, 200" /> <!-- The drop shadow behind windows and menus -->
11<DefaultHighlightDark value="26, 26, 26, 255" /> 12<DefaultHighlightDark value="26, 26, 26, 255" />
12<DefaultHighlightLight value="115, 132, 155, 255" /> 13<DefaultHighlightLight value="115, 132, 155, 255" /> <!-- Unfocused border, bottom portion -->
13<DefaultShadowDark value="26, 26, 26, 255" /> 14<DefaultShadowDark value="26, 26, 26, 255" /> <!-- Unfocused border, top portion -->
14<DefaultShadowLight value="0, 0, 0, 255" /> 15<DefaultShadowLight value="0, 0, 0, 255" /> <!-- Tab area border for IMs -->
15 16
16<!-- LABELS --> 17<!-- WINDOW LABELS -->
17<LabelDisabledColor value="147, 169, 213, 77" /> 18<LabelDisabledColor value="147, 169, 213, 77" /> <!-- Color for unfocused window titles -->
18<LabelSelectedColor value="255, 255, 255, 255" /> 19<LabelSelectedColor value="255, 255, 255, 255" /> <!-- Color for mouseovered clickable labels, e.g. version info on the login screen -->
19<LabelSelectedDisabledColor value="164, 190, 237, 128" /> 20<LabelSelectedDisabledColor value="164, 190, 237, 128" />
20<LabelTextColor value="147, 169, 213, 255" /> 21<LabelTextColor value="147, 169, 213, 255" /> <!-- Color for window labels and titles -->
21 22
22<!-- LOGIN --> 23<!-- LOGIN -->
23<LoginProgressBarBgColor value="255, 255, 255, 255" /> 24<LoginProgressBarBgColor value="255, 255, 255, 255" /> <!-- Login progress bar background -->
24<LoginProgressBarFgColor value="255, 255, 255, 255" /> 25<LoginProgressBarFgColor value="255, 255, 255, 255" /> <!-- Login progress bar -->
25<LoginProgressBoxBorderColor value="0, 30, 60, 0" /> 26<LoginProgressBoxBorderColor value="0, 30, 60, 0" /> <!-- Login progress box border -->
26<LoginProgressBoxCenterColor value="0, 0, 0, 200" /> 27<LoginProgressBoxCenterColor value="0, 0, 0, 200" /> <!-- Login progress box background -->
27<LoginProgressBoxShadowColor value="0, 0, 0, 200" /> 28<LoginProgressBoxShadowColor value="0, 0, 0, 200" /> <!-- Login progress box shadow -->
28<LoginProgressBoxTextColor value="255, 255, 255, 255"/> 29<LoginProgressBoxTextColor value="255, 255, 255, 255"/> <!-- Login progress text -->
29 30
30<!-- BUTTONS --> 31<!-- BUTTONS -->
31<ButtonLabelColor value="220, 220, 220, 255" /> <!-- Text labels for buttons, like the "OK" text --> 32<ButtonLabelColor value="220, 220, 220, 255" /> <!-- Label text color for buttons, like the "OK" text -->
32<ButtonLabelSelectedColor value="220, 220, 220, 255" /> 33<ButtonLabelSelectedColor value="220, 220, 220, 255" /> <!-- Label text color when button selected -->
33<ButtonLabelDisabledColor value="147, 169, 213, 200" /> 34<ButtonLabelDisabledColor value="147, 169, 213, 200" /> <!-- Label text color when button disabled -->
34<ButtonLabelSelectedDisabledColor value="164, 190, 237, 200" /> 35<ButtonLabelSelectedDisabledColor value="164, 190, 237, 200" /> <!-- Label text color when button disabled but selected -->
35<ButtonSelectedBgColor value="62, 62, 62, 255" /> 36<ButtonSelectedBgColor value="62, 62, 62, 255" /> <!-- Not used -->
36<ButtonSelectedColor value="255, 255, 255, 255" /> 37<ButtonSelectedColor value="255, 255, 255, 255" /> <!-- Not used -->
37<ButtonUnselectedBgColor value="62, 62, 62, 255" /> 38<ButtonUnselectedBgColor value="62, 62, 62, 255" /> <!-- Not used -->
38<ButtonUnselectedFgColor value="255, 255, 255, 255" /> 39<ButtonUnselectedFgColor value="255, 255, 255, 255" /> <!-- Not used -->
39<ButtonBorderColor value="239, 156, 0, 255" /> 40<ButtonBorderColor value="239, 156, 0, 255" /> <!-- Not used -->
40<ButtonFlashBgColor value="255, 190, 62, 127" /> 41<ButtonFlashBgColor value="255, 190, 62, 127" /> <!-- Color of tab flashing on incoming IM -->
41<ButtonColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white --> 42<ButtonColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white -->
42<ButtonImageColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white --> 43<ButtonImageColor value="255, 255, 255, 255" /> <!-- Button color override (also checkboxes and scroll arrows).
43 44 Blended with button art, usually left as opaque white -->
44<!-- SLIDERS --> 45
45<SliderDisabledThumbColor value="0, 0, 0, 255" /> 46<!-- SLIDERS, single line -->
46<SliderThumbCenterColor value="200, 200, 200, 255" /> 47<SliderDisabledThumbColor value="0, 0, 0, 255" /> <!-- Not used -->
47<SliderThumbOutlineColor value="255, 255, 255, 255" /> 48<SliderThumbCenterColor value="200, 200, 200, 255" /> <!-- Unfocused slider thumb color -->
48<SliderTrackColor value="255, 255, 255, 255" /> 49<SliderThumbOutlineColor value="255, 255, 255, 255" /> <!-- Focused slider thumb color -->
49 50<SliderTrackColor value="255, 255, 255, 255" /> <!-- Not used -->
51
52<!-- SLIDERS, multi line (as in the sky editor) -->
53<MultiSliderDisabledThumbColor value="0, 0, 0, 255"/> <!-- Not used -->
54<MultiSliderThumbCenterColor value="183, 184, 188, 255"/> <!-- Not used -->
55<MultiSliderThumbOutlineColor value="0, 0, 0, 255"/> <!-- Not used -->
56<MultiSliderTrackColor value="30, 30, 30, 255"/> <!-- Not used -->
57<MultiSliderThumbCenterSelectedColor value="255, 50, 50, 255"/> <!-- Not used -->
58<MultiSliderTriangleColor value="255, 255, 50, 255"/> <!-- Not used -->
59
50<!-- TEXTFIELDS --> 60<!-- TEXTFIELDS -->
51<TextBgFocusColor value="200, 209, 204, 255" /> <!-- Text field background when receiving input (focused) --> 61<TextBgFocusColor value="200, 209, 204, 255" /> <!-- Text field background when receiving input (focused) -->
52<TextBgReadOnlyColor value="62, 62, 62, 160" /> <!-- Text field background when read-only --> 62<TextBgReadOnlyColor value="62, 62, 62, 160" /> <!-- Text field background when read-only -->
53<TextBgWriteableColor value="200, 209, 204, 230" /> <!-- Text field background when not receiving input (unfocused) --> 63<TextBgWriteableColor value="200, 209, 204, 230" /> <!-- Text field background when not receiving input (unfocused) -->
54<TextCursorColor value="0, 0, 0, 255" /> 64<TextCursorColor value="0, 0, 0, 255" /> <!-- Cursor color in notecards and scripts only -->
55<TextFgColor value="0, 0, 0, 255" /> 65<TextFgColor value="0, 0, 0, 255" /> <!-- Text color for all text entry fields; cursor color for line editors -->
56<TextFgReadOnlyColor value="255, 255, 255, 200" /> 66<TextFgReadOnlyColor value="255, 255, 255, 200" /> <!-- Text color in read-only fields -->
57<TextFgTentativeColor value="0, 0, 0, 128" /> 67<TextFgTentativeColor value="0, 0, 0, 128" /> <!-- Initial entry in text entry fields, e.g. "Click here to chat." -->
58<TextEmbeddedItemReadOnlyColor value="58, 147, 242, 255" /> <!-- i.e. About Land name that you don't own --> 68<TextEmbeddedItemReadOnlyColor value="58, 147, 242, 255" /> <!-- Text of read-only items embedded in notecards -->
59<TextEmbeddedItemColor value="0, 0, 128, 255" /> 69<TextEmbeddedItemColor value="0, 0, 128, 255" /> <!-- Text of items embedded in notecards -->
60<TextDefaultColor value="0, 20, 0, 255"/> 70<TextDefaultColor value="0, 20, 0, 255"/> <!-- Non-keyword text in the script editor -->
61 71<ScriptBgReadOnlyColor value="100, 100, 100, 255" /> <!-- Not used -->
72
62<!-- LISTBOXES --> 73<!-- LISTBOXES -->
63<ScrollBgReadOnlyColor value="200, 209, 204, 255" /> 74<ScrollBgReadOnlyColor value="200, 209, 204, 255" /> <!-- Background of read only lists -->
64<ScrollBgWriteableColor value="200, 209, 204, 255" /> 75<ScrollBgWriteableColor value="200, 209, 204, 255" /> <!-- Background of editable lists, e.g. groups-->
65<ScrollBGStripeColor value="100, 100, 100, 40" /> 76<ScrollBGStripeColor value="100, 100, 100, 40" /> <!-- Background stripes in sortable lists, e.g. Events Search -->
66<ScrollDisabledColor value="128, 128, 128, 204" /> 77<ScrollDisabledColor value="128, 128, 128, 204" />
67<ScrollSelectedBGColor value="100, 100, 188, 150" /> 78<ScrollSelectedBGColor value="100, 100, 188, 150" /> <!-- Selected item in a list highlight -->
68<ScrollSelectedFGColor value="0, 0, 0, 204" /> <!-- Text color --> 79<ScrollSelectedFGColor value="0, 0, 0, 204" /> <!-- Text color -->
69<ScrollUnselectedColor value="0, 0, 0, 204" /> <!-- Text color --> 80<ScrollUnselectedColor value="0, 0, 0, 204" /> <!-- Text color -->
70<ScrollHighlightedColor value="183, 184, 188, 128" /> <!-- Hover color --> 81<ScrollHighlightedColor value="183, 184, 188, 128" /> <!-- Hover color -->
71<ScrollbarThumbColor value="60, 76, 124, 255" /> <!-- Scroll bar--> 82<ScrollbarThumbColor value="60, 76, 124, 255" /> <!-- Scroll bar -->
72<ScrollbarTrackColor value="153, 154, 158, 255" /> <!-- Scroll bar background--> 83<ScrollbarTrackColor value="153, 154, 158, 255" /> <!-- Scroll bar background -->
73 84
74<!-- MENUS --> 85<!-- MENUS -->
75<MenuBarBgColor value="62, 62, 62, 255" /> 86<MenuBarBgColor value="62, 62, 62, 255" /> <!-- Menu bar background -->
76<MenuBarGodBgColor value="62, 128, 62, 255" /> 87<MenuBarGodBgColor value="62, 128, 62, 255" /> <!-- Menu bar background with God Mode enabled -->
77<MenuNonProductionGodBgColor value="0, 128, 0, 255" /> 88<MenuNonProductionGodBgColor value="0, 128, 0, 255" /> <!-- Beta viewer menu bar background -->
78<MenuNonProductionBgColor value="128, 0, 0, 255" /> 89<MenuNonProductionBgColor value="128, 0, 0, 255" /> <!-- Beta viewer menu bar background with God Mode enabled -->
79<MenuDefaultBgColor value="0, 0, 0, 255" /> 90<MenuDefaultBgColor value="0, 0, 0, 255" /> <!-- Menu background -->
80<MenuItemDisabledColor value="133, 133, 164, 128" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) --> 91<MenuItemDisabledColor value="133, 133, 164, 128" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
81<MenuItemEnabledColor value="255, 255, 255, 255" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) --> 92<MenuItemEnabledColor value="255, 255, 255, 255" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
82<MenuItemHighlightBgColor value="183, 184, 188, 100" /> 93<MenuItemHighlightBgColor value="183, 184, 188, 100" /> <!-- Highlighted menu item background color -->
83<MenuItemHighlightFgColor value="255, 255, 255, 255" /> <!-- Highlighted menu text color; also treeview node selection highlight --> 94<MenuItemHighlightFgColor value="255, 255, 255, 255" /> <!-- Highlighted menu item text color; also treeview node selection highlight -->
84<MenuPopupBgColor value="0, 0, 0, 255" /> 95<MenuPopupBgColor value="0, 0, 0, 255" /> <!-- Right-click menu background -->
85 96
86<!-- PIE MENUS --> 97<!-- PIE MENUS -->
87<PieMenuBgColor value="62, 62, 62, 150" /> 98<PieMenuBgColor value="62, 62, 62, 150" /> <!-- Color of pie menu -->
88<PieMenuLineColor value="0, 0, 0, 128" /> 99<PieMenuLineColor value="0, 0, 0, 128" /> <!-- Color of pie menu slice separators -->
89<PieMenuSelectedColor value="183, 184, 188, 77" /> 100<PieMenuSelectedColor value="183, 184, 188, 77" /> <!-- Color of pie menu slice when selected -->
90 101
102<!-- MENU BAR -->
103<ParcelTextColor value="144, 165, 208, 255" /> <!-- Parcel name on menu bar, normal state -->
104<ParcelHoverColor value="255, 255, 255, 255" /> <!-- Parcel name on menu bar, hover state -->
105<TimeTextColor value="255, 255, 255, 255" /> <!-- SL Time on menu bar -->
106<BalanceTextColor value="0, 255, 0, 255" /> <!-- Linden dollar balance on menu bar -->
107<HealthTextColor value="255, 255, 255, 255" /> <!-- Damage meter text on menu bar -->
108
91<!-- TOOLTIPS --> 109<!-- TOOLTIPS -->
92<ToolTipBgColor value="183, 184, 188, 200" /> 110<ToolTipBgColor value="183, 184, 188, 200" /> <!-- Tool tips, i.e. "Hover Tips" -->
93<ToolTipBorderColor value="171, 212, 245, 255" /> 111<ToolTipBorderColor value="171, 212, 245, 255" /> <!-- Not used -->
94<ToolTipTextColor value="0, 0, 0, 255" /> 112<ToolTipTextColor value="0, 0, 0, 255" /> <!-- Tool tips text color -->
95 113
96<!-- NOTIFICATION POP-UPS --> 114<!-- NOTIFICATION POP-UPS -->
97<NotifyBoxColor value="70, 170, 255, 255" /> 115<NotifyBoxColor value="70, 170, 255, 255" /> <!-- Notification background, i.e. tp requests -->
98<NotifyTextColor value="0, 0, 0, 255" /> 116<NotifyTextColor value="0, 0, 0, 255" /> <!-- Notification text -->
99<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts --> 117<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution permissions prompts -->
100<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts --> 118<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution permissions prompts -->
101<GroupNotifyBoxColor value="70, 170, 255, 255" /> 119<GroupNotifyBoxColor value="70, 170, 255, 255" /> <!-- Group notices background -->
102<GroupNotifyTextColor value="0, 30, 60, 255" /> 120<GroupNotifyTextColor value="0, 30, 60, 255" /> <!-- Group notices text -->
103 121
122<!-- ALERT BOX COLORS -->
123<AlertBoxColor value="62, 62, 62, 255" /> <!-- Alert floaters, like the warning before returning objects -->
124<AlertTextColor value="147, 169, 213, 255" /> <!-- Alert floater text -->
125<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
126<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
127
104<!-- CHAT AND IM HISTORY TEXTBOX COLORS --> 128<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->
105<ChatHistoryBgColor value="0, 0, 0, 0" /> 129<ChatHistoryBgColor value="0, 0, 0, 0" /> <!-- Local Chat background -->
106<ChatHistoryTextColor value="255, 255, 255, 255" /> 130<ChatHistoryTextColor value="255, 255, 255, 255" /> <!-- Local Chat text -->
107<IMHistoryBgColor value="0, 30, 80, 200" /> 131<IMHistoryBgColor value="0, 30, 80, 200" /> <!-- Instant Message background -->
108<IMHistoryTextColor value="255, 255, 255, 255" /> 132<IMHistoryTextColor value="255, 255, 255, 255" /> <!-- Instant Message text -->
109 133
110<!-- IN-WORLD SELECTION --> 134<!-- IN-WORLD SELECTION -->
111<SilhouetteParentColor value="255, 255, 0, 255" /> 135<SilhouetteParentColor value="255, 255, 0, 255" /> <!-- Root prim selection outline -->
112<SilhouetteChildColor value="32, 106, 196, 255" /> 136<SilhouetteChildColor value="32, 106, 196, 255" /> <!-- Child prim selection outline -->
113<HighlightParentColor value="171, 212, 245, 255" /> 137<HighlightParentColor value="171, 212, 245, 255" />
114<HighlightChildColor value="171, 212, 245, 255" /> 138<HighlightChildColor value="171, 212, 245, 255" />
115<HighlightInspectColor value="255, 0, 255, 255" /> 139<HighlightInspectColor value="255, 0, 255, 255" /> <!-- Selection outline when inspecting -->
116 140
117<!-- EDIT MODE GRID --> 141<!-- EDIT MODE GRID -->
118<GridFocusPointColor value="255, 255, 255, 128" /> 142<GridFocusPointColor value="255, 255, 255, 128" /> <!-- Not used -->
119<GridlineColor value="255, 255, 255, 255" /> 143<GridlineColor value="255, 255, 255, 255" /> <!-- Grid color -->
120<GridlineBGColor value="235, 235, 255, 200" /> 144<GridlineBGColor value="235, 235, 255, 200" /> <!-- Grid background color -->
121<GridlineShadowColor value="0, 0, 0, 80" /> 145<GridlineShadowColor value="0, 0, 0, 80" /> <!-- Grid drop shadow -->
122 146
123<!-- PROPERTY LINES --> 147<!-- PROPERTY LINES -->
124<PropertyColorAvail value="0, 0, 0, 0" /> 148<PropertyColorAvail value="0, 0, 0, 0" />
125<PropertyColorGroup value="0, 184, 184, 102" /> 149<PropertyColorGroup value="0, 184, 184, 102" /> <!-- Property group owns -->
126<PropertyColorOther value="255, 0, 0, 102" /> 150<PropertyColorOther value="255, 0, 0, 102" /> <!-- Property others own -->
127<PropertyColorSelf value="0, 255, 0, 102" /> 151<PropertyColorSelf value="0, 255, 0, 102" /> <!-- Property you own -->
128<PropertyColorForSale value="255, 128, 0, 102" /> 152<PropertyColorForSale value="255, 128, 0, 102" /> <!-- Property for sale -->
129<PropertyColorAuction value="128, 0, 255, 102" /> <!-- Match the color on the world map --> 153<PropertyColorAuction value="128, 0, 255, 102" /> <!-- Match the color on the world map -->
130 154
131<!-- Icon Enable/Disable --> 155<!-- MEDIA ICONS -->
132<IconEnabledColor value="255, 255, 255, 255"/> 156<IconEnabledColor value="255, 255, 255, 255"/> <!-- Media/music icon enabled -->
133<IconDisabledColor value="147, 169, 213, 200"/> 157<IconDisabledColor value="147, 169, 213, 200"/> <!-- Media/music icon disabled -->
134 158
135<!-- MINI-MAP --> 159<!-- MINI-MAP -->
136<NetMapBackgroundColor value="0, 0, 0, 77" /> 160<NetMapBackgroundColor value="0, 0, 0, 77" /> <!-- Mini-map floater background -->
137<NetMapYouOwnAboveWater value="0, 255, 255, 255" /> 161<NetMapYouOwnAboveWater value="0, 255, 255, 255" /> <!-- Objects owned by you above water -->
138<NetMapYouOwnBelowWater value="0, 200, 200, 255" /> 162<NetMapYouOwnBelowWater value="0, 200, 200, 255" /> <!-- Objects owned by you below water -->
139<NetMapGroupOwnAboveWater value="255, 0, 255, 255" /> 163<NetMapGroupOwnAboveWater value="255, 0, 255, 255" /> <!-- Group owned objects above water -->
140<NetMapGroupOwnBelowWater value="200, 0, 200, 255" /> 164<NetMapGroupOwnBelowWater value="200, 0, 200, 255" /> <!-- Group owned objects below water -->
141<NetMapOtherOwnAboveWater value="60, 60, 60, 255" /> 165<NetMapOtherOwnAboveWater value="60, 60, 60, 255" /> <!-- Objects owned by others above water -->
142<NetMapOtherOwnBelowWater value="30, 30, 30, 255" /> 166<NetMapOtherOwnBelowWater value="30, 30, 30, 255" /> <!-- Objects owned by others below water -->
143 167<NetMapGlyphColorAvatar value="0, 255, 0, 255" /> <!-- Also the color of avatar glyphs on the map -->
168<NetMapGlyphColorFriend value="255, 255, 0, 255" />
169
170<!-- INVENTORY -->
171<InventoryBackgroundColor value="62, 62, 62, 80"/> <!-- Inventory floater background -->
172<FolderViewLoadingMessageTextColor value="240, 165, 90, 255"/> <!-- "loading..." -->
173<InventoryItemSuffixColor value="191, 216, 216, 255"/> <!-- "worn", "no modify", etc -->
174<FilterBackgroundColor value="0, 0, 20, 255" /> <!-- Inventory search background -->
175<FilterTextColor value="255, 200, 70, 255" /> <!-- Inventory search text -->
176<InventorySearchStatusColor value="255, 255, 255, 255" /> <!-- "Searching..." -->
177
144<!-- HELP WINDOW --> 178<!-- HELP WINDOW -->
145<HelpBgColor value="200, 209, 204, 255" /> 179<HelpBgColor value="200, 209, 204, 255" />
146<HelpFgColor value="0, 0, 0, 255" /> 180<HelpFgColor value="0, 0, 0, 255" />
@@ -150,40 +184,13 @@
150<HelpScrollShadowColor value="0, 0, 0, 255" /> 184<HelpScrollShadowColor value="0, 0, 0, 255" />
151 185
152<!-- MISC --> 186<!-- MISC -->
153<AvatarNameColor value="251, 175, 93, 255" /> <!-- Text color of avatar nametags --> 187<AvatarNameColor value="251, 175, 93, 255" /> <!-- Text color of avatar nametags -->
154<FocusColor value="239, 156, 0, 255" /> <!-- Color of the glow around UI controls with keyboard focus --> 188<FocusColor value="239, 156, 0, 255" /> <!-- Color of the glow around UI controls with keyboard focus -->
155<FloaterButtonImageColor value="239, 156, 0, 255" /> <!-- The floater buttons (like the close box) are white images that receive this color. --> 189<FloaterButtonImageColor value="239, 156, 0, 255" /> <!-- The floater buttons (like the close box) are white images that receive this color. -->
156<ButtonCautionImageColor value="255, 255, 255, 255" /> <!-- Match the caution dialog buttons to the default --> 190<ButtonCautionImageColor value="255, 255, 255, 255" /> <!-- Match the caution dialog buttons to the default -->
157<HealthTextColor value="255, 255, 255, 255" />
158<MapAutopilotColor value="255, 128, 0, 255" /> 191<MapAutopilotColor value="255, 128, 0, 255" />
159<ContextSilhouetteColor value="239, 156, 0, 255" /> <!-- For "context" highlighting, i.e. pie menu --> 192<ContextSilhouetteColor value="239, 156, 0, 255" /> <!-- For "context" highlighting, i.e. pie menu -->
160<ScriptBgReadOnlyColor value="100, 100, 100, 255" /> 193<GroupOverTierColor value="110, 15, 15, 255" /> <!-- Warning text in Group Info window -->
161<ParcelTextColor value="144, 165, 208, 255" /> <!-- Parcel name on menu bar, normal state --> 194<ConsoleBackground value="0, 0, 0, 255" /> <!-- Background for inworld chat -->
162<ParcelHoverColor value="255, 255, 255, 255" /> <!-- Parcel name on menu bar, hover state --> 195
163<TimeTextColor value="255, 255, 255, 255" /> <!-- SL Time on menu bar -->
164<BalanceTextColor value="0, 255, 0, 255" /> <!-- Linden dollar balance on menu bar -->
165<HealthTextColor value="255, 255, 255, 255" /> <!-- Damage meter text on menu bar -->
166<GroupOverTierColor value="110, 15, 15, 255" /> <!-- Warning text in Group Info window -->
167<FilterBackgroundColor value="0, 0, 20, 255" /> <!-- Matching region of Inventory search text -->
168<FilterTextColor value="255, 200, 70, 255" />
169<InventoryItemSuffixColor value="191, 216, 216, 255" /> <!-- "worn", "no modify", etc-->
170<InventorySearchStatusColor value="255, 255, 255, 255" />
171<ConsoleBackground value="0, 0, 0, 255" />
172<FolderViewLoadingMessageTextColor value="240, 165, 90, 255"/> <!-- "loading..." in the inv -->
173<InventoryBackgroundColor value="62, 62, 62, 80"/>
174
175<!-- Alert box colors -->
176<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
177<AlertTextColor value="147, 169, 213, 255" />
178<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
179<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
180
181<!-- Multi sliders, as in the sky animation setting -->
182<MultiSliderDisabledThumbColor value="0, 0, 0, 255"/>
183<MultiSliderThumbCenterColor value="183, 184, 188, 255"/>
184<MultiSliderThumbOutlineColor value="0, 0, 0, 255"/>
185<MultiSliderTrackColor value="30, 30, 30, 255"/>
186<MultiSliderThumbCenterSelectedColor value="255, 50, 50, 255"/>
187<MultiSliderTriangleColor value="255, 255, 50, 255"/>
188
189</settings> 196</settings>
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
index c3058c4..076598c 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
@@ -36,9 +36,12 @@
36 </string> 36 </string>
37 <button bottom="-40" follows="left|top" height="20" label="Profile..." left="5" 37 <button bottom="-40" follows="left|top" height="20" label="Profile..." left="5"
38 name="profile_callee_btn" width="80" /> 38 name="profile_callee_btn" width="80" />
39 <button bottom_delta="0" follows="left|top" font="SansSerif"
40 halign="center" bottom ="-40" height="20" label="Offer Teleport" left_delta="85"
41 mouse_opaque="true" name="offer_tp_btn" scale_image="true" width="102" />
39 <button bottom="-40" follows="left|top" halign="center" height="20" 42 <button bottom="-40" follows="left|top" halign="center" height="20"
40 image_overlay="icn_voice-call-start.tga" image_overlay_alignment="left" 43 image_overlay="icn_voice-call-start.tga" image_overlay_alignment="left"
41 label="Call" left_delta="85" name="start_call_btn" width="100" /> 44 label="Call" left_delta="107" name="start_call_btn" width="100" />
42 <button bottom="-40" follows="left|top" halign="center" height="20" 45 <button bottom="-40" follows="left|top" halign="center" height="20"
43 image_overlay="icn_voice-call-end.tga" image_overlay_alignment="left" 46 image_overlay="icn_voice-call-end.tga" image_overlay_alignment="left"
44 label="End Call" left_delta="0" name="end_call_btn" pad_right="10" 47 label="End Call" left_delta="0" name="end_call_btn" pad_right="10"
@@ -51,9 +54,6 @@
51 image_unselected="icn_speaker_dark.tga" label="" left_delta="56" 54 image_unselected="icn_speaker_dark.tga" label="" left_delta="56"
52 name="mute_btn" tool_tip="Mute voice" width="25" /> 55 name="mute_btn" tool_tip="Mute voice" width="25" />
53 </panel> 56 </panel>
54 <button bottom_delta="0" follows="right|top" font="SansSerif"
55 halign="center" bottom ="-40" height="20" label="Offer Teleport" right="-5"
56 mouse_opaque="true" name="offer_tp_btn" scale_image="true" width="102" />
57 <text_editor type="string" length="1" bg_readonly_color="ChatHistoryBgColor" bg_writeable_color="ChatHistoryBgColor" 57 <text_editor type="string" length="1" bg_readonly_color="ChatHistoryBgColor" bg_writeable_color="ChatHistoryBgColor"
58 bottom="30" embedded_items="false" enabled="false" 58 bottom="30" embedded_items="false" enabled="false"
59 follows="left|top|right|bottom" font="SansSerif" height="221" left="5" 59 follows="left|top|right|bottom" font="SansSerif" height="221" left="5"
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml b/linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml
index 5b2d310..077ab23 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml
@@ -12,9 +12,11 @@
12 <button bottom_delta="0" enabled="false" follows="left|top" height="20" label="Reload" 12 <button bottom_delta="0" enabled="false" follows="left|top" height="20" label="Reload"
13 left_delta="65" name="reload" width="70" /> 13 left_delta="65" name="reload" width="70" />
14 <combo_box allow_text_entry="true" bottom_delta="0" follows="left|top|right" height="20" 14 <combo_box allow_text_entry="true" bottom_delta="0" follows="left|top|right" height="20"
15 left_delta="75" max_chars="255" name="address" width="280" /> 15 left_delta="75" max_chars="235" name="address" width="225" />
16 <button bottom_delta="0" enabled="false" follows="right|top" height="20" label="Go" 16 <button bottom_delta="0" enabled="false" follows="right|top" height="20" label="Go"
17 left_delta="285" name="go" width="55" /> 17 left_delta="230" name="go" width="55" />
18 <button bottom_delta="0" enabled="true" follows="right|top" height="20" label="Home"
19 left_delta="60" name="home" width="55" />
18 </layout_panel> 20 </layout_panel>
19 <layout_panel auto_resize="false" bottom="0" height="20" left="0" 21 <layout_panel auto_resize="false" bottom="0" height="20" left="0"
20 name="parcel_owner_controls" user_resize="false" width="540"> 22 name="parcel_owner_controls" user_resize="false" width="540">
@@ -30,6 +32,8 @@
30 <check_box bottom="5" control_name="UseExternalBrowser" follows="bottom|left" height="20" 32 <check_box bottom="5" control_name="UseExternalBrowser" follows="bottom|left" height="20"
31 label="Always open in my web browser" left_delta="190" name="open_always" 33 label="Always open in my web browser" left_delta="190" name="open_always"
32 width="200" /> 34 width="200" />
35 <button bottom="5" enabled="false" follows="bottom|right" height="20" label="Set Home To Here"
36 left="-265" name="set_home" width="155" />
33 <button bottom="5" follows="bottom|right" height="20" label="Close" left="-70" 37 <button bottom="5" follows="bottom|right" height="20" label="Close" left="-70"
34 name="close" width="70" /> 38 name="close" width="70" />
35 </layout_panel> 39 </layout_panel>
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
index d7ff80b..8d06657 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
@@ -1,33 +1,33 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?> 1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<menu_bar bottom="-18" drop_shadow="false" enabled="true" follows="left|top|right" 2<menu_bar bottom="-18" drop_shadow="false" enabled="true" follows="left|top|right"
3 height="18" left="0" mouse_opaque="true" name="Login Menu" opaque="true" 3 height="18" left="0" mouse_opaque="true" name="Login Menu" opaque="true"
4 tear_off="false" width="802"> 4 tear_off="false" width="802">
5 <menu bottom="273" create_jump_keys="true" drop_shadow="true" enabled="true" 5 <menu bottom="273" create_jump_keys="true" drop_shadow="true" enabled="true"
6 height="263" label="File" left="0" mouse_opaque="false" name="File" 6 height="263" label="File" left="0" mouse_opaque="false" name="File"
7 opaque="true" tear_off="false" width="243"> 7 opaque="true" tear_off="false" width="243">
8 <menu_item_call bottom="-29" enabled="true" height="19" label="Quit" left="0" 8 <menu_item_call bottom="-29" enabled="true" height="19" label="Quit" left="0"
9 mouse_opaque="true" name="Quit" shortcut="control|Q" width="243"> 9 mouse_opaque="true" name="Quit" shortcut="control|Q" width="243">
10 <on_click function="File.Quit" userdata="" /> 10 <on_click function="File.Quit" userdata="" />
11 </menu_item_call> 11 </menu_item_call>
12 </menu> 12 </menu>
13 <menu bottom="97" create_jump_keys="true" drop_shadow="true" enabled="true" 13 <menu bottom="97" create_jump_keys="true" drop_shadow="true" enabled="true"
14 height="439" label="Edit" left="38" mouse_opaque="false" name="Edit" 14 height="439" label="Edit" left="38" mouse_opaque="false" name="Edit"
15 opaque="true" tear_off="false" width="153"> 15 opaque="true" tear_off="false" width="153">
16 <menu_item_call bottom="-29" enabled="true" height="19" label="Preferences..." left="0" 16 <menu_item_call bottom="-29" enabled="true" height="19" label="Preferences..." left="0"
17 mouse_opaque="true" name="Preferences..." shortcut="control|P" width="153"> 17 mouse_opaque="true" name="Preferences..." shortcut="control|P" width="153">
18 <on_click function="ShowFloater" userdata="preferences" /> 18 <on_click function="ShowFloater" userdata="preferences" />
19 </menu_item_call> 19 </menu_item_call>
20 </menu> 20 </menu>
21 <menu bottom="219" create_jump_keys="true" drop_shadow="true" enabled="true" 21 <menu bottom="219" create_jump_keys="true" drop_shadow="true" enabled="true"
22 height="317" label="Help" left="80" mouse_opaque="false" name="Help" 22 height="317" label="Help" left="80" mouse_opaque="false" name="Help"
23 opaque="true" tear_off="false" width="166"> 23 opaque="true" tear_off="false" width="166">
24 <menu_item_call bottom="-29" enabled="true" height="19" label="Second Life Help" left="0" 24 <menu_item_call bottom="-29" enabled="true" height="19" label="Viewer Help" left="0"
25 mouse_opaque="true" name="Second Life Help" shortcut="F1" width="166"> 25 mouse_opaque="true" name="Viewer Help" shortcut="F1" width="166">
26 <on_click function="ShowFloater" userdata="help f1" /> 26 <on_click function="ShowFloater" userdata="help f1" />
27 </menu_item_call> 27 </menu_item_call>
28 <menu_item_call bottom="-48" enabled="true" height="19" label="About Second Life..." left="0" 28 <menu_item_call bottom="-48" enabled="true" height="19" label="About Imprudence..." left="0"
29 mouse_opaque="true" name="About Second Life..." width="166"> 29 mouse_opaque="true" name="About Imprudence..." width="166">
30 <on_click function="ShowFloater" userdata="about" /> 30 <on_click function="ShowFloater" userdata="about" />
31 </menu_item_call> 31 </menu_item_call>
32 </menu> 32 </menu>
33</menu_bar> 33</menu_bar>
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
index 71044a0..682acb9 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
@@ -271,6 +271,11 @@
271 <on_enable function="View.EnableLastChatter" /> 271 <on_enable function="View.EnableLastChatter" />
272 </menu_item_call> 272 </menu_item_call>
273 <menu_item_separator /> 273 <menu_item_separator />
274 <menu_item_call name="Web Browser" label="Web Browser"
275 shortcut="control|B">
276 <on_click function="ShowFloater" userdata="inworld browser" />
277 </menu_item_call>
278 <menu_item_separator />
274 <menu_item_check name="Toolbar" label="Toolbar"> 279 <menu_item_check name="Toolbar" label="Toolbar">
275 <on_click function="ShowFloater" userdata="toolbar" /> 280 <on_click function="ShowFloater" userdata="toolbar" />
276 <on_check function="FloaterVisible" userdata="toolbar" /> 281 <on_check function="FloaterVisible" userdata="toolbar" />
@@ -360,9 +365,9 @@
360 <on_click function="View.HighlightTransparent" userdata="" /> 365 <on_click function="View.HighlightTransparent" userdata="" />
361 <on_check function="View.CheckHighlightTransparent" /> 366 <on_check function="View.CheckHighlightTransparent" />
362 </menu_item_check> 367 </menu_item_check>
363 <menu_item_check name="Beacons Always On" label="Beacons Always On"> 368 <menu_item_check name="Beacons Always On" label="Show Beacons">
364 <on_click function="ToggleControl" userdata="BeaconAlwaysOn" /> 369 <on_click function="ToggleControl" userdata="BeaconsEnabled" />
365 <on_check control="BeaconAlwaysOn" /> 370 <on_check control="BeaconsEnabled" />
366 </menu_item_check> 371 </menu_item_check>
367 <menu name="Beacons" create_jump_keys="true" label="Beacons" 372 <menu name="Beacons" create_jump_keys="true" label="Beacons"
368 opaque="true" tear_off="true"> 373 opaque="true" tear_off="true">
@@ -608,6 +613,12 @@
608 userdata="movable" /> 613 userdata="movable" />
609 <on_check control="SelectMovableOnly" /> 614 <on_check control="SelectMovableOnly" />
610 </menu_item_check> 615 </menu_item_check>
616 <menu_item_check name="Select Only Copyable Objects"
617 label="Select Only Copyable Objects">
618 <on_click function="Tools.SelectOnlyCopyableObjects"
619 userdata="copyable" />
620 <on_check control="SelectCopyableOnly" />
621 </menu_item_check>
611 <menu_item_check name="Select By Surrounding" 622 <menu_item_check name="Select By Surrounding"
612 label="Select By Surrounding"> 623 label="Select By Surrounding">
613 <on_click function="Tools.SelectBySurrounding" 624 <on_click function="Tools.SelectBySurrounding"
diff --git a/linden/indra/newview/skins/default/xui/en-us/notify.xml b/linden/indra/newview/skins/default/xui/en-us/notify.xml
index 6af19ee..d207a74 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notify.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notify.xml
@@ -579,6 +579,9 @@ to his or her location:
579 <option name="Decline"> 579 <option name="Decline">
580 Decline 580 Decline
581 </option> 581 </option>
582 <option name="Ignore">
583 Ignore
584 </option>
582 </notify> 585 </notify>
583 <notify name="OfferFriendshipNoMessage" tip="false"> 586 <notify name="OfferFriendshipNoMessage" tip="false">
584 <message name="message"> 587 <message name="message">
@@ -593,6 +596,9 @@ see each other&apos;s online status.)
593 <option name="Decline"> 596 <option name="Decline">
594 Decline 597 Decline
595 </option> 598 </option>
599 <option name="Ignore">
600 Ignore
601 </option>
596 </notify> 602 </notify>
597 <notify name="FriendshipAccepted" tip="false"> 603 <notify name="FriendshipAccepted" tip="false">
598 <message name="message"> 604 <message name="message">
@@ -616,6 +622,9 @@ so you can quickly IM this resident.
616 <option name="Decline"> 622 <option name="Decline">
617 Decline 623 Decline
618 </option> 624 </option>
625 <option name="Ignore">
626 Ignore
627 </option>
619 </notify> 628 </notify>
620 <notify name="RegionRestartMinutes" tip="false"> 629 <notify name="RegionRestartMinutes" tip="false">
621 <message name="message"> 630 <message name="message">
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml b/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml
index 6fa099e..c47985b 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml
@@ -25,15 +25,15 @@
25 label="IM/Call" left_delta="0" name="IM" 25 label="IM/Call" left_delta="0" name="IM"
26 tool_tip="Open Instant Message session" width="80" /> 26 tool_tip="Open Instant Message session" width="80" />
27 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" 27 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
28 label="Info" name="Info" width="80" />
29 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
30 label="Activate" name="Activate" width="80" /> 28 label="Activate" name="Activate" width="80" />
31 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" 29 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
32 label="Leave" name="Leave" width="80" /> 30 label="Invite..." name="Invite..." width="80" />
31 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
32 label="Info" name="Info" width="80" />
33 <button bottom_delta="-35" follows="top|right" font="SansSerif" height="22" 33 <button bottom_delta="-35" follows="top|right" font="SansSerif" height="22"
34 label="Create..." name="Create" width="80" /> 34 label="Create..." name="Create" width="80" />
35 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" 35 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
36 label="Search..." name="Search..." width="80" /> 36 label="Search..." name="Search..." width="80" />
37 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" 37 <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22"
38 label="Invite..." name="Invite..." width="80" /> 38 label="Leave" name="Leave" width="80" />
39</panel> 39</panel>
diff --git a/linden/indra/newview/skins/silver/colors_base.xml b/linden/indra/newview/skins/silver/colors_base.xml
index 19b6013..623b800 100644
--- a/linden/indra/newview/skins/silver/colors_base.xml
+++ b/linden/indra/newview/skins/silver/colors_base.xml
@@ -1,188 +1,196 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes"?> 1<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2<settings version = "101"> 2<settings version = "101">
3 3<!-- Additional comments by McCabe Maxsted -->
4<!-- WINDOWS --> 4
5<TitleBarFocusColor value="50, 115, 185, 120" /> <!-- Focused window title bar highlight, no equivalent for unfocused windows --> 5<!-- WINDOWS -->
6<FloaterFocusBorderColor value="50, 115, 185, 75" /> 6<TitleBarFocusColor value="50, 115, 185, 120" /> <!-- Focused window title bar highlight, no equivalent for unfocused windows -->
7<FloaterUnfocusBorderColor value="110, 110, 110, 60" /> 7<FloaterFocusBorderColor value="50, 115, 185, 75" /> <!-- Focused window border color -->
8<FocusBackgroundColor value="165, 180, 200, 245" /> <!-- Background color of focused floaters --> 8<FloaterUnfocusBorderColor value="110, 110, 110, 60" /> <!-- Unfocused window border color -->
9<DefaultBackgroundColor value="165, 180, 200, 128" /> <!-- Background color for unfocused floaters --> 9<FocusBackgroundColor value="165, 180, 200, 245" /> <!-- Background color of focused windows -->
10<ColorDropShadow value="0, 0, 0, 200" /> <!-- The drop shadow behind windows and menus --> 10<DefaultBackgroundColor value="165, 180, 200, 128" /> <!-- Background color for unfocused windows -->
11<DefaultHighlightDark value="50, 115, 185, 255" /> 11<ColorDropShadow value="0, 0, 0, 200" /> <!-- The drop shadow behind windows and menus -->
12<DefaultHighlightLight value="50, 115, 185, 255" /> 12<DefaultHighlightDark value="50, 115, 185, 255" />
13<DefaultShadowDark value="50, 115, 185, 255" /> 13<DefaultHighlightLight value="50, 115, 185, 255" /> <!-- Unfocused border, bottom portion -->
14<DefaultShadowLight value="50, 115, 185, 255" /> 14<DefaultShadowDark value="50, 115, 185, 255" /> <!-- Unfocused border, top portion -->
15 15<DefaultShadowLight value="50, 115, 185, 255" /> <!-- Tab area border for IMs -->
16<!-- LABELS --> 16
17<LabelDisabledColor value="0, 30, 60, 128" /> 17<!-- WINDOW LABELS -->
18<LabelSelectedColor value="255, 255, 255, 255" /> 18<LabelDisabledColor value="0, 30, 60, 128" /> <!-- Color for unfocused window titles -->
19<LabelSelectedDisabledColor value="164, 190, 237, 128" /> 19<LabelSelectedColor value="255, 255, 255, 255" /> <!-- Color for mouseovered clickable labels, e.g. version info on the login screen -->
20<LabelTextColor value="0, 30, 60, 255" /> 20<LabelSelectedDisabledColor value="164, 190, 237, 128" />
21 21<LabelTextColor value="0, 30, 60, 255" /> <!-- Color for window labels and titles -->
22<!-- LOGIN --> 22
23<LoginProgressBarBgColor value="255, 255, 255, 255" /> 23<!-- LOGIN -->
24<LoginProgressBarFgColor value="255, 255, 255, 255" /> 24<LoginProgressBarBgColor value="255, 255, 255, 255" /> <!-- Login progress bar background -->
25<LoginProgressBoxBorderColor value="0, 30, 60, 0" /> 25<LoginProgressBarFgColor value="255, 255, 255, 255" /> <!-- Login progress bar -->
26<LoginProgressBoxCenterColor value="0, 0, 0, 200" /> 26<LoginProgressBoxBorderColor value="0, 30, 60, 0" /> <!-- Login progress box border -->
27<LoginProgressBoxShadowColor value="0, 0, 0, 200" /> 27<LoginProgressBoxCenterColor value="0, 0, 0, 200" /> <!-- Login progress box background -->
28<LoginProgressBoxTextColor value="255, 255, 255, 255"/> 28<LoginProgressBoxShadowColor value="0, 0, 0, 200" /> <!-- Login progress box shadow -->
29 29<LoginProgressBoxTextColor value="255, 255, 255, 255"/> <!-- Login progress text -->
30<!-- BUTTONS --> 30
31<ButtonLabelColor value="0, 30, 60, 255" /> <!-- Text labels for buttons, like the "OK" text --> 31<!-- BUTTONS -->
32<ButtonLabelSelectedColor value="255, 255, 255, 255" /> 32<ButtonLabelColor value="0, 30, 60, 255" /> <!-- Label text color for buttons, like the "OK" text -->
33<ButtonLabelDisabledColor value="0, 30, 60, 128" /> 33<ButtonLabelSelectedColor value="255, 255, 255, 255" /> <!-- Label text color when button selected -->
34<ButtonLabelSelectedDisabledColor value="0, 30, 60, 128" /> 34<ButtonLabelDisabledColor value="0, 30, 60, 128" /> <!-- Label text color when button disabled -->
35<ButtonSelectedBgColor value="62, 62, 62, 255" /> 35<ButtonLabelSelectedDisabledColor value="0, 30, 60, 128" /> <!-- Label text color when button disabled but selected -->
36<ButtonSelectedColor value="255, 255, 255, 255" /> 36<ButtonSelectedBgColor value="62, 62, 62, 255" /> <!-- Not used -->
37<ButtonUnselectedBgColor value="62, 62, 62, 255" /> 37<ButtonSelectedColor value="255, 255, 255, 255" /> <!-- Not used -->
38<ButtonUnselectedFgColor value="255, 255, 255, 255" /> 38<ButtonUnselectedBgColor value="62, 62, 62, 255" /> <!-- Not used -->
39<ButtonBorderColor value="239, 156, 0, 255" /> 39<ButtonUnselectedFgColor value="255, 255, 255, 255" /> <!-- Not used -->
40<ButtonFlashBgColor value="255, 190, 62, 127" /> 40<ButtonBorderColor value="239, 156, 0, 255" /> <!-- Not used -->
41<ButtonColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white --> 41<ButtonFlashBgColor value="255, 190, 62, 127" /> <!-- Color of tab flashing on incoming IM -->
42<ButtonImageColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white --> 42<ButtonColor value="255, 255, 255, 255" /> <!-- Blended with button art, usually left as opaque white -->
43 43<ButtonImageColor value="255, 255, 255, 255" /> <!-- Button color override (also checkboxes and scroll arrows).
44<!-- SLIDERS --> 44 Blended with button art, usually left as opaque white -->
45<SliderDisabledThumbColor value="0, 0, 0, 255" /> 45
46<SliderThumbCenterColor value="255, 255, 255, 255" /> 46<!-- SLIDERS, single line -->
47<SliderThumbOutlineColor value="37, 64, 99, 255" /> 47<SliderDisabledThumbColor value="0, 0, 0, 255" /> <!-- Not used -->
48<SliderTrackColor value="37, 64, 99, 255" /> 48<SliderThumbCenterColor value="255, 255, 255, 255" /> <!-- Unfocused slider thumb color -->
49 49<SliderThumbOutlineColor value="37, 64, 99, 255" /> <!-- Focused slider thumb color -->
50<!-- TEXTFIELDS --> 50<SliderTrackColor value="37, 64, 99, 255" /> <!-- Not used -->
51<TextBgFocusColor value="255, 255, 255, 255" /> <!-- Text field background when receiving input (focused) --> 51
52<TextBgReadOnlyColor value="255, 255, 255, 140" /> <!-- Text field background when read-only --> 52<!-- SLIDERS, multi line (as in the sky editor) -->
53<TextBgWriteableColor value="255, 255, 255, 255" /> <!-- Text field background when not receiving input (unfocused) --> 53<MultiSliderDisabledThumbColor value="0, 0, 0, 255"/> <!-- Not used -->
54<TextCursorColor value="0, 0, 0, 255" /> 54<MultiSliderThumbCenterColor value="183, 184, 188, 255"/> <!-- Not used -->
55<TextFgColor value="45, 48, 45, 255" /> 55<MultiSliderThumbOutlineColor value="0, 0, 0, 255"/> <!-- Not used -->
56<TextFgReadOnlyColor value="0, 0, 0, 200" /> 56<MultiSliderTrackColor value="30, 30, 30, 255"/> <!-- Not used -->
57<TextFgTentativeColor value="0, 0, 0, 128" /> 57<MultiSliderThumbCenterSelectedColor value="255, 50, 50, 255"/> <!-- Not used -->
58<TextEmbeddedItemReadOnlyColor value="58, 147, 242, 255" /> <!-- i.e. About Land name that you don't own --> 58<MultiSliderTriangleColor value="255, 255, 50, 255"/> <!-- Not used -->
59<TextEmbeddedItemColor value="0, 0, 128, 255" /> 59
60<TextDefaultColor value="0, 20, 0, 255"/> 60<!-- TEXTFIELDS -->
61 61<TextBgFocusColor value="255, 255, 255, 255" /> <!-- Text field background when receiving input (focused) -->
62<!-- LISTBOXES --> 62<TextBgReadOnlyColor value="255, 255, 255, 140" /> <!-- Text field background when read-only -->
63<ScrollBgReadOnlyColor value="255, 255, 255, 140" /> 63<TextBgWriteableColor value="255, 255, 255, 255" /> <!-- Text field background when not receiving input (unfocused) -->
64<ScrollBgWriteableColor value="255, 255, 255, 140" /> 64<TextCursorColor value="0, 0, 0, 255" /> <!-- Cursor color in notecards and scripts only -->
65<ScrollBGStripeColor value="145, 180, 220, 60" /> 65<TextFgColor value="48, 48, 45, 255" /> <!-- Text color for all text entry fields; cursor color for line editors -->
66<ScrollDisabledColor value="128, 128, 128, 204" /> 66<TextFgReadOnlyColor value="0, 0, 0, 200" /> <!-- Text color in read-only fields -->
67<ScrollSelectedBGColor value="50, 115, 185, 150" /> 67<TextFgTentativeColor value="0, 0, 0, 128" /> <!-- Initial entry in text entry fields, e.g. "Click here to chat." -->
68<ScrollSelectedFGColor value="0, 30, 60, 255" /> <!-- Text color --> 68<TextEmbeddedItemReadOnlyColor value="58, 147, 242, 255" /> <!-- Text of read-only items embedded in notecards -->
69<ScrollUnselectedColor value="0, 30, 60, 255" /> <!-- Text color --> 69<TextEmbeddedItemColor value="0, 0, 128, 255" /> <!-- Text of items embedded in notecards -->
70<ScrollHighlightedColor value="145, 180, 220, 128" /> <!-- Hover color --> 70<TextDefaultColor value="0, 20, 0, 255"/> <!-- Non-keyword text in the script editor -->
71<ScrollbarThumbColor value="120, 160, 200, 255" /> 71<ScriptBgReadOnlyColor value="180, 180, 180, 255" /> <!-- Not used -->
72<ScrollbarTrackColor value="183, 202, 220, 255" /> 72
73 73<!-- LISTBOXES -->
74<!-- MENUS --> 74<ScrollBgReadOnlyColor value="255, 255, 255, 140" /> <!-- Background of read only lists -->
75<MenuBarBgColor value="185, 200, 220, 230" /> 75<ScrollBgWriteableColor value="255, 255, 255, 140" /> <!-- Background of editable lists, e.g. groups-->
76<MenuBarGodBgColor value="100, 200, 130, 230" /> 76<ScrollBGStripeColor value="145, 180, 220, 60" /> <!-- Background stripes in sortable lists, e.g. Events Search -->
77<MenuNonProductionGodBgColor value="100, 200, 130, 230" /> 77<ScrollDisabledColor value="128, 128, 128, 204" />
78<MenuNonProductionBgColor value="230, 70, 70, 230" /> 78<ScrollSelectedBGColor value="50, 115, 185, 150" /> <!-- Selected item in a list highlight -->
79<MenuDefaultBgColor value="210, 220, 230, 245" /> 79<ScrollSelectedFGColor value="0, 30, 60, 255" /> <!-- Text color -->
80<MenuItemDisabledColor value="0, 30, 60, 128" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) --> 80<ScrollUnselectedColor value="0, 30, 60, 255" /> <!-- Text color -->
81<MenuItemEnabledColor value="0, 30, 60, 255" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) --> 81<ScrollHighlightedColor value="145, 180, 220, 128" /> <!-- Hover color -->
82<MenuItemHighlightBgColor value="50, 115, 185, 100" /> 82<ScrollbarThumbColor value="120, 160, 200, 255" /> <!-- Scroll bar -->
83<MenuItemHighlightFgColor value="0, 30, 60, 255" /> <!-- Highlighted menu text color; also treeview node selection highlight --> 83<ScrollbarTrackColor value="183, 202, 220, 255" /> <!-- Scroll bar background -->
84<MenuPopupBgColor value="197, 217, 234, 240" /> 84
85 85<!-- MENUS -->
86<!-- PIE MENUS --> 86<MenuBarBgColor value="185, 200, 220, 230" /> <!-- Menu bar background -->
87<PieMenuBgColor value="118, 156, 201, 230" /> 87<MenuBarGodBgColor value="100, 200, 130, 230" /> <!-- Menu bar background with God Mode enabled -->
88<PieMenuLineColor value="255, 255, 255, 60" /> 88<MenuNonProductionGodBgColor value="100, 200, 130, 230" /> <!-- Beta viewer menu bar background -->
89<PieMenuSelectedColor value="185, 200, 220, 120" /> 89<MenuNonProductionBgColor value="230, 70, 70, 230" /> <!-- Beta viewer menu bar background with God Mode enabled -->
90 90<MenuDefaultBgColor value="210, 220, 230, 245" /> <!-- Menu background -->
91<!-- TOOLTIPS --> 91<MenuItemDisabledColor value="0, 30, 60, 128" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
92<ToolTipBgColor value="250, 255, 225, 230" /> 92<MenuItemEnabledColor value="0, 30, 60, 255" /> <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
93<ToolTipBorderColor value="171, 212, 245, 255" /> 93<MenuItemHighlightBgColor value="50, 115, 185, 100" /> <!-- Highlighted menu item background color -->
94<ToolTipTextColor value="0, 0, 0, 255" /> 94<MenuItemHighlightFgColor value="0, 30, 60, 255" /> <!-- Highlighted menu item text color; also treeview node selection highlight -->
95 95<MenuPopupBgColor value="197, 217, 234, 240" /> <!-- Right-click menu background -->
96<!-- NOTIFICATION POP-UPS --> 96
97<NotifyBoxColor value="170, 210, 255, 240" /> 97<!-- PIE MENUS -->
98<NotifyTextColor value="0, 30, 60, 255" /> 98<PieMenuBgColor value="118, 156, 201, 230" /> <!-- Color of pie menu -->
99<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts --> 99<PieMenuLineColor value="255, 255, 255, 60" /> <!-- Color of pie menu slice separators -->
100<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts --> 100<PieMenuSelectedColor value="185, 200, 220, 120" /> <!-- Color of pie menu slice when selected -->
101<GroupNotifyBoxColor value="170, 210, 255, 240" /> 101
102<GroupNotifyTextColor value="0, 30, 60, 255" /> 102<!-- MENU BAR -->
103 103<ParcelTextColor value="40, 40, 90, 255" /> <!-- Parcel name on menu bar, normal state -->
104<!-- CHAT AND IM HISTORY TEXTBOX COLORS --> 104<ParcelHoverColor value="70, 70, 100, 255" /> <!-- Parcel name on menu bar, hover state -->
105<ChatHistoryBgColor value="0, 30, 80, 200" /> 105<TimeTextColor value="0, 30, 60, 255" /> <!-- SL Time on menu bar -->
106<ChatHistoryTextColor value="255, 255, 255, 255" /> 106<BalanceTextColor value="0, 100, 40, 255" /> <!-- Linden dollar balance on menu bar -->
107<IMHistoryBgColor value="0, 30, 80, 200" /> 107<HealthTextColor value="110, 15, 15, 255" /> <!-- Damage meter text on menu bar -->
108<IMHistoryTextColor value="255, 255, 255, 255" /> 108
109 109<!-- TOOLTIPS -->
110<!-- IN-WORLD SELECTION --> 110<ToolTipBgColor value="250, 255, 225, 230" /> <!-- Tool tips, i.e. "Hover Tips" -->
111<SilhouetteParentColor value="255, 255, 0, 255" /> 111<ToolTipBorderColor value="171, 212, 245, 255" /> <!-- Not used -->
112<SilhouetteChildColor value="32, 106, 196, 255" /> 112<ToolTipTextColor value="0, 0, 0, 255" /> <!-- Tool tips text color -->
113<HighlightParentColor value="171, 212, 245, 255" /> 113
114<HighlightChildColor value="171, 212, 245, 255" /> 114<!-- NOTIFICATION POP-UPS -->
115<HighlightInspectColor value="255, 0, 255, 255" /> 115<NotifyBoxColor value="170, 210, 255, 240" /> <!-- Notification background, i.e. tp requests -->
116 116<NotifyTextColor value="0, 30, 60, 255" /> <!-- Notification text -->
117<!-- EDIT MODE GRID --> 117<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution permissions prompts -->
118<GridFocusPointColor value="255, 255, 255, 128" /> 118<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution permissions prompts -->
119<GridlineColor value="255, 255, 255, 255" /> 119<GroupNotifyBoxColor value="170, 210, 255, 240" /> <!-- Group notices background -->
120<GridlineBGColor value="235, 235, 255, 200" /> 120<GroupNotifyTextColor value="0, 30, 60, 255" /> <!-- Group notices text -->
121<GridlineShadowColor value="0, 0, 0, 80" /> 121
122 122<!-- ALERT BOX COLORS -->
123<!-- PROPERTY LINES --> 123<AlertBoxColor value="165, 180, 200, 245" /> <!-- Alert floaters, like the warning before returning objects -->
124<PropertyColorAvail value="0, 0, 0, 0" /> 124<AlertTextColor value="0, 30, 60, 255" /> <!-- Alert floater text -->
125<PropertyColorGroup value="0, 184, 184, 102" /> 125<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
126<PropertyColorOther value="255, 0, 0, 102" /> 126<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
127<PropertyColorSelf value="0, 255, 0, 102" /> 127
128<PropertyColorForSale value="255, 128, 0, 102" /> 128<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->
129<PropertyColorAuction value="128, 0, 255, 102" /> <!-- Match the color on the world map --> 129<ChatHistoryBgColor value="0, 30, 80, 200" /> <!-- Local Chat background -->
130 130<ChatHistoryTextColor value="255, 255, 255, 255" /> <!-- Local Chat text -->
131<!-- Icon Enable/Disable --> 131<IMHistoryBgColor value="0, 30, 80, 200" /> <!-- Instant Message background -->
132<IconEnabledColor value="255, 255, 255, 255"/> 132<IMHistoryTextColor value="255, 255, 255, 255" /> <!-- Instant Message text -->
133<IconDisabledColor value="147, 169, 213, 200"/> 133
134 134<!-- IN-WORLD SELECTION -->
135<!-- MINI-MAP --> 135<SilhouetteParentColor value="255, 255, 0, 255" /> <!-- Root prim selection outline -->
136<NetMapBackgroundColor value="0, 0, 0, 77" /> 136<SilhouetteChildColor value="32, 106, 196, 255" /> <!-- Child prim selection outline -->
137<NetMapYouOwnAboveWater value="0, 255, 255, 255" /> 137<HighlightParentColor value="171, 212, 245, 255" />
138<NetMapYouOwnBelowWater value="0, 200, 200, 255" /> 138<HighlightChildColor value="171, 212, 245, 255" />
139<NetMapGroupOwnAboveWater value="255, 0, 255, 255" /> 139<HighlightInspectColor value="255, 0, 255, 255" /> <!-- Selection outline when inspecting -->
140<NetMapGroupOwnBelowWater value="200, 0, 200, 255" /> 140
141<NetMapOtherOwnAboveWater value="60, 60, 60, 255" /> 141<!-- EDIT MODE GRID -->
142<NetMapOtherOwnBelowWater value="30, 30, 30, 255" /> 142<GridFocusPointColor value="255, 255, 255, 128" /> <!-- Not used -->
143 143<GridlineColor value="255, 255, 255, 255" /> <!-- Grid color -->
144<!-- HELP WINDOW --> 144<GridlineBGColor value="235, 235, 255, 200" /> <!-- Grid background color -->
145<HelpBgColor value="200, 209, 204, 255" /> 145<GridlineShadowColor value="0, 0, 0, 80" /> <!-- Grid drop shadow -->
146<HelpFgColor value="0, 0, 0, 255" /> 146
147<HelpScrollTrackColor value="0, 0, 0, 255" /> 147<!-- PROPERTY LINES -->
148<HelpScrollThumbColor value="255, 255, 255, 255" /> 148<PropertyColorAvail value="0, 0, 0, 0" />
149<HelpScrollHighlightColor value="115, 132, 155, 255" /> 149<PropertyColorGroup value="0, 184, 184, 102" /> <!-- Property group owns -->
150<HelpScrollShadowColor value="0, 0, 0, 255" /> 150<PropertyColorOther value="255, 0, 0, 102" /> <!-- Property others own -->
151 151<PropertyColorSelf value="0, 255, 0, 102" /> <!-- Property you own -->
152<!-- MISC --> 152<PropertyColorForSale value="255, 128, 0, 102" /> <!-- Property for sale -->
153<AvatarNameColor value="251, 175, 93, 255" /> <!-- Text color of avatar nametags --> 153<PropertyColorAuction value="128, 0, 255, 102" /> <!-- Match the color on the world map -->
154<FocusColor value="239, 156, 0, 255" /> <!-- Color of the glow around UI controls with keyboard focus --> 154
155<FloaterButtonImageColor value="255, 255, 255, 255" /> <!-- The floater buttons (like the close box) are white images that receive this color. --> 155<!-- MEDIA ICONS -->
156<ButtonCautionImageColor value="255, 255, 255, 255" /> <!-- Match the caution dialog buttons to the default --> 156<IconEnabledColor value="255, 255, 255, 255"/> <!-- Media/music icon enabled -->
157<HealthTextColor value="255, 255, 255, 255" /> 157<IconDisabledColor value="147, 169, 213, 200"/> <!-- Media/music icon disabled -->
158<MapAutopilotColor value="255, 128, 0, 255" /> 158
159<ContextSilhouetteColor value="239, 156, 0, 255" /> <!-- For "context" highlighting, i.e. pie menu --> 159<!-- MINI-MAP -->
160<ScriptBgReadOnlyColor value="180, 180, 180, 255" /> 160<NetMapBackgroundColor value="0, 0, 0, 77" /> <!-- Mini-map floater background -->
161<ParcelTextColor value="40, 40, 90, 255" /> <!-- Parcel name on menu bar, normal state --> 161<NetMapYouOwnAboveWater value="0, 255, 255, 255" /> <!-- Objects owned by you above water -->
162<ParcelHoverColor value="70, 70, 100, 255" /> <!-- Parcel name on menu bar, hover state --> 162<NetMapYouOwnBelowWater value="0, 200, 200, 255" /> <!-- Objects owned by you below water -->
163<TimeTextColor value="0, 30, 60, 255" /> <!-- SL Time on menu bar --> 163<NetMapGroupOwnAboveWater value="255, 0, 255, 255" /> <!-- Group owned objects above water -->
164<BalanceTextColor value="0, 100, 40, 255" /> <!-- Linden dollar balance on menu bar --> 164<NetMapGroupOwnBelowWater value="200, 0, 200, 255" /> <!-- Group owned objects below water -->
165<HealthTextColor value="110, 15, 15, 255" /> <!-- Damage meter text on menu bar --> 165<NetMapOtherOwnAboveWater value="60, 60, 60, 255" /> <!-- Objects owned by others above water -->
166<GroupOverTierColor value="110, 15, 15, 255" /> <!-- Warning text in Group Info window --> 166<NetMapOtherOwnBelowWater value="30, 30, 30, 255" /> <!-- Objects owned by others below water -->
167<FilterBackgroundColor value="75, 75, 150, 180" /> <!-- Matching region of Inventory search text --> 167<NetMapGlyphColorAvatar value="0, 255, 0, 255" /> <!-- Also the color of avatar glyphs on the map -->
168<FilterTextColor value="255, 200, 70, 255" /> 168<NetMapGlyphColorFriend value="255, 255, 0, 255" />
169<InventoryItemSuffixColor value="120, 70, 55, 255"/> 169
170<InventorySearchStatusColor value="0, 0, 0, 255" /> 170<!-- INVENTORY -->
171<ConsoleBackground value="0, 0, 0, 255" /> 171<InventoryBackgroundColor value="255, 255, 255, 80"/> <!-- Inventory floater background -->
172<FolderViewLoadingMessageTextColor value="240, 165, 90, 255"/> 172<FolderViewLoadingMessageTextColor value="240, 165, 90, 255"/> <!-- "loading..." -->
173<InventoryBackgroundColor value="255, 255, 255, 80"/> 173<InventoryItemSuffixColor value="120, 70, 55, 255"/> <!-- "worn", "no modify", etc -->
174 174<FilterBackgroundColor value="75, 75, 150, 180" /> <!-- Inventory search background -->
175 <!-- Alert box colors --> 175<FilterTextColor value="255, 200, 70, 255" /> <!-- Inventory search text -->
176<AlertBoxColor value="165, 180, 200, 245"/> 176<InventorySearchStatusColor value="0, 0, 0, 255" /> <!-- "Searching..." -->
177<AlertTextColor value="0, 30, 60, 255"/> 177
178<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts --> 178<!-- HELP WINDOW -->
179<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts --> 179<HelpBgColor value="200, 209, 204, 255" />
180 180<HelpFgColor value="0, 0, 0, 255" />
181<!-- Multi sliders, as in the sky animation setting --> 181<HelpScrollTrackColor value="0, 0, 0, 255" />
182<MultiSliderDisabledThumbColor value="0, 0, 0, 255"/> 182<HelpScrollThumbColor value="255, 255, 255, 255" />
183<MultiSliderThumbCenterColor value="183, 184, 188, 255"/> 183<HelpScrollHighlightColor value="115, 132, 155, 255" />
184<MultiSliderThumbOutlineColor value="0, 0, 0, 255"/> 184<HelpScrollShadowColor value="0, 0, 0, 255" />
185<MultiSliderTrackColor value="30, 30, 30, 255"/> 185
186<MultiSliderThumbCenterSelectedColor value="255, 50, 50, 255"/> 186<!-- MISC -->
187<MultiSliderTriangleColor value="255, 255, 50, 255"/> 187<AvatarNameColor value="251, 175, 93, 255" /> <!-- Text color of avatar nametags -->
188</settings> 188<FocusColor value="239, 156, 0, 255" /> <!-- Color of the glow around UI controls with keyboard focus -->
189<FloaterButtonImageColor value="255, 255, 255, 255" /> <!-- The floater buttons (like the close box) are white images that receive this color. -->
190<ButtonCautionImageColor value="255, 255, 255, 255" /> <!-- Match the caution dialog buttons to the default -->
191<MapAutopilotColor value="255, 128, 0, 255" />
192<ContextSilhouetteColor value="239, 156, 0, 255" /> <!-- For "context" highlighting, i.e. pie menu -->
193<GroupOverTierColor value="110, 15, 15, 255" /> <!-- Warning text in Group Info window -->
194<ConsoleBackground value="0, 0, 0, 255" /> <!-- Background for inworld chat -->
195
196</settings>
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index be28809..62c9537 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -75,30 +75,60 @@ class ViewerManifest(LLManifest):
75 self.path("*.txt") 75 self.path("*.txt")
76 self.end_prefix("fonts") 76 self.end_prefix("fonts")
77 77
78 # skins 78 # skins
79 if self.prefix(src="skins"): 79 if self.prefix(src="skins"):
80 self.path("paths.xml") 80 self.path("paths.xml")
81 # include the entire textures directory recursively 81
82 if self.prefix(src="*/textures"): 82 # include the entire textures directory recursively
83 self.path("*.tga") 83 if self.prefix(src="*/textures"):
84 self.path("*.j2c") 84 self.path("*.tga")
85 self.path("*.jpg") 85 self.path("*.j2c")
86 self.path("*.png") 86 self.path("*.jpg")
87 self.path("textures.xml") 87 self.path("*.png")
88 self.end_prefix("*/textures") 88 self.path("textures.xml")
89 self.path("*/xui/*/*.xml") 89 self.end_prefix("*/textures")
90 self.path("*/*.xml") 90
91 91 self.path("*/xui/*/*.xml")
92 # Local HTML files (e.g. loading screen) 92 self.path("*/*.xml")
93 if self.prefix(src="*/html"): 93
94 self.path("*.png") 94 # Local HTML files (e.g. loading screen)
95 self.path("*/*/*.html") 95 if self.prefix(src="*/html"):
96 self.path("*/*/*.gif") 96 self.path("*.png")
97 self.end_prefix("*/html") 97 self.path("*/*/*.html")
98 self.end_prefix("skins") 98 self.path("*/*/*.gif")
99 self.end_prefix("*/html")
100
101 self.end_prefix("skins")
102
99 self.path("lsl_guide.html") 103 self.path("lsl_guide.html")
100 self.path("gpu_table.txt") 104 self.path("gpu_table.txt")
101 105
106
107 # Gather up the README file, etc.
108 def gather_documents(self):
109 # From the top level directory (imprudence)
110 if self.prefix("../../..", dst=""):
111 self.path("README.txt")
112 self.path("MANIFESTO.txt")
113 self.path("CONTRIBUTE.txt")
114 self.path("RELEASE_NOTES.txt")
115 self.path("ChangeLog.txt")
116 self.end_prefix("../../..")
117
118 # From the linden directory
119 if self.prefix("../..", dst="doc"):
120 self.path("LICENSE-source.txt")
121 self.path("LICENSE-logos.txt", "LICENSE-artwork.txt")
122 self.end_prefix("../..")
123
124 # From the linden/doc directory
125 if self.prefix("../../doc", dst="doc"):
126 self.path("contributions.txt")
127 self.path("GPL-license.txt", "GPL.txt")
128 self.path("FLOSS-exception.txt")
129 self.end_prefix("../../doc")
130
131
102 def login_channel(self): 132 def login_channel(self):
103 """Channel reported for login and upgrade purposes ONLY; 133 """Channel reported for login and upgrade purposes ONLY;
104 used for A/B testing""" 134 used for A/B testing"""
@@ -161,7 +191,13 @@ class WindowsManifest(ViewerManifest):
161 #'../llkdu/relwithdebinfo/llkdu.dll', 191 #'../llkdu/relwithdebinfo/llkdu.dll',
162 #'../../libraries/i686-win32/lib/release/llkdu.dll'), 192 #'../../libraries/i686-win32/lib/release/llkdu.dll'),
163 # dst='llkdu.dll') 193 # dst='llkdu.dll')
164 self.path(src="licenses-win32.txt", dst="licenses.txt") 194
195 self.gather_documents()
196
197 if self.prefix("../..", dst="doc"):
198 self.path("LICENSE-libraries-win32.txt")
199 self.end_prefix("../..")
200
165 201
166 self.path("featuretable.txt") 202 self.path("featuretable.txt")
167 203
@@ -386,7 +422,13 @@ class DarwinManifest(ViewerManifest):
386 self.path("*.tif") 422 self.path("*.tif")
387 self.end_prefix("cursors_mac") 423 self.end_prefix("cursors_mac")
388 424
389 self.path("licenses-mac.txt", dst="licenses.txt") 425 # From the linden directory
426 if self.prefix("../..", dst="doc"):
427 self.path("LICENSE-libraries-mac.txt")
428 self.end_prefix("../..")
429
430 self.gather_documents()
431
390 self.path("featuretable_mac.txt") 432 self.path("featuretable_mac.txt")
391 self.path("SecondLife.nib") 433 self.path("SecondLife.nib")
392 434
@@ -525,16 +567,23 @@ class DarwinManifest(ViewerManifest):
525class LinuxManifest(ViewerManifest): 567class LinuxManifest(ViewerManifest):
526 def construct(self): 568 def construct(self):
527 super(LinuxManifest, self).construct() 569 super(LinuxManifest, self).construct()
528 self.path("licenses-linux.txt","licenses.txt") 570
529 self.path("res/imprudence_icon.png","imprudence_icon.png") 571 self.path("res/imprudence_icon.png","imprudence_icon.png")
530 if self.prefix("linux_tools", dst=""): 572 if self.prefix("linux_tools", dst=""):
531 self.path("client-readme.txt","README-linux.txt") 573 #self.path("client-readme.txt","README-linux.txt")
532 #self.path("client-readme-voice.txt","README-linux-voice.txt") 574 #self.path("client-readme-voice.txt","README-linux-voice.txt")
533 self.path("wrapper.sh","imprudence") 575 self.path("wrapper.sh","imprudence")
534 self.path("handle_secondlifeprotocol.sh") 576 self.path("handle_secondlifeprotocol.sh")
535 self.path("register_secondlifeprotocol.sh") 577 self.path("register_secondlifeprotocol.sh")
536 self.end_prefix("linux_tools") 578 self.end_prefix("linux_tools")
537 579
580 self.gather_documents()
581
582 # From the linden directory
583 if self.prefix("../..", dst="doc"):
584 self.path("LICENSE-libraries-linux.txt")
585 self.end_prefix("../..")
586
538 # Create an appropriate gridargs.dat for this package, denoting required grid. 587 # Create an appropriate gridargs.dat for this package, denoting required grid.
539 self.put_in_file(self.flags_list(), 'gridargs.dat') 588 self.put_in_file(self.flags_list(), 'gridargs.dat')
540 589