aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmoveview.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llmoveview.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llmoveview.h')
-rw-r--r--linden/indra/newview/llmoveview.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/linden/indra/newview/llmoveview.h b/linden/indra/newview/llmoveview.h
index 2683e62..a3a4ad1 100644
--- a/linden/indra/newview/llmoveview.h
+++ b/linden/indra/newview/llmoveview.h
@@ -43,23 +43,20 @@ class LLJoystickAgentSlide;
43// Classes 43// Classes
44// 44//
45class LLFloaterMove 45class LLFloaterMove
46: public LLFloater 46: public LLFloater,
47 public LLFloaterSingleton<LLFloaterMove>
47{ 48{
49 friend class LLUISingleton<LLFloaterMove, VisibilityPolicy<LLFloater> >;
50
48protected: 51protected:
49 LLFloaterMove(); 52 LLFloaterMove(const LLSD& key);
50 ~LLFloaterMove(); 53 ~LLFloaterMove() {}
51 54
52public: 55public:
56 /*virtual*/ void onOpen();
53 /*virtual*/ void onClose(bool app_quitting); 57 /*virtual*/ void onClose(bool app_quitting);
54 static void onFlyButtonClicked(void* userdata);
55 static F32 getYawRate(F32 time);
56 58
57 static void show(void*); 59 static F32 getYawRate(F32 time);
58 static void toggle(void*);
59 static BOOL visible(void*);
60
61 // This function is used for agent-driven button highlighting
62 static LLFloaterMove* getInstance() { return sInstance; }
63 60
64protected: 61protected:
65 static void turnLeftNudge(void* userdata); 62 static void turnLeftNudge(void* userdata);
@@ -72,8 +69,6 @@ protected:
72 static void moveDown(void* userdata); 69 static void moveDown(void* userdata);
73 70
74public: 71public:
75 LLButton* mFlyButton;
76
77 LLJoystickAgentTurn* mForwardButton; 72 LLJoystickAgentTurn* mForwardButton;
78 LLJoystickAgentTurn* mBackwardButton; 73 LLJoystickAgentTurn* mBackwardButton;
79 LLJoystickAgentSlide* mSlideLeftButton; 74 LLJoystickAgentSlide* mSlideLeftButton;
@@ -82,9 +77,6 @@ public:
82 LLButton* mTurnRightButton; 77 LLButton* mTurnRightButton;
83 LLButton* mMoveUpButton; 78 LLButton* mMoveUpButton;
84 LLButton* mMoveDownButton; 79 LLButton* mMoveDownButton;
85
86protected:
87 static LLFloaterMove* sInstance;
88}; 80};
89 81
90 82