diff options
author | McCabe Maxsted | 2009-10-13 11:46:35 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-10-13 11:46:35 -0700 |
commit | c48fd00d2069a48478f4fa5da8c303444a409cfe (patch) | |
tree | c399513ebc186db82eb0f8b637ce69c8f27bb91d | |
parent | Parcel highlighting when selecting a name in radar is less buggy (diff) | |
download | meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.zip meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.gz meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.bz2 meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.xz |
Combine the two mini-map mute buttons into one
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/llfloatermap.cpp | 13 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index b535237..2c5dffe 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,5 +1,11 @@ | |||
1 | 2009-10-13 McCabe Maxsted <hakushakukun@gmail.com> | 1 | 2009-10-13 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 2 | ||
3 | * Combine the two mini-map mute buttons into one. | ||
4 | |||
5 | modified: linden/indra/newview/llfloatermap.cpp | ||
6 | modified: linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml | ||
7 | |||
8 | |||
3 | * Parcel highlighting when selecting a name in radar is less buggy. | 9 | * Parcel highlighting when selecting a name in radar is less buggy. |
4 | 10 | ||
5 | modified: linden/indra/newview/llfloatermap.cpp | 11 | modified: linden/indra/newview/llfloatermap.cpp |
diff --git a/linden/indra/newview/llfloatermap.cpp b/linden/indra/newview/llfloatermap.cpp index 256c52e..31e57a0 100644 --- a/linden/indra/newview/llfloatermap.cpp +++ b/linden/indra/newview/llfloatermap.cpp | |||
@@ -520,10 +520,21 @@ void LLFloaterMap::toggleButtons() | |||
520 | childSetEnabled("freeze_btn", enable_estate); | 520 | childSetEnabled("freeze_btn", enable_estate); |
521 | childSetEnabled("eject_btn", enable_estate); | 521 | childSetEnabled("eject_btn", enable_estate); |
522 | childSetEnabled("mute_btn", enable); | 522 | childSetEnabled("mute_btn", enable); |
523 | childSetEnabled("unmute_btn", enable_unmute); | ||
524 | childSetEnabled("ar_btn", enable); | 523 | childSetEnabled("ar_btn", enable); |
525 | childSetEnabled("estate_eject_btn", enable_estate); | 524 | childSetEnabled("estate_eject_btn", enable_estate); |
526 | 525 | ||
526 | if (enable_unmute) | ||
527 | { | ||
528 | childSetVisible("mute_btn", false); | ||
529 | childSetEnabled("unmute_btn", true); | ||
530 | childSetVisible("unmute_btn", true); | ||
531 | } | ||
532 | else | ||
533 | { | ||
534 | childSetVisible("mute_btn", true); | ||
535 | childSetVisible("unmute_btn", false); | ||
536 | } | ||
537 | |||
527 | // [RLVa:KB] - Imprudence-1.2.0 | 538 | // [RLVa:KB] - Imprudence-1.2.0 |
528 | // Bit clumsy, but this way the RLV stuff is in its own separate block and keeps the code above clean - Kitty | 539 | // Bit clumsy, but this way the RLV stuff is in its own separate block and keeps the code above clean - Kitty |
529 | if ( (rlv_handler_t::isEnabled()) && (mSelectedAvatar.notNull()) ) | 540 | if ( (rlv_handler_t::isEnabled()) && (mSelectedAvatar.notNull()) ) |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml b/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml index 3c860e9..57f955f 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml | |||
@@ -70,7 +70,7 @@ | |||
70 | <button bottom_delta="-25" follows="top|right" height="22" label="Mute..." | 70 | <button bottom_delta="-25" follows="top|right" height="22" label="Mute..." |
71 | left_delta="0" name="mute_btn" | 71 | left_delta="0" name="mute_btn" |
72 | tool_tip="" width="80" /> | 72 | tool_tip="" width="80" /> |
73 | <button bottom_delta="-25" follows="top|right" height="22" label="Unmute..." | 73 | <button bottom_delta="0" follows="top|right" height="22" label="Unmute..." |
74 | left_delta="0" name="unmute_btn" | 74 | left_delta="0" name="unmute_btn" |
75 | tool_tip="" width="80" /> | 75 | tool_tip="" width="80" /> |
76 | <button bottom_delta="-25" follows="top|right" height="22" label="Report..." | 76 | <button bottom_delta="-25" follows="top|right" height="22" label="Report..." |