From 73e6407af8f802bbc4a3932bc5ac32ca8f13ab56 Mon Sep 17 00:00:00 2001 From: Andrew Dyukov Date: Fri, 7 May 2010 22:07:01 +0300 Subject: EXT-2493 FIXED Added strafe buttons. - Added slide left and Move right buttons to movement actions panel, when inserting them in xml organized buttons in panel into 3 columns to make their position more easily configurable. - Removed hiding of fly up and down buttons. When not flying(in walk/run mode) they act as jump ans crouch. - Added movement mode(walk/run/fly) dependent tooltips for fly/jump/crouch and slide buttons. - Added comment regarding implementation of move floater buttons toggling when user moves via keyboard (because it's not quite obvious and time consuming when you first encounter it) to LLFloaterMove::postBuild(). Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/360 --HG-- branch : product-engine --- .../textures/bottomtray/Movement_Left_Off.png | Bin 0 -> 47887 bytes .../textures/bottomtray/Movement_Left_On.png | Bin 0 -> 47995 bytes .../textures/bottomtray/Movement_Right_Off.png | Bin 0 -> 48333 bytes .../textures/bottomtray/Movement_Right_On.png | Bin 0 -> 47187 bytes indra/newview/skins/default/textures/textures.xml | 4 + .../skins/default/xui/en/floater_moveview.xml | 146 +++++++++++++++------ .../default/xui/en/panel_stand_stop_flying.xml | 6 +- 7 files changed, 116 insertions(+), 40 deletions(-) create mode 100644 indra/newview/skins/default/textures/bottomtray/Movement_Left_Off.png create mode 100644 indra/newview/skins/default/textures/bottomtray/Movement_Left_On.png create mode 100644 indra/newview/skins/default/textures/bottomtray/Movement_Right_Off.png create mode 100644 indra/newview/skins/default/textures/bottomtray/Movement_Right_On.png (limited to 'indra/newview/skins/default') diff --git a/indra/newview/skins/default/textures/bottomtray/Movement_Left_Off.png b/indra/newview/skins/default/textures/bottomtray/Movement_Left_Off.png new file mode 100644 index 0000000000..ded370a46f Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Movement_Left_Off.png differ diff --git a/indra/newview/skins/default/textures/bottomtray/Movement_Left_On.png b/indra/newview/skins/default/textures/bottomtray/Movement_Left_On.png new file mode 100644 index 0000000000..98bf415f84 Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Movement_Left_On.png differ diff --git a/indra/newview/skins/default/textures/bottomtray/Movement_Right_Off.png b/indra/newview/skins/default/textures/bottomtray/Movement_Right_Off.png new file mode 100644 index 0000000000..2d8d55fa91 Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Movement_Right_Off.png differ diff --git a/indra/newview/skins/default/textures/bottomtray/Movement_Right_On.png b/indra/newview/skins/default/textures/bottomtray/Movement_Right_On.png new file mode 100644 index 0000000000..a91517d31f Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Movement_Right_On.png differ diff --git a/indra/newview/skins/default/textures/textures.xml b/indra/newview/skins/default/textures/textures.xml index bbb82d86b1..15bac6de0d 100644 --- a/indra/newview/skins/default/textures/textures.xml +++ b/indra/newview/skins/default/textures/textures.xml @@ -241,6 +241,10 @@ with the same filename but different name + + + + diff --git a/indra/newview/skins/default/xui/en/floater_moveview.xml b/indra/newview/skins/default/xui/en/floater_moveview.xml index 8e2c57764b..a685094190 100644 --- a/indra/newview/skins/default/xui/en/floater_moveview.xml +++ b/indra/newview/skins/default/xui/en/floater_moveview.xml @@ -13,7 +13,7 @@ save_rect="true" save_visibility="true" save_dock_state="true" - width="115"> + width="113"> Walk Forward (press Up Arrow or W) @@ -22,6 +22,14 @@ name="walk_back_tooltip"> Walk Backwards (press Down Arrow or S) + + Walk left (press Shift + Left Arrow or A) + + + Walk right (press Shift + Right Arrow or D) + Run Forward (press Up Arrow or W) @@ -30,6 +38,14 @@ name="run_back_tooltip"> Run Backwards (press Down Arrow or S) + + Run left (press Shift + Left Arrow or A) + + + Run right (press Shift + Right Arrow or D) + Fly Forward (press Up Arrow or W) @@ -38,6 +54,30 @@ name="fly_back_tooltip"> Fly Backwards (press Down Arrow or S) + + Fly left (press Shift + Left Arrow or A) + + + Fly right (press Shift + Right Arrow or D) + + + Fly up (press E) + + + Fly down (press C) + + + Jump (press E) + + + Crouch (press C) + Walk @@ -59,59 +99,91 @@ mouse_opaque="false" name="panel_actions" top="0" - width="115"> + width="113"> + +