summaryrefslogtreecommitdiff
path: root/indra/newview/llmoveview.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llmoveview.h')
-rw-r--r--indra/newview/llmoveview.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/indra/newview/llmoveview.h b/indra/newview/llmoveview.h
index 17005e0ded..4d55206194 100644
--- a/indra/newview/llmoveview.h
+++ b/indra/newview/llmoveview.h
@@ -43,21 +43,24 @@ class LLJoystickAgentSlide;
// Classes
//
class LLFloaterMove
-: public LLFloater,
- public LLFloaterSingleton<LLFloaterMove>
+: public LLFloater
{
- friend class LLUISingleton<LLFloaterMove, VisibilityPolicy<LLFloater> >;
-
protected:
- LLFloaterMove(const LLSD& key);
- ~LLFloaterMove() {}
+ LLFloaterMove();
+ ~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);
@@ -77,6 +80,9 @@ public:
LLButton* mTurnRightButton;
LLButton* mMoveUpButton;
LLButton* mMoveDownButton;
+
+protected:
+ static LLFloaterMove* sInstance;
};