diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/lljoystickbutton.cpp | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/lljoystickbutton.cpp')
-rw-r--r-- | linden/indra/newview/lljoystickbutton.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/newview/lljoystickbutton.cpp b/linden/indra/newview/lljoystickbutton.cpp index a9f7a9e..dddbea8 100644 --- a/linden/indra/newview/lljoystickbutton.cpp +++ b/linden/indra/newview/lljoystickbutton.cpp | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -607,26 +607,26 @@ void LLJoystickCameraRotate::draw() | |||
607 | { | 607 | { |
608 | LLGLSUIDefault gls_ui; | 608 | LLGLSUIDefault gls_ui; |
609 | 609 | ||
610 | gl_draw_image( 0, 0, mImageUnselected ); | 610 | mImageUnselected->draw( 0, 0 ); |
611 | 611 | ||
612 | if( mInTop ) | 612 | if( mInTop ) |
613 | { | 613 | { |
614 | drawRotatedImage( mImageSelected, 0 ); | 614 | drawRotatedImage( mImageSelected->getImage(), 0 ); |
615 | } | 615 | } |
616 | 616 | ||
617 | if( mInRight ) | 617 | if( mInRight ) |
618 | { | 618 | { |
619 | drawRotatedImage( mImageSelected, 1 ); | 619 | drawRotatedImage( mImageSelected->getImage(), 1 ); |
620 | } | 620 | } |
621 | 621 | ||
622 | if( mInBottom ) | 622 | if( mInBottom ) |
623 | { | 623 | { |
624 | drawRotatedImage( mImageSelected, 2 ); | 624 | drawRotatedImage( mImageSelected->getImage(), 2 ); |
625 | } | 625 | } |
626 | 626 | ||
627 | if( mInLeft ) | 627 | if( mInLeft ) |
628 | { | 628 | { |
629 | drawRotatedImage( mImageSelected, 3 ); | 629 | drawRotatedImage( mImageSelected->getImage(), 3 ); |
630 | } | 630 | } |
631 | 631 | ||
632 | if (sDebugRects) | 632 | if (sDebugRects) |
@@ -801,7 +801,7 @@ void LLJoystickCameraZoom::draw() | |||
801 | } | 801 | } |
802 | else | 802 | else |
803 | { | 803 | { |
804 | gl_draw_image( 0, 0, mImageUnselected ); | 804 | mImageUnselected->draw( 0, 0 ); |
805 | } | 805 | } |
806 | 806 | ||
807 | if (sDebugRects) | 807 | if (sDebugRects) |