00001 00032 #ifndef LL_LLMOVEVIEW_H 00033 #define LL_LLMOVEVIEW_H 00034 00035 // Library includes 00036 #include "llfloater.h" 00037 00038 class LLButton; 00039 class LLJoystickAgentTurn; 00040 class LLJoystickAgentSlide; 00041 00042 // 00043 // Classes 00044 // 00045 class LLFloaterMove 00046 : public LLFloater, 00047 public LLFloaterSingleton<LLFloaterMove> 00048 { 00049 friend class LLUISingleton<LLFloaterMove, VisibilityPolicy<LLFloater> >; 00050 00051 protected: 00052 LLFloaterMove(const LLSD& key); 00053 ~LLFloaterMove() {} 00054 00055 public: 00056 /*virtual*/ void onOpen(); 00057 /*virtual*/ void onClose(bool app_quitting); 00058 00059 static F32 getYawRate(F32 time); 00060 00061 protected: 00062 static void turnLeftNudge(void* userdata); 00063 static void turnLeft(void* userdata); 00064 00065 static void turnRightNudge(void* userdata); 00066 static void turnRight(void* userdata); 00067 00068 static void moveUp(void* userdata); 00069 static void moveDown(void* userdata); 00070 00071 public: 00072 LLJoystickAgentTurn* mForwardButton; 00073 LLJoystickAgentTurn* mBackwardButton; 00074 LLJoystickAgentSlide* mSlideLeftButton; 00075 LLJoystickAgentSlide* mSlideRightButton; 00076 LLButton* mTurnLeftButton; 00077 LLButton* mTurnRightButton; 00078 LLButton* mMoveUpButton; 00079 LLButton* mMoveDownButton; 00080 }; 00081 00082 00083 #endif