summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2014-04-24 23:43:54 +0100
committerCho <cho@lindenlab.com>2014-04-24 23:43:54 +0100
commit446a3193b1f2932ed14a16216bcf65dc30889612 (patch)
tree97328bce131aaf4dc0d1ff71ea712f3e38e09a7d /indra/newview/skins/default/xui
parent2206f97d8efb2683e6c0d759a8549de9de67a054 (diff)
Refactored to share code between experience search floater and panel for ACME-1420
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/floater_experience_search.xml156
-rwxr-xr-xindra/newview/skins/default/xui/en/menu_viewer.xml7
-rw-r--r--indra/newview/skins/default/xui/en/panel_experience_search.xml30
3 files changed, 25 insertions, 168 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_experience_search.xml b/indra/newview/skins/default/xui/en/floater_experience_search.xml
index 8b44dada40..7d7e3ba95a 100644
--- a/indra/newview/skins/default/xui/en/floater_experience_search.xml
+++ b/indra/newview/skins/default/xui/en/floater_experience_search.xml
@@ -12,159 +12,9 @@
title="CHOOSE EXPERIENCE"
width="350">
- <floater.string
- name="not_found">
- &apos;[TEXT]&apos; not found
- </floater.string>
- <floater.string
- name="no_results">
- No results
- </floater.string>
- <floater.string
- name="searching">
- Searching...
- </floater.string>
- <floater.string
- name="loading">
- Loading...
- </floater.string>
- <floater.string
- name="maturity_icon_general">
- "Parcel_PG_Light"
- </floater.string>
- <floater.string
- name="maturity_icon_moderate">
- "Parcel_M_Light"
- </floater.string>
- <floater.string
- name="maturity_icon_adult">
- "Parcel_R_Light"
- </floater.string>
<panel
+ filename="panel_experience_search.xml"
+ class="llpanelexperiencepicker"
follows="all"
- left="5"
- right="-3"
- bottom="-2"
- top="18"
- name="search_panel">
- <text
- left="0"
- follows="top|left|right"
- right="-1">
- Enter part of the name:
- </text>
- <line_editor
- left="0"
- follows="left|top|right"
- name="edit"
- height="18"
- right="-60"/>
- <button label="Go"
- follows="top|right"
- top_pad="-18"
- left_pad="2"
- right="-1"
- height="18"
- name="find"/>
- <text
- top_pad="6"
- left="0"
- follows="top|left"
- width="180">
- Max Content Rating:
- </text>
- <icons_combo_box
- follows="left|top"
- height="20"
- label="Moderate"
- layout="topleft"
- name="maturity"
- top_pad="-13"
- left_pad="0"
- right="-1">
- <icons_combo_box.drop_down_button
- image_overlay="Parcel_M_Light"
- image_overlay_alignment="left"
- imgoverlay_label_space="3"
- pad_left="3"/>
- <icons_combo_box.item
- label="Adult"
- name="Adult"
- value="42">
- <item.columns
- halign="center"
- type="icon"
- value="Parcel_R_Light"
- width="20"/>
- </icons_combo_box.item>
- <icons_combo_box.item
- label="Moderate"
- name="Mature"
- value="21">
- <item.columns
- halign="center"
- type="icon"
- value="Parcel_M_Light"
- width="20"/>
- </icons_combo_box.item>
- <icons_combo_box.item
- label="General"
- name="PG"
- value="13">
- <item.columns
- halign="center"
- type="icon"
- value="Parcel_PG_Light"
- width="20"/>
- </icons_combo_box.item>
- </icons_combo_box>
- <scroll_list
- draw_heading="true"
- left="0"
- right="-1"
- height="239"
- top_pad="4"
- follows="all"
- column_padding="5"
- can_resize="true"
- name="search_results">
- <columns
- halign="center"
- width="24"
- name="maturity"
- label=""/>
- <columns
- user_resize="true"
- name="experience_name"
- label="Name"/>
- <columns
- user_resize="true"
- name="owner"
- label="Owner"/>
- </scroll_list>
-
- <button
- follows="left|bottom"
- height="23"
- label="OK"
- label_selected="OK"
- name="ok_btn"
- top_pad="3"
- left="0"
- width="100" />
- <button
- follows="left|bottom"
- height="23"
- label="Cancel"
- name="cancel_btn"
- width="100"
- left_pad="3" />
- <button
- follows="left|bottom"
- height="23"
- label="View Profile"
- name="profile_btn"
- width="100"
- left_pad="3" />
- </panel>
+ name="panel_experience_search"/>
</floater>
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index f33acc75b2..a9f83e751a 100755
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -81,13 +81,6 @@
function="Floater.ToggleOrBringToFront"
parameter="experiences"/>
</menu_item_call>
- <menu_item_call
- label="Experience Search..."
- name="Experience Search">
- <menu_item_call.on_click
- function="Floater.ToggleOrBringToFront"
- parameter="experience_search"/>
- </menu_item_call>
<menu_item_separator/>
<menu_item_call
label="Camera Controls..."
diff --git a/indra/newview/skins/default/xui/en/panel_experience_search.xml b/indra/newview/skins/default/xui/en/panel_experience_search.xml
index 5593cef591..5ac7f6b239 100644
--- a/indra/newview/skins/default/xui/en/panel_experience_search.xml
+++ b/indra/newview/skins/default/xui/en/panel_experience_search.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
layout="topleft"
- top="3"
- left="3"
+ top="18"
+ left="0"
width="350"
- height="350"
+ height="330"
label="SEARCH"
- bg_opaque_color="0 0.5 0 0.3"
follows="all">
<string
@@ -42,7 +41,7 @@
left="5"
right="-3"
bottom="-2"
- top="18"
+ top="0"
name="search_panel">
<text
left="0"
@@ -143,10 +142,25 @@
<button
follows="left|bottom"
height="23"
- label="View Profile"
- name="profile_btn"
+ label="OK"
+ label_selected="OK"
+ name="ok_btn"
top_pad="3"
left="0"
- width="100"/>
+ width="100" />
+ <button
+ follows="left|bottom"
+ height="23"
+ label="Cancel"
+ name="cancel_btn"
+ width="100"
+ left_pad="3" />
+ <button
+ follows="left|bottom"
+ height="23"
+ label="View Profile"
+ name="profile_btn"
+ width="100"
+ left_pad="3" />
</panel>
</panel>