summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-02 00:39:45 +0100
committerKitty Barnett <develop@catznip.com>2012-12-02 00:39:45 +0100
commit566fbe751a4094db7c3d553d3866f0c057db18c9 (patch)
tree93d02c6e9660dc82f56644fc068d2ec53e5988f5 /indra/newview/skins/default
parentfd3af97a01ef5ed6c07fb0eef9e705f01725a95a (diff)
Changed line editors to spin controls for all material float parameters in the debug floater
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/floater_debug_materials.xml326
1 files changed, 112 insertions, 214 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_debug_materials.xml b/indra/newview/skins/default/xui/en/floater_debug_materials.xml
index afa93c3618..b6c105e19a 100644
--- a/indra/newview/skins/default/xui/en/floater_debug_materials.xml
+++ b/indra/newview/skins/default/xui/en/floater_debug_materials.xml
@@ -302,136 +302,85 @@
mouse_opaque="true"
name="normal_map"
tool_tip="Click to open texture picker" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
- layout="topleft"
- left_pad="-260"
- top_pad="10"
- width="160">
- Normal Map Offset X
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
+ left_pad="-260"
+ label="Normal Map Offset X"
+ max_val="1.0"
+ min_val="-1.0"
name="normal_map_offset_x"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
- layout="topleft"
- left_pad="-240"
- top_pad="10"
- width="160">
- Normal Map Offset Y
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="normal_map_offset_y"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ label="Normal Map Offset Y"
+ max_val="1.0"
+ min_val="-1.0"
+ name="normal_map_offset_y"
top_pad="10"
- width="160">
- Normal Map Repeat X
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="normal_map_repeat_x"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ label="Normal Map Repeat X"
+ max_val="64"
+ min_val="0.0"
+ name="normal_map_repeat_x"
top_pad="10"
- width="160">
- Normal Map Repeat Y
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="normal_map_repeat_y"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ max_val="64"
+ min_val="0.0"
+ label="Normal Map Repeat Y"
+ name="normal_map_repeat_y"
top_pad="10"
- width="160">
- Normal Map Rotation
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
+ initial_value="0"
+ increment="1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
+ left_pad="-240"
+ label="Normal Map Rotation"
+ max_val="9999"
+ min_val="-9999"
name="normal_map_rotation"
- width="80" />
+ top_pad="10"
+ width="240" />
</panel>
<panel
border="false"
@@ -469,136 +418,85 @@
mouse_opaque="true"
name="specular_map"
tool_tip="Click to open texture picker" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
- layout="topleft"
- left_pad="-260"
- top_pad="10"
- width="160">
- Specular Map Offset X
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
+ left_pad="-260"
+ label="Specular Map Offset X"
+ max_val="1.0"
+ min_val="-1.0"
name="specular_map_offset_x"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
- layout="topleft"
- left_pad="-240"
- top_pad="10"
- width="160">
- Specular Map Offset Y
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="specular_map_offset_y"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ label="Specular Map Offset Y"
+ max_val="1.0"
+ min_val="-1.0"
+ name="specular_map_offset_y"
top_pad="10"
- width="160">
- Specular Map Repeat X
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="specular_map_repeat_x"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ label="Specular Map Repeat X"
+ max_val="64"
+ min_val="0.0"
+ name="specular_map_repeat_x"
top_pad="10"
- width="160">
- Specular Map Repeat Y
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
- layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
- name="specular_map_repeat_y"
- width="80" />
- <text
- height="13"
- word_wrap="false"
- use_ellipses="false"
- type="string"
- text_color="LabelTextColor"
- length="1"
- follows="left|top"
+ initial_value="0"
+ increment="0.1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
left_pad="-240"
+ label="Specular Map Repeat Y"
+ max_val="64"
+ min_val="0.0"
+ name="specular_map_repeat_y"
top_pad="10"
- width="160">
- Specular Map Rotation
- </text>
- <line_editor
- border_style="line"
- border_thickness="1"
- default_text="0"
+ width="240" />
+ <spinner
+ allow_text_entry="true"
follows="left|top"
height="20"
+ initial_value="0"
+ increment="1"
+ decimal_digits="4"
+ label_width="160"
layout="topleft"
- left_pad="0"
- top_pad="-18"
- max_length_chars="255"
+ left_pad="-240"
+ label="Specular Map Rotation"
+ max_val="9999"
+ min_val="-9999"
name="specular_map_rotation"
- width="80" />
+ top_pad="10"
+ width="240" />
</panel>
<panel
border="false"