summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2014-12-01 08:09:17 -0500
committerJonathan Yap <jhwelch@gmail.com>2014-12-01 08:09:17 -0500
commit6d1296f71640c9c25affcff4e784ea5798ba2d5c (patch)
tree97690a8c3724985aeb4f630187be8426cc0fb2cd /indra/newview/skins/default/xui
parent563e22e81c6bf14bca6370b098a257f94f4f843f (diff)
STORM-2082 Implement save floater and some code cleanup.
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/floater_save_pref_preset.xml50
-rwxr-xr-xindra/newview/skins/default/xui/en/notifications.xml14
-rwxr-xr-xindra/newview/skins/default/xui/en/panel_preferences_graphics1.xml6
3 files changed, 68 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_save_pref_preset.xml b/indra/newview/skins/default/xui/en/floater_save_pref_preset.xml
new file mode 100644
index 0000000000..5919d9e3d7
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/floater_save_pref_preset.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<floater
+ legacy_header_height="18"
+ height="130"
+ help_topic=""
+ layout="topleft"
+ name="Save Pref Preset"
+ save_rect="true"
+ title="SAVE PREF PRESET"
+ width="550">
+
+ <string name="title_graphic">Save Graphic Preset</string>
+ <string name="title_camera">Save Camera Preset</string>
+
+ <text
+ follows="top|left|right"
+ font="SansSerif"
+ height="10"
+ layout="topleft"
+ left="50"
+ name="Preset"
+ top="60"
+ width="60">
+ Preset:
+ </text>
+ <combo_box
+ follows="top|left"
+ layout="topleft"
+ left_pad="10"
+ name="preset_combo"
+ top_delta="-5"
+ allow_text_entry="true"
+ width="200"/>
+ <button
+ follows="bottom|right"
+ height="23"
+ label="Save"
+ layout="topleft"
+ left_pad="15"
+ name="save"
+ width="70"/>
+ <button
+ follows="bottom|right"
+ height="23"
+ label="Cancel"
+ layout="topleft"
+ left_pad="5"
+ name="cancel"
+ width="70"/>
+</floater>
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index f1d34a1449..e1d2f012d3 100755
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -7659,6 +7659,20 @@ Attachment has been saved.
<notification
icon="alertmodal.tga"
+ name="PresetSaved"
+ type="alertmodal">
+Preset [NAME] has been saved.
+ </notification>
+
+ <notification
+ icon="alertmodal.tga"
+ name="PresetDeleted"
+ type="alertmodal">
+Preset [NAME] has been deleted.
+ </notification>
+
+ <notification
+ icon="alertmodal.tga"
name="UnableToFindHelpTopic"
type="alertmodal">
Unable to find the help topic for this element.
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
index 3d7fdbb0ab..2a7560fd2c 100755
--- a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
@@ -31,7 +31,8 @@
top_delta="0"
width="150">
<combo_box.commit_callback
- function="Pref.Preset" />
+ function="Pref.Preset"
+ parameter="graphic" />
</combo_box>
<button
follows="top|left"
@@ -43,7 +44,8 @@
top_delta="0"
width="115">
<button.commit_callback
- function="Pref.PrefSave" />
+ function="Pref.PrefSave"
+ parameter="graphic"/>
</button>
<button
follows="top|left"