Merging FIRE-660 fixes into default.

meow-7.2.2
Tonya Souther 2011-03-19 14:04:50 -05:00
commit b444fee635
4 changed files with 13 additions and 47 deletions

View File

@ -62,3 +62,4 @@ PreviewAnimations LGPL (from ARminW/Kokua)
LSLmediaToggle LGPL
ImprovedRadar LGPL
Resizable_Profiles LGPL
Derender LGPL

View File

@ -527,7 +527,7 @@ void LLJoystickCameraRotate::draw()
{
LLGLSUIDefault gls_ui;
getImageUnselected()->draw( 0, 0 );
getImageUnselected()->draw( getLocalRect() );
LLPointer<LLUIImage> image = getImageSelected();
if( mInTop )
@ -579,17 +579,20 @@ void LLJoystickCameraRotate::drawRotatedImage( LLPointer<LLUIImage> image, S32 r
gGL.begin(LLRender::QUADS);
{
S32 scaledWidth = getLocalRect().getWidth();
S32 scaledHeight = getLocalRect().getHeight();
gGL.texCoord2fv( uv[ (rotations + 0) % 4]);
gGL.vertex2i(width, height );
gGL.vertex2i(scaledWidth, scaledHeight );
gGL.texCoord2fv( uv[ (rotations + 1) % 4]);
gGL.vertex2i(0, height );
gGL.vertex2i(0, scaledHeight );
gGL.texCoord2fv( uv[ (rotations + 2) % 4]);
gGL.vertex2i(0, 0);
gGL.texCoord2fv( uv[ (rotations + 3) % 4]);
gGL.vertex2i(width, 0);
gGL.vertex2i(scaledWidth, 0);
}
gGL.end();
}

View File

@ -120,7 +120,7 @@ Starlight UI by Hitomi Tiponi and:
Alexandrea Fride, psi Merlin, Hugh Helendale, Digital Scribe, Naomah Beaumont, Nadin, KirstenLee Cinquetti
Additional code contributed by:
Satomi Ahn, Katharine Berry, Lance Corrimal, Nicki Dasmijn, Ansariel Hiller, Zwagoth Klaar, Shyotl Kuhr, Sione Lomu, Peyton Menges, Andromeda Rage, Mysty Saunders, Thickbrick Sleaford, Hitomi Tiponi, Armin WeatherHax, Chalice Yao, Nogardrevlis Lectar, and others.
Satomi Ahn, Katharine Berry, Lance Corrimal, Nicki Dasmijn, Ansariel Hiller, Zwagoth Klaar, Shyotl Kuhr, Sione Lomu, Peyton Menges, Andromeda Rage, Zi Ree, Mysty Saunders, Thickbrick Sleaford, Hitomi Tiponi, Armin WeatherHax, Chalice Yao, Nogardrevlis Lectar, and others.
Additional Artists:
New icons by Joseph Wain / glyphish.com

View File

@ -237,30 +237,11 @@
height="78"
width="78">
<!-- Fake control icon to simulate the joystick widget -->
<icon
follows="all"
height="78"
image_name="Cam_Rotate_Out"
layout="topleft"
left="0"
name="icon_cam_rotate_stick"
scale_image="true"
sound_flags="3"
visible="true"
top="0"
width="78" />
<!--
image_selected="Cam_Rotate_In"
image_unselected="Cam_Rotate_Out"
//-->
<joystick_rotate
follows="all"
height="78"
image_selected="Blank"
image_unselected="Blank"
image_selected="Cam_Rotate_In"
image_unselected="Cam_Rotate_Out"
layout="topleft"
left="0"
mouse_opaque="false"
@ -338,30 +319,11 @@
height="78"
width="78">
<!-- Fake control icon to simulate the joystick widget -->
<icon
follows="all"
height="78"
image_name="Cam_Tracking_Out"
layout="topleft"
left="0"
name="icon_cam_track_stick"
scale_image="true"
sound_flags="3"
visible="true"
top="0"
width="78" />
<!--
image_selected="Cam_Tracking_In"
image_unselected="Cam_Tracking_Out"
//-->
<joystick_track
follows="all"
height="78"
image_selected="Blank"
image_unselected="Blank"
image_selected="Cam_Tracking_In"
image_unselected="Cam_Tracking_Out"
layout="topleft"
left="0"
name="cam_track_stick"