diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lljoystickbutton.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/lljoystickbutton.h')
-rw-r--r-- | linden/indra/newview/lljoystickbutton.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/newview/lljoystickbutton.h b/linden/indra/newview/lljoystickbutton.h index 49db055..806f8fb 100644 --- a/linden/indra/newview/lljoystickbutton.h +++ b/linden/indra/newview/lljoystickbutton.h | |||
@@ -49,7 +49,7 @@ class LLJoystick | |||
49 | : public LLButton | 49 | : public LLButton |
50 | { | 50 | { |
51 | public: | 51 | public: |
52 | LLJoystick(const LLString& name, LLRect rect, const LLString &default_image, const LLString &selected_image, EJoystickQuadrant initial); | 52 | LLJoystick(const std::string& name, LLRect rect, const std::string &default_image, const std::string &selected_image, EJoystickQuadrant initial); |
53 | 53 | ||
54 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); | 54 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); |
55 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); | 55 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); |
@@ -63,8 +63,8 @@ public: | |||
63 | void setInitialQuadrant(EJoystickQuadrant initial) { mInitialQuadrant = initial; }; | 63 | void setInitialQuadrant(EJoystickQuadrant initial) { mInitialQuadrant = initial; }; |
64 | 64 | ||
65 | virtual LLXMLNodePtr getXML(bool save_children = true) const; | 65 | virtual LLXMLNodePtr getXML(bool save_children = true) const; |
66 | static LLString nameFromQuadrant(const EJoystickQuadrant quadrant); | 66 | static std::string nameFromQuadrant(const EJoystickQuadrant quadrant); |
67 | static EJoystickQuadrant quadrantFromName(const LLString& name); | 67 | static EJoystickQuadrant quadrantFromName(const std::string& name); |
68 | static EJoystickQuadrant selectQuadrant(LLXMLNodePtr node); | 68 | static EJoystickQuadrant selectQuadrant(LLXMLNodePtr node); |
69 | 69 | ||
70 | 70 | ||
@@ -90,7 +90,7 @@ class LLJoystickAgentTurn | |||
90 | : public LLJoystick | 90 | : public LLJoystick |
91 | { | 91 | { |
92 | public: | 92 | public: |
93 | LLJoystickAgentTurn(const LLString& name, LLRect rect, const LLString &default_image, const LLString &selected_image, EJoystickQuadrant initial) | 93 | LLJoystickAgentTurn(const std::string& name, LLRect rect, const std::string &default_image, const std::string &selected_image, EJoystickQuadrant initial) |
94 | : LLJoystick(name, rect, default_image, selected_image, initial) | 94 | : LLJoystick(name, rect, default_image, selected_image, initial) |
95 | { } | 95 | { } |
96 | 96 | ||
@@ -106,7 +106,7 @@ class LLJoystickAgentSlide | |||
106 | : public LLJoystick | 106 | : public LLJoystick |
107 | { | 107 | { |
108 | public: | 108 | public: |
109 | LLJoystickAgentSlide(const LLString& name, LLRect rect, const LLString &default_image, const LLString &selected_image, EJoystickQuadrant initial) | 109 | LLJoystickAgentSlide(const std::string& name, LLRect rect, const std::string &default_image, const std::string &selected_image, EJoystickQuadrant initial) |
110 | : LLJoystick(name, rect, default_image, selected_image, initial) | 110 | : LLJoystick(name, rect, default_image, selected_image, initial) |
111 | { } | 111 | { } |
112 | 112 | ||
@@ -122,7 +122,7 @@ class LLJoystickCameraRotate | |||
122 | : public LLJoystick | 122 | : public LLJoystick |
123 | { | 123 | { |
124 | public: | 124 | public: |
125 | LLJoystickCameraRotate(const LLString& name, LLRect rect, const LLString &out_img, const LLString &in_img); | 125 | LLJoystickCameraRotate(const std::string& name, LLRect rect, const std::string &out_img, const std::string &in_img); |
126 | 126 | ||
127 | virtual void setToggleState( BOOL left, BOOL top, BOOL right, BOOL bottom ); | 127 | virtual void setToggleState( BOOL left, BOOL top, BOOL right, BOOL bottom ); |
128 | 128 | ||
@@ -148,7 +148,7 @@ class LLJoystickCameraTrack | |||
148 | : public LLJoystickCameraRotate | 148 | : public LLJoystickCameraRotate |
149 | { | 149 | { |
150 | public: | 150 | public: |
151 | LLJoystickCameraTrack(const LLString& name, LLRect rect, const LLString &out_img, const LLString &in_img) | 151 | LLJoystickCameraTrack(const std::string& name, LLRect rect, const std::string &out_img, const std::string &in_img) |
152 | : LLJoystickCameraRotate(name, rect, out_img, in_img) | 152 | : LLJoystickCameraRotate(name, rect, out_img, in_img) |
153 | { } | 153 | { } |
154 | 154 | ||
@@ -161,7 +161,7 @@ class LLJoystickCameraZoom | |||
161 | : public LLJoystick | 161 | : public LLJoystick |
162 | { | 162 | { |
163 | public: | 163 | public: |
164 | LLJoystickCameraZoom(const LLString& name, LLRect rect, const LLString &out_img, const LLString &plus_in_img, const LLString &minus_in_img); | 164 | LLJoystickCameraZoom(const std::string& name, LLRect rect, const std::string &out_img, const std::string &plus_in_img, const std::string &minus_in_img); |
165 | 165 | ||
166 | virtual void setToggleState( BOOL top, BOOL bottom ); | 166 | virtual void setToggleState( BOOL top, BOOL bottom ); |
167 | 167 | ||