PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/menu_outfit_gear.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 223 lines | 218 code | 2 blank | 3 comment | 0 complexity | a06a2cbd950a665b3e8d6e324e33b660 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<toggleable_menu
  3 layout="topleft"
  4 visible="false"
  5 name="Gear Outfit">
  6    <menu_item_call
  7     label="Wear - Replace Current Outfit"
  8     layout="topleft"
  9     name="wear">
 10        <on_click
 11         function="Gear.Wear" />
 12        <on_enable
 13         function="Gear.OnEnable"
 14         parameter="wear" />
 15        <on_visible
 16         function="Gear.OnVisible"
 17         parameter="wear" />
 18    </menu_item_call>
 19    <menu_item_call
 20     label="Wear - Add to Current Outfit"
 21     layout="topleft"
 22     name="wear_add">
 23        <on_click
 24         function="Gear.WearAdd" />
 25        <on_enable
 26         function="Gear.OnEnable"
 27         parameter="wear_add" />
 28    </menu_item_call>
 29    <menu_item_call
 30     label="Take Off - Remove from Current Outfit"
 31     layout="topleft"
 32     name="take_off">
 33        <on_click
 34         function="Gear.TakeOff" />
 35        <on_enable
 36         function="Gear.OnEnable"
 37         parameter="take_off" />
 38        <on_visible
 39         function="Gear.OnVisible"
 40         parameter="take_off" />
 41    </menu_item_call>
 42
 43            <menu_item_separator name="sepatator1" />
 44            <!-- copied (with minor modifications) from menu_inventory_add.xml -->
 45            <!--  *TODO: generate dynamically? -->
 46            <menu
 47             height="175"
 48             label="New Clothes"
 49             layout="topleft"
 50             left_delta="0"
 51             mouse_opaque="false"
 52             name="New Clothes"
 53             top_pad="514"
 54             width="125">
 55                <menu_item_call
 56                 label="New Shirt"
 57                 layout="topleft"
 58                 name="New Shirt">
 59                    <menu_item_call.on_click
 60                     function="Gear.Create"
 61                     parameter="shirt" />
 62                </menu_item_call>
 63                <menu_item_call
 64                 label="New Pants"
 65                 layout="topleft"
 66                 name="New Pants">
 67                    <menu_item_call.on_click
 68                     function="Gear.Create"
 69                     parameter="pants" />
 70                </menu_item_call>
 71                <menu_item_call
 72                 label="New Shoes"
 73                 layout="topleft"
 74                 name="New Shoes">
 75                    <menu_item_call.on_click
 76                     function="Gear.Create"
 77                     parameter="shoes" />
 78                </menu_item_call>
 79                <menu_item_call
 80                 label="New Socks"
 81                 layout="topleft"
 82                 name="New Socks">
 83                    <menu_item_call.on_click
 84                     function="Gear.Create"
 85                     parameter="socks" />
 86                </menu_item_call>
 87                <menu_item_call
 88                 label="New Jacket"
 89                 layout="topleft"
 90                 name="New Jacket">
 91                    <menu_item_call.on_click
 92                     function="Gear.Create"
 93                     parameter="jacket" />
 94                </menu_item_call>
 95                <menu_item_call
 96                 label="New Skirt"
 97                 layout="topleft"
 98                 name="New Skirt">
 99                    <menu_item_call.on_click
100                     function="Gear.Create"
101                     parameter="skirt" />
102                </menu_item_call>
103                <menu_item_call
104                 label="New Gloves"
105                 layout="topleft"
106                 name="New Gloves">
107                    <menu_item_call.on_click
108                     function="Gear.Create"
109                     parameter="gloves" />
110                </menu_item_call>
111                <menu_item_call
112                 label="New Undershirt"
113                 layout="topleft"
114                 name="New Undershirt">
115                    <menu_item_call.on_click
116                     function="Gear.Create"
117                     parameter="undershirt" />
118                </menu_item_call>
119                <menu_item_call
120                 label="New Underpants"
121                 layout="topleft"
122                 name="New Underpants">
123                    <menu_item_call.on_click
124                     function="Gear.Create"
125                     parameter="underpants" />
126                </menu_item_call>
127                <menu_item_call
128                 label="New Alpha"
129                 layout="topleft"
130                 name="New Alpha">
131                    <menu_item_call.on_click
132                     function="Gear.Create"
133                     parameter="alpha" />
134                </menu_item_call>
135                <menu_item_call
136                 label="New Physics"
137                 layout="topleft"
138                 name="New Physics">
139                    <menu_item_call.on_click
140                     function="Gear.Create"
141                     parameter="physics" />
142                </menu_item_call>
143                <menu_item_call
144                 label="New Tattoo"
145                 layout="topleft"
146                 name="New Tattoo">
147                    <menu_item_call.on_click
148                     function="Gear.Create"
149                     parameter="tattoo" />
150                </menu_item_call>
151            </menu>
152            <menu
153             height="85"
154             label="New Body Parts"
155             layout="topleft"
156             left_delta="0"
157             mouse_opaque="false"
158             name="New Body Parts"
159             top_pad="514"
160             width="118">
161                <menu_item_call
162                 label="New Shape"
163                 layout="topleft"
164                 name="New Shape">
165                    <menu_item_call.on_click
166                     function="Gear.Create"
167                     parameter="shape" />
168                </menu_item_call>
169                <menu_item_call
170                 label="New Skin"
171                 layout="topleft"
172                 name="New Skin">
173                    <menu_item_call.on_click
174                     function="Gear.Create"
175                     parameter="skin" />
176                </menu_item_call>
177                <menu_item_call
178                 label="New Hair"
179                 layout="topleft"
180                 name="New Hair">
181                    <menu_item_call.on_click
182                     function="Gear.Create"
183                     parameter="hair" />
184                </menu_item_call>
185                <menu_item_call
186                 label="New Eyes"
187                 layout="topleft"
188                 name="New Eyes">
189                    <menu_item_call.on_click
190                     function="Gear.Create"
191                     parameter="eyes" />
192                </menu_item_call>
193            </menu>
194            <!-- copied from menu_inventory_add.xml -->
195
196    <menu_item_separator name="sepatator2" />
197    <menu_item_call
198     label="Rename Outfit"
199     layout="topleft"
200     name="rename">
201        <on_click
202         function="Gear.Rename" />
203        <on_enable
204         function="Gear.OnEnable"
205         parameter="rename" />
206        <on_visible
207         function="Gear.OnVisible"
208         parameter="rename" />
209    </menu_item_call>
210    <menu_item_call
211     label="Delete Outfit"
212     layout="topleft"
213     name="delete_outfit">
214        <on_click
215         function="Gear.Delete" />
216        <on_enable
217         function="Gear.OnEnable"
218         parameter="delete" />
219        <on_visible
220         function="Gear.OnVisible"
221         parameter="delete" />
222    </menu_item_call>
223</toggleable_menu>