diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llmoveview.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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.h | 24 |
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 | // |
45 | class LLFloaterMove | 45 | class LLFloaterMove |
46 | : public LLFloater | 46 | : public LLFloater, |
47 | public LLFloaterSingleton<LLFloaterMove> | ||
47 | { | 48 | { |
49 | friend class LLUISingleton<LLFloaterMove, VisibilityPolicy<LLFloater> >; | ||
50 | |||
48 | protected: | 51 | protected: |
49 | LLFloaterMove(); | 52 | LLFloaterMove(const LLSD& key); |
50 | ~LLFloaterMove(); | 53 | ~LLFloaterMove() {} |
51 | 54 | ||
52 | public: | 55 | public: |
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 | ||
64 | protected: | 61 | protected: |
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 | ||
74 | public: | 71 | public: |
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 | |||
86 | protected: | ||
87 | static LLFloaterMove* sInstance; | ||
88 | }; | 80 | }; |
89 | 81 | ||
90 | 82 | ||