Break out LLMakeOutfitDialog.

Added "Make Outfit..." to Edit menu and Create->"New Outfit" to inventory floater menu.
Cleaned up LLMakeOutfitDialog, using boost::bind and less waste.
Moved onMakeOutfitCommit() to LLMakeOutfitDialog as makeOutfit()
Also changes LLFloaterCustomize's callbacks to use boost::bind
Give new outfit dialog a title instead of a heading.

Small fix to mistake with AnnounceSnapshots xmlstuffs.
This commit is contained in:
Lirusaito
2012-12-29 19:24:17 -05:00
parent cf5838505f
commit 2c491bc905
12 changed files with 327 additions and 286 deletions

View File

@@ -190,6 +190,10 @@
<on_click filter="" function="Inventory.DoCreate" userdata="eyes" />
</menu_item_call>
</menu>
<menu_item_call bottom_delta="-18" height="18" label="New Outfit" left="0"
mouse_opaque="true" name="New Outfit" width="125">
<on_click filter="" function="Inventory.DoCreate" userdata="outfit" />
</menu_item_call>
</menu>
<menu bottom_delta="64" drop_shadow="true" height="49"
label="Sort" left="0" mouse_opaque="false" name="Sort" opaque="true"

View File

@@ -2,7 +2,7 @@
<floater border="true" bottom="167" can_close="false" can_drag_on_left="false"
can_minimize="false" can_resize="false" can_tear_off="true" enabled="true"
height="530" left="278" min_height="100" min_width="100"
mouse_opaque="true" name="modal container" title="" width="515">
mouse_opaque="true" name="modal container" title="Make New Outfit" width="515">
<button bottom="5" enabled="true" font="SansSerif" halign="center" height="20"
label="Save" label_selected="Save" left="171" mouse_opaque="true"
name="Save" scale_image="true" width="82" />
@@ -225,12 +225,12 @@
height="16" initial_value="false" label="Bottom Right" left="413"
mouse_opaque="true" name="checkbox_Bottom Right" radio_style="false"
width="100" />
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
<!--text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-24" drop_shadow_visible="true" enabled="true" follows="left|top"
font="SansSerif" h_pad="0" halign="left" height="16" left="13"
mouse_opaque="true" name="Make New Outfit" v_pad="0" width="489">
Make New Outfit
</text>
</text-->
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-102" drop_shadow_visible="true" enabled="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="70" left="13"

View File

@@ -240,6 +240,10 @@
<on_click function="ShowFloater" userdata="appearance" />
<on_enable function="Edit.EnableCustomizeAvatar" />
</menu_item_call>
<menu_item_call bottom="-362" enabled="true" height="19" label="Make Outfit..." left="0"
mouse_opaque="true" name="Make Outfit..." width="153">
<on_click function="ShowFloater" userdata="outfit" />
</menu_item_call>
<menu_item_call bottom="-362" enabled="true" height="19" label="Display Name..." left="0"
mouse_opaque="true" name="Display Name..." width="153">
<on_click function="ShowFloater" userdata="displayname" />