FIRE-12939: Add outfit count to outfits list

Ansariel 2014-09-14 20:57:50 +02:00
parent 3ac8f36cc4
commit ebb9150d21
8 changed files with 84 additions and 0 deletions

View File

@ -508,6 +508,9 @@ void LLOutfitsList::refreshList(const LLUUID& category_id)
}
// </FS:ND>
// <FS:Ansariel> FIRE-12939: Add outfit count to outfits list
getChild<LLTextBox>("OutfitcountText")->setTextArg("COUNT", llformat("%d", cat_array.size()));
// Handle added tabs.
for (uuid_vec_t::const_iterator iter = vadded.begin();
iter != vadded.end();

View File

@ -56,6 +56,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"

View File

@ -6,6 +6,9 @@
</accordion>
<panel name="bottom_panel">
<menu_button name="options_gear_btn" tool_tip="Zusätzliche Optionen anzeigen"/>
<text name="OutfitcountText">
[COUNT] Outfits
</text>
<button name="trash_btn" tool_tip="Ausgewähltes Outfit löschen"/>
</panel>
</panel>

View File

@ -60,6 +60,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"

View File

@ -56,6 +56,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"

View File

@ -60,6 +60,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"

View File

@ -60,6 +60,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"

View File

@ -56,6 +56,19 @@
left_pad="1"
name="dummy_icon"
width="243"/>
<text
type="string"
length="1"
height="25"
layout="topleft"
left_delta="5"
name="OutfitcountText"
font="SansSerifMedium"
follows="bottom|left|right"
v_pad="6"
width="238">
[COUNT] Outfits
</text>
<button
follows="bottom|right"
height="25"