PageRenderTime 245ms CodeModel.GetById 121ms app.highlight 6ms RepoModel.GetById 115ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 388 lines | 388 code | 0 blank | 0 comment | 0 complexity | b8669b7c6a64b9276f62e1cdb7c496d5 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<panel
  3 bg_opaque_image="Volume_Background" 
  4 bg_alpha_image="Volume_Background" 
  5  background_opaque="true"
  6	background_visible="true"
  7	layout="topleft"
  8	width="328"
  9	height="230"
 10	name="nearby_media"
 11	help_topic="nearby_media">
 12  <string name="media_item_count_format">(%ld media items)</string>
 13  <string name="empty_item_text">&lt;empty&gt;</string>
 14  <string name="parcel_media_name">Parcel Streaming Media</string>
 15  <string name="parcel_audio_name">Parcel Streaming Audio</string>
 16  <string name="playing_suffix">(playing)</string>
 17  <panel
 18	  bevel_style="in"
 19    background_visible="false" 
 20	  follows="left|right|top"
 21	  top="0"
 22	  height="35"
 23	  name="minimized_controls" 
 24	  left="0">
 25	<button
 26		name="all_nearby_media_disable_btn"
 27		follows="left"
 28		tool_tip="Turn all nearby media off"
 29		left="8"
 30		width="95"
 31		height="22"
 32		label="Stop All">
 33	  <button.commit_callback
 34		  function="MediaListCtrl.DisableAll" />
 35	</button>
 36	<button
 37		name="all_nearby_media_enable_btn"
 38		follows="left"
 39		tool_tip="Turn all nearby media on"
 40		left_pad="4"
 41		width="95"
 42		height="22"
 43		label="Start All">
 44	  <button.commit_callback
 45		  function="MediaListCtrl.EnableAll" />
 46	</button>
 47	<button
 48		name="open_prefs_btn"
 49		image_overlay="Icon_Gear_Foreground"
 50		image_disabled="PushButton_Disabled"
 51		image_disabled_selected="PushButton_Disabled"
 52		image_selected="PushButton_Selected"
 53		image_unselected="PushButton_Off"
 54		hover_glow_amount="0.15"
 55		tool_tip = "Bring up media prefs"
 56		top_delta="0"
 57		left_pad="4"
 58		height="22"
 59		width="28">
 60	  <button.commit_callback
 61		  function="MediaListCtrl.GoMediaPrefs" />
 62	</button>
 63	<button
 64		name="more_btn"
 65		follows="right"
 66		tool_tip="Advanced Controls"
 67		top_delta="0"
 68		right="-8"
 69		width="66"
 70		height="22"
 71		is_toggle="true"
 72		label="More &gt;&gt;"
 73		label_selected="&lt;&lt; Less">
 74	  <button.commit_callback
 75		  function="MediaListCtrl.MoreLess" />
 76	</button>
 77  </panel>
 78  <panel
 79	  name="nearby_media_panel"
 80	  bevel_style="in"
 81	  border_style="line"
 82	  bg_alpha_color="0 0 0 0"
 83	  bg_opaque_color="0 0 0 0.3"
 84	  follows="left|right|top|bottom"
 85	  top_delta="30"
 86	  right="-1"
 87	  left="0"
 88	  height="200">
 89	<text
 90		type="string"
 91		length="1"
 92		follows="top|left"
 93		font="SansSerif"
 94		left="10"
 95		name="nearby_media_title"
 96		width="100">
 97	  Nearby Media
 98	</text>
 99	<text
100		type="string"
101		length="1"
102		follows="top|left"
103		font="SansSerif"
104		top_pad="15"
105		left="10"
106		name="show_text"
107		width="62">
108	  Show:
109	</text>
110	<combo_box
111		height="23"
112		left="72"
113		width="140"
114		top_delta="-5"
115		follows="left|top"
116		name="show_combo">
117	  <combo_box.item
118		  label="All"
119		  value="0"
120		  name="All" />
121	  <combo_box.item
122		  label="In this Parcel"
123		  value="2"
124		  name="WithinParcel" />
125	  <combo_box.item
126		  label="Outside this Parcel"
127		  value="3"
128		  name="OutsideParcel" />
129	  <combo_box.item
130		  label="On other Avatars"
131		  value="4"
132		  name="OnOthers" />
133	</combo_box>
134	<scroll_list
135		follows="left|top|bottom|right"
136		column_padding="0"
137		height="105"
138		draw_heading="false"
139		draw_stripes="true"
140		bg_stripe_color="0.25 0.25 0.25 0.25"
141		top_pad="8"
142		left="10"
143		right="-10"
144		name="media_list">
145	  <scroll_list.columns
146		  type="checkbox"
147		  width="-1"
148		  label=""
149		  name="media_checkbox_ctrl" />
150	  <scroll_list.columns
151		  sort_column="media_proximity"
152		  width="-1"
153		  label="Proximity"
154		  name="media_proximity" />
155	  <scroll_list.columns
156		  sort_column="media_visibility"
157		  width="-1"
158		  label="Visible"
159		  name="media_visibility" />
160	  <scroll_list.columns
161		  sort_column="media_class"
162		  width="-1"
163		  label="Class"
164		  name="media_class" />
165	  <scroll_list.columns
166		  label="Name"
167		  name="media_name" />
168	  <scroll_list.columns
169		  sort_column="media_debug"
170		  width="-1"
171		  label="Debug"
172		  name="media_debug" />
173	</scroll_list>
174	<panel
175		bevel_style="in"
176		background_visible="false" 
177		follows="left|right|bottom"
178		name="media_controls_panel"
179		top_pad="5"
180		height="30"
181		left="10"
182		right="-10">
183	  <layout_stack
184		  name="media_controls"
185		  follows="left|right|top"
186		  animate="false"
187		  height="26"
188		  layout="topleft"
189		  top="4"
190		  left="8"
191		  right="-10"
192		  border_size="0"
193		  mouse_opaque="false"
194		  orientation="horizontal">
195		<layout_panel
196			name="stop"
197			mouse_opaque="false"
198			auto_resize="false"
199			layout="topleft"
200			top="0"
201			height="22"
202			min_width="22"
203			width="22">
204		  <button
205			  name="stop_btn"
206			  follows="top"
207			  image_overlay="Stop_Off"
208			  image_disabled="PushButton_Disabled"
209			  image_disabled_selected="PushButton_Disabled"
210			  image_selected="PushButton_Selected"
211			  image_unselected="PushButton_Off"
212			  hover_glow_amount="0.15"
213			  layout="topleft"
214			  tool_tip="Stop selected media"
215			  top="0"
216			  height="22"
217			  width="22">
218			<button.commit_callback
219				function="SelectedMediaCtrl.Stop" />
220		  </button>
221		</layout_panel>
222		<layout_panel
223			name="play"
224			mouse_opaque="false"
225			auto_resize="false"
226			layout="topleft"
227			top="0"
228			height="22"
229			min_width="22"
230			width="22">
231		  <button
232			  name="play_btn"
233			  follows="top"
234			  image_overlay="Play_Off"
235			  image_disabled="PushButton_Disabled"
236			  image_disabled_selected="PushButton_Disabled"
237			  image_selected="PushButton_Selected"
238			  image_unselected="PushButton_Off"
239			  hover_glow_amount="0.15"
240			  layout="topleft"
241			  tool_tip = "Play selected media"
242			  top="0"
243			  height="22"
244			  width="22">
245			<button.commit_callback
246				function="SelectedMediaCtrl.Play" />
247		  </button>
248		</layout_panel>
249		<layout_panel
250			name="pause"
251			mouse_opaque="false"
252			auto_resize="false"
253			layout="topleft"
254			top="0"
255			min_width="22"
256			width="22">
257		  <button
258			  name="pause_btn"
259			  follows="top"
260			  image_overlay="Pause_Off"
261			  image_disabled="PushButton_Disabled"
262			  image_disabled_selected="PushButton_Disabled"
263			  image_selected="PushButton_Selected"
264			  image_unselected="PushButton_Off"
265			  hover_glow_amount="0.15"
266			  layout="topleft"
267			  top="0"
268			  height="22"
269			  width="22"
270			  tool_tip = "Pause selected media">
271			<button.commit_callback
272				function="SelectedMediaCtrl.Pause" />
273		  </button>
274		</layout_panel>
275		<layout_panel
276			name="volume_slider_ctrl"
277			mouse_opaque="false"
278			auto_resize="true"
279			follows="left|right"
280			layout="topleft"
281			top="0"
282			height="22"
283			min_width="100"
284			width="200">
285		  <slider_bar
286			  name="volume_slider"
287			  follows="left|right|top"
288			  top="0"
289			  height="22"
290			  increment="0.01"
291			  initial_value="0.5"
292			  layout="topleft"
293			  tool_tip="Audio volume for selected media"
294			  width="200">
295			<slider_bar.commit_callback
296				function="SelectedMediaCtrl.Volume" />
297		  </slider_bar>
298		</layout_panel>
299		<layout_panel
300			name="mute"
301			mouse_opaque="false"
302			auto_resize="false"
303			layout="topleft"
304			top="0"
305			height="72"
306			min_width="22"
307			width="22">
308		  <button
309			  name="mute_btn"
310			  follows="top"
311			  image_disabled="PushButton_Disabled"
312			  image_disabled_selected="PushButton_Disabled"
313			  image_selected="AudioMute_Off"
314			  image_unselected="Audio_Off"
315			  hover_glow_amount="0.15"
316			  is_toggle="true"
317			  layout="topleft"
318			  scale_image="false" 
319			  tool_tip="Mute audio on selected media"
320			  top="0"
321			  height="20"
322			  width="22" >
323			<button.commit_callback
324				function="SelectedMediaCtrl.Mute" />
325		  </button>
326		</layout_panel>
327		<layout_panel
328			name="zoom"
329			mouse_opaque="false"
330			auto_resize="false"
331			layout="topleft"
332			top="0"
333			height="28"
334			min_width="22"
335			width="22">
336		  <button
337			  name="zoom_btn"
338			  follows="top"
339			  image_overlay="Zoom_Off"
340			  image_disabled="PushButton_Disabled"
341			  image_disabled_selected="PushButton_Disabled"
342			  image_selected="PushButton_Selected"
343			  image_unselected="PushButton_Off"
344			  hover_glow_amount="0.15"
345			  top="0"
346			  height="22"
347			  layout="topleft"
348			  tool_tip="Zoom into selected media"
349			  width="22">
350			<button.commit_callback
351				function="SelectedMediaCtrl.Zoom" />
352		  </button>
353		</layout_panel>
354		<layout_panel
355			name="unzoom"
356			mouse_opaque="false"
357			auto_resize="false"
358			layout="topleft"
359			top="0"
360			min_width="21"
361			width="21" >
362		  <button
363			  name="unzoom_btn"
364			  follows="top"
365			  image_overlay="UnZoom_Off"
366			  image_disabled="PushButton_Disabled"
367			  image_disabled_selected="PushButton_Disabled"
368			  image_selected="PushButton_Selected"
369			  image_unselected="PushButton_Off"
370			  hover_glow_amount="0.15"
371			  top="0"
372			  height="22"
373			  layout="topleft"
374			  tool_tip ="Zoom back from selected media"
375			  top_delta="-4"
376			  width="21" >
377			<button.commit_callback
378				function="SelectedMediaCtrl.Unzoom" />
379		  </button>
380		</layout_panel>
381		<layout_panel
382			name="right_bookend"
383			width="0"
384			mouse_opaque="false"/>
385	  </layout_stack>
386	</panel>
387  </panel>
388</panel>