summaryrefslogtreecommitdiff
path: root/indra/newview/llmoveview.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-04-17 02:42:27 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-04-17 02:42:27 +0000
commitd85247e63e5ff0b488211b62429a4895b48dee27 (patch)
tree0aa2f02aeef6a8133e0d037e95ad5089b20df9eb /indra/newview/llmoveview.h
parentd2597d35cf3aeaf0c47a134dfe9119ef7932b98a (diff)
QAR-449 Viewer 1.20 RC 0
merge Branch_1-20-Viewer -r 84060 : 84432 -> release
Diffstat (limited to 'indra/newview/llmoveview.h')
-rw-r--r--indra/newview/llmoveview.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/indra/newview/llmoveview.h b/indra/newview/llmoveview.h
index 4d55206194..17005e0ded 100644
--- a/indra/newview/llmoveview.h
+++ b/indra/newview/llmoveview.h
@@ -43,24 +43,21 @@ class LLJoystickAgentSlide;
// Classes
//
class LLFloaterMove
-: public LLFloater
+: public LLFloater,
+ public LLFloaterSingleton<LLFloaterMove>
{
+ friend class LLUISingleton<LLFloaterMove, VisibilityPolicy<LLFloater> >;
+
protected:
- LLFloaterMove();
- ~LLFloaterMove();
+ LLFloaterMove(const LLSD& key);
+ ~LLFloaterMove() {}
public:
+ /*virtual*/ void onOpen();
/*virtual*/ void onClose(bool app_quitting);
static F32 getYawRate(F32 time);
- static void show(void*);
- static void toggle(void*);
- static BOOL visible(void*);
-
- // This function is used for agent-driven button highlighting
- static LLFloaterMove* getInstance() { return sInstance; }
-
protected:
static void turnLeftNudge(void* userdata);
static void turnLeft(void* userdata);
@@ -80,9 +77,6 @@ public:
LLButton* mTurnRightButton;
LLButton* mMoveUpButton;
LLButton* mMoveDownButton;
-
-protected:
- static LLFloaterMove* sInstance;
};