summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-01-24 16:33:44 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-01-24 16:33:44 +0200
commitd7603ffc9c94a6cdab94bc23745903c7fff25ff1 (patch)
tree7cdc77fc087a6d7442d52e7e0faa0f7823245693 /indra/newview/skins/default
parent5b04123aec281de30fb8b6473600f6b1e9d16909 (diff)
SL-16627 AutoFPS first pass
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml9
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml13
-rw-r--r--indra/newview/skins/default/xui/en/panel_performance_preferences.xml5
-rw-r--r--indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml19
4 files changed, 42 insertions, 4 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
index d1e167df64..5978ae685a 100644
--- a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
+++ b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
@@ -39,7 +39,10 @@
max_val="512"
name="DrawDistance"
top_delta="16"
- width="330" />
+ width="330">
+ <slider.mouse_down_callback
+ function="Pref.MouseDown" />
+ </slider>
<text
type="string"
length="1"
@@ -182,6 +185,8 @@
<slider.commit_callback
function="Pref.UpdateIndirectMaxNonImpostors"
parameter="IndirectNonImpostorsText" />
+ <slider.mouse_down_callback
+ function="Pref.MouseDown" />
</slider>
<text
type="string"
@@ -850,6 +855,8 @@
top_delta="0"
name="ShadowDetail"
width="150">
+ <combo_box.mouse_down_callback
+ function="Pref.MouseDown" />
<combo_box.item
label="None"
name="0"
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index d4f71fb370..2fed214d69 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -1848,6 +1848,19 @@ Graphics Quality can be raised in Preferences &gt; Graphics.
</notification>
<notification
+ icon="alertmodal.tga"
+ name="AutoFPSConfirmDisable"
+ type="alertmodal">
+ Changing this setting will disable automatic adjustment and turn off 'Auto FPS' setting.
+Are you sure you want to continue?
+ <tag>confirm</tag>
+ <usetemplate
+ name="okcancelbuttons"
+ notext="Cancel"
+ yestext="Continue"/>
+ </notification>
+
+ <notification
icon="alertmodal.tga"
name="RegionNoTerraforming"
type="alertmodal">
diff --git a/indra/newview/skins/default/xui/en/panel_performance_preferences.xml b/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
index 221dfa0222..60792c2f7d 100644
--- a/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
+++ b/indra/newview/skins/default/xui/en/panel_performance_preferences.xml
@@ -206,7 +206,10 @@
max_val="512"
name="draw_distance"
left_pad="5"
- width="250" />
+ width="250">
+ <slider.mouse_down_callback
+ function="Pref.MouseDown" />
+ </slider>
<text
type="string"
length="1"
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 5aff7a5127..6e4a1a6859 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
@@ -217,7 +217,10 @@
max_val="512"
name="DrawDistance"
top_delta="40"
- width="330" />
+ width="330">
+ <slider.mouse_down_callback
+ function="Pref.MouseDown" />
+ </slider>
<text
type="string"
length="1"
@@ -258,6 +261,18 @@
<check_box.commit_callback
function="Pref.RenderOptionUpdate" />
</check_box>
+
+ <check_box
+ control_name="AutoFPS"
+ height="16"
+ initial_value="true"
+ label="Auto FPS"
+ layout="topleft"
+ left="30"
+ name="AutoFPS"
+ top_delta="30"
+ width="256">
+ </check_box>
<slider
control_name="IndirectMaxComplexity"
@@ -274,7 +289,7 @@
max_val="101"
name="IndirectMaxComplexity"
show_text="false"
- top_delta="60"
+ top_delta="34"
width="300">
<slider.commit_callback
function="Pref.UpdateIndirectMaxComplexity"