diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-05-17 17:09:15 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-05-17 17:09:15 +0300 |
commit | ec749bb1c1fa143c6019791d6713d85f05510e53 (patch) | |
tree | 2081fcb35d67cbc1c9de99865a28eb60a4e4b8fb /indra/newview/skins/default/xui/en | |
parent | 53d09e7451b89a1c050f3237e6eb5c5ef3b116fc (diff) |
STORM-1244 FIXED Environment Settings floater implementation.
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r-- | indra/newview/skins/default/xui/en/floater_environment_settings.xml | 131 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_viewer.xml | 32 |
2 files changed, 72 insertions, 91 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_environment_settings.xml b/indra/newview/skins/default/xui/en/floater_environment_settings.xml index 77cad2a2bd..8460530f97 100644 --- a/indra/newview/skins/default/xui/en/floater_environment_settings.xml +++ b/indra/newview/skins/default/xui/en/floater_environment_settings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <floater legacy_header_height="18" - height="400" + height="350" layout="topleft" name="Environment Editor Floater" help_topic="environment_editor_floater" @@ -9,100 +9,80 @@ title="ENVIRONMENT EDITOR" width="600"> - <!-- Water Settings --> <view_border bevel_style="none" follows="top|left" - height="100" + height="237" layout="topleft" left="50" - name="water_panel" + name="border" top="50" - width="500"/> - <text - name="water_settings_title" + width="500"/> + <radio_group follows="top|left" - height="16" + height="45" layout="topleft" - left_delta="5" - top_delta="5" - width="35"> - Water - </text> - - <radio_group - follows="top|left" - height="45" - layout="topleft" - name="water_settings_radio_group" - top_pad="20" - width="200"> - <radio_item + left_delta="10" + name="region_settings_radio_group" + top_delta="20" + width="200"> + <radio_item label="Use region settings" layout="topleft" - name="region_water_settings"/> - <radio_item + name="use_region_settings"/> + <radio_item label="Use my settings" layout="topleft" - name="my_water_settings" - top_pad="20"/> + name="use_my_settings" + top_pad="20"/> </radio_group> + + <panel + height="170" + layout="topleft" + left="50" + name="user_environment_settings" + top_pad="0" + width="500"> + + <!-- Water Setting --> + <text + name="water_settings_title" + follows="top|left" + height="16" + layout="topleft" + left="50" + top_pad="30" + width="200"> + Water Setting + </text> <combo_box follows="top|left" left_pad="2" name="water_settings_preset_combo" - top_delta="24" + top_delta="-7" width="200"> <combo_box.item label="-Select a preset-" - name="item0" - value="any" /> + name="item0"/> </combo_box> - + <!-- Sky/Day Cycle Settings --> - <view_border - bevel_style="none" - follows="top|left" - height="180" - layout="topleft" - left="50" - name="sky_dayc_panel" - top="175" - width="500"/> <text name="sky_dayc_settings_title" follows="top|left" height="16" layout="topleft" - left="55" - top_delta="5" + left="50" + top_pad="30" width="100"> Sky / Day Cycle </text> - - <radio_group - follows="top|left" - height="45" - layout="topleft" - name="sky_dayc_settings_radio_group1" - top_pad="20" - width="200"> - <radio_item - layout="topleft" - label="Use region settings" - name="region_sky_dayc_settings"/> - <radio_item - layout="topleft" - label="Use my settings" - name="my_sky_dayc_settings" - top_pad="20"/> - </radio_group> - <radio_group layout="topleft" left_delta="50" - name="sky_dayc_settings_radio_group2" + name="sky_dayc_settings_radio_group" top_pad="10" height="50" width="150"> @@ -124,17 +104,34 @@ width="200"> <combo_box.item label="-Select a preset-" - name="item0" - value="any" /> + name="item0"/> </combo_box> - <combo_box + <combo_box follows="top|left" name="dayc_settings_preset_combo" top_delta="36" width="200"> <combo_box.item label="-Select a preset-" - name="item0" - value="any" /> - </combo_box> + name="item0"/> + </combo_box> + </panel> + + <button + follows="left|top" + height="23" + label="OK" + layout="topleft" + right="-160" + name="ok_btn" + top_pad="20" + width="100" /> + <button + follows="left|top" + height="23" + label="Cancel" + layout="topleft" + left_pad="10" + name="cancel_btn" + width="100" /> </floater> diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 04a0350283..38bffd04ed 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -505,31 +505,7 @@ function="World.EnvSettings" parameter="midnight" /> </menu_item_call> - <menu_item_separator/> - <menu_item_call - label="Use Region Sun" - name="Revert to Region Default"> - <menu_item_call.on_click - function="World.EnvSettings" - parameter="default" /> - </menu_item_call> </menu> - <menu - create_jump_keys="true" - label="Edit My Environment" - name="Environment" - tear_off="true"> - <menu_item_check - label="Use Region Settings" - name="Use Region Settings"> - <on_check - function="World.CheckEnvironment" - parameter="use_region_settings" /> - <on_click - function="World.Environment" - parameter="use_region_settings" /> - </menu_item_check> - </menu> <menu @@ -546,6 +522,14 @@ parameter="editor"/> </menu_item_call> + <menu_item_call + label="Enviroment Settings (old)" + name="Enviroment Settings (old)"> + <menu_item_call.on_click + function="World.EnvSettings" + parameter="old_editor"/> + </menu_item_call> + <menu_item_separator/> <menu |