diff options
author | Rider Linden <rider@lindenlab.com> | 2018-05-02 17:07:06 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-05-02 17:07:06 -0700 |
commit | 03da2bc1a1c7674514c967b0e7408258dba25d77 (patch) | |
tree | cf3e2de8209023ceab6dff49ab8185c76374b2a8 /indra/newview/skins/default | |
parent | 9dd5e4a5a7521f2576537738263196cfb88bb01d (diff) |
Fixed sky editing floater.
Diffstat (limited to 'indra/newview/skins/default')
4 files changed, 734 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_fixedenvironment.xml b/indra/newview/skins/default/xui/en/floater_fixedenvironment.xml index 03bbc05dad..2590bb3410 100644 --- a/indra/newview/skins/default/xui/en/floater_fixedenvironment.xml +++ b/indra/newview/skins/default/xui/en/floater_fixedenvironment.xml @@ -26,7 +26,6 @@ <layout_panel name="info_panel" auto_resize="false" user_resize="false" - bg_alpha_color="blue" min_height="60"> <text follows="left|top" @@ -81,7 +80,11 @@ tab_position="top" tab_width="120" tab_padding_right="3"> - <!-- move to own file --> + <!-- Tabs inserted here in code --> + <!-- --> + <!-- --> + + <!-- --> </tab_container> </layout_panel> <layout_panel name="button_panel" diff --git a/indra/newview/skins/default/xui/en/panel_settings_sky_atmos.xml b/indra/newview/skins/default/xui/en/panel_settings_sky_atmos.xml new file mode 100644 index 0000000000..643994b6b1 --- /dev/null +++ b/indra/newview/skins/default/xui/en/panel_settings_sky_atmos.xml @@ -0,0 +1,240 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<panel + border="true" + follows="all" + label="Atmosphere & Lighting" + layout="topleft" + left="0" + name="panel_settings_sky_atmos" + top="0"> + <layout_stack + left="5" + top="5" + right="-5" + bottom="-5" + follows="left|top|right|bottom" + orientation="vertical"> + <layout_panel + border="true" + bevel_style="in" + auto_resize="false" + user_resize="false" + visible="true" + height="75"> + + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="80"> + Ambient Color: + </text> + <color_swatch + can_apply_immediately="true" + follows="left|top" + height="37" + label_height="0" + layout="topleft" + left_delta="0" + name="ambient_light" + top_pad="5" + width="60" /> + <text + follows="left" + height="10" + layout="topleft" + left_delta="90" + top_delta="-15" + width="80"> + Blue Horizon: + </text> + <color_swatch + can_apply_immediately="true" + follows="left|top" + height="37" + label_height="0" + layout="topleft" + left_delta="0" + name="blue_horizon" + top_pad="5" + width="60" /> + <text + follows="left" + height="10" + layout="topleft" + left_delta="90" + top_delta="-15" + width="80"> + Blue Density: + </text> + <color_swatch + can_apply_immediately="true" + follows="left|top" + height="37" + label_height="0" + layout="topleft" + left_delta="0" + name="blue_density" + top_pad="5" + width="60" /> + </layout_panel> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true"> + <layout_stack name="atmosphere1" + left="5" + top="5" + right="-5" + bottom="-5" + follows="left|top|right|bottom" + orientation="hoizontal"> + <layout_panel + border="false" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + min_width="225"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="80"> + Haze Horizon: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="haze_horizon" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="80"> + Haze Density: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="haze_density" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="80"> + Scene Gamma: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + max_val="10" + name="scene_gamma" + top_delta="20" + width="207"/> + </layout_panel> + <layout_panel + border="false" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + min_width="225"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="200"> + Density Multiplier: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="0.9" + name="density_multip" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="200"> + Distance Multiplier: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="100" + name="distance_multip" + top_delta="20" + width="214"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="200"> + Maximum Altitude: + </text> + <slider + decimal_digits="1" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="4000" + name="max_alt" + top_delta="20" + width="214"/> + </layout_panel> + </layout_stack> + </layout_panel> + </layout_stack> +</panel>
\ No newline at end of file diff --git a/indra/newview/skins/default/xui/en/panel_settings_sky_clouds.xml b/indra/newview/skins/default/xui/en/panel_settings_sky_clouds.xml new file mode 100644 index 0000000000..2a52f1a96e --- /dev/null +++ b/indra/newview/skins/default/xui/en/panel_settings_sky_clouds.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<panel + border="true" + follows="all" + label="Clouds" + layout="topleft" + left="0" + help_topic="land_general_tab" + name="panel_settings_sky_clouds" + top="0"> + <layout_stack + left="5" + top="5" + right="-5" + bottom="-5" + follows="left|top|right|bottom" + orientation="hoizontal"> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="80"> + Cloud Color: + </text> + <color_swatch + can_apply_immediately="true" + follows="left|top" + height="37" + label_height="0" + layout="topleft" + left_delta="0" + name="cloud_color" + top_pad="5" + width="60" /> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="0" + top_delta="47" + width="200"> + Cloud Coverage: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="cloud_coverage" + top_delta="20" + width="214"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="200"> + Cloud Scale: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="cloud_scale" + top_delta="20" + width="214"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="25" + width="200"> + Cloud Scroll: + </text> + <panel + follows="left|top" + border="true" + bg_alpha_color="red" + background_visible="true" + width="100" + height="100" + left_delta="5" + top_delta="21"> + <text> + placeholder + </text> + <slider + decimal_digits="1" + follows="left|top" + initial_value="0" + layout="topleft" + label="X:" + left_delta="10" + max_val="10" + min_val="-10" + name="cloud_scroll_x" + top_pad="5" + width="100"/> + <slider + decimal_digits="1" + follows="left|top" + initial_value="0" + layout="topleft" + label="Y:" + left_delta="0" + max_val="10" + min_val="-10" + name="cloud_scroll_y" + top_pad="5" + orientation="vertical" + height="70"/> + </panel> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="115" + top_delta="-20" + width="200"> + Cloud Image: + </text> + <texture_picker + height="100" + layout="topleft" + left_delta="5" + name="cloud_map" + top_pad="10" + width="100"/> + </layout_panel> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="200"> + Cloud Density: + </text> + <slider + label="X" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="cloud_density_x" + top_delta="20" + width="200"/> + <slider + label="Y" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="0" + min_val="0" + max_val="1" + name="cloud_density_y" + top_delta="20" + width="200"/> + <slider + label="D" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="0" + min_val="0" + max_val="1" + name="cloud_density_d" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="35" + width="200"> + Cloud Detail: + </text> + <slider + label="X" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="1" + name="cloud_detail_x" + top_delta="20" + width="200"/> + <slider + label="Y" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="0" + min_val="0" + max_val="1" + name="cloud_detail_y" + top_delta="20" + width="200"/> + <slider + label="D" + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="0" + min_val="0" + max_val="1" + name="cloud_detail_d" + top_delta="20" + width="200"/> + </layout_panel> + </layout_stack> +</panel>
\ No newline at end of file diff --git a/indra/newview/skins/default/xui/en/panel_settings_sky_sunmoon.xml b/indra/newview/skins/default/xui/en/panel_settings_sky_sunmoon.xml new file mode 100644 index 0000000000..c0bd123fbc --- /dev/null +++ b/indra/newview/skins/default/xui/en/panel_settings_sky_sunmoon.xml @@ -0,0 +1,234 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<panel + border="true" + follows="all" + label="Sun & Moon" + layout="topleft" + left="0" + name="panel_settings_sky_hbodies" + top="0"> + <layout_stack + left="5" + top="5" + right="-5" + bottom="-5" + follows="left|top|right|bottom" + orientation="hoizontal"> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + width="80"> + Sun Color: + </text> + <color_swatch + can_apply_immediately="true" + follows="left|top" + height="37" + label_height="0" + layout="topleft" + left_delta="0" + name="sun_moon_color" + top_pad="5" + width="60" /> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="0" + top_delta="57" + width="200"> + Glow Focus: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="0.5" + name="glow_focus" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="20" + width="200"> + Glow Size: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="1" + max_val="1.99" + name="glow_size" + top_delta="20" + width="200"/> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="-5" + top_delta="30" + width="200"> + Star Brightness: + </text> + <slider + decimal_digits="2" + follows="left|top" + height="10" + initial_value="0" + layout="topleft" + left_delta="5" + min_val="0" + max_val="2" + name="star_brightness" + top_delta="20" + width="200"/> + </layout_panel> + <layout_panel + border="false" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <layout_stack + left="5" + top="5" + right="-5" + bottom="-5" + follows="left|top|right|bottom" + orientation="vertical"> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + font="SansSerifBold" + width="80"> + Sun + </text> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="10" + top_delta="30" + width="100"> + Position: + </text> + <joystick_quat + follows="left|top" + height="78" + layout="topleft" + left_delta="0" + top_delta="20" + name="sun_rotation" + quadrant="left" + sound_flags="3" + visible="true" + tool_tip="Move sun in sky" + width="78" /> <!-- Should be 126x126 --> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="100" + top_delta="-20" + width="200"> + Image: + </text> + <texture_picker + height="100" + layout="topleft" + left_delta="5" + name="sun_image" + top_pad="10" + width="100"/> + </layout_panel> + <layout_panel + border="true" + bevel_style="in" + auto_resize="true" + user_resize="true" + visible="true" + height="75"> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="15" + top_pad="15" + font="SansSerifBold" + width="80"> + Moon + </text> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="10" + top_delta="30" + width="100"> + Position: + </text> + <joystick_quat + follows="left|top" + height="78" + layout="topleft" + left_delta="0" + top_delta="20" + name="moon_rotation" + quadrant="left" + sound_flags="3" + visible="true" + tool_tip="Move sun in sky" + width="78" /> <!-- Should be 126x126 --> + <text + follows="left|top" + height="10" + layout="topleft" + left_delta="100" + top_delta="-20" + width="200"> + Image: + </text> + <texture_picker + height="100" + layout="topleft" + left_delta="5" + name="moon_image" + top_pad="10" + width="100"/> + </layout_panel> + </layout_stack> + </layout_panel> + </layout_stack> +</panel> |