00001 00036 #ifndef LL_LLFLOATERGESTURE_H 00037 #define LL_LLFLOATERGESTURE_H 00038 00039 #include "llfloater.h" 00040 00041 #include "lldarray.h" 00042 00043 class LLScrollableContainerView; 00044 class LLView; 00045 class LLButton; 00046 class LLLineEditor; 00047 class LLComboBox; 00048 class LLViewerGesture; 00049 class LLGestureOptions; 00050 class LLScrollListCtrl; 00051 class LLFloaterGestureObserver; 00052 class LLFloaterGestureInventoryObserver; 00053 00054 class LLFloaterGesture 00055 : public LLFloater 00056 { 00057 public: 00058 LLFloaterGesture(); 00059 virtual ~LLFloaterGesture(); 00060 00061 virtual BOOL postBuild(); 00062 00063 static void show(); 00064 static void toggleVisibility(); 00065 static void refreshAll(); 00066 00067 protected: 00068 // Reads from the gesture manager's list of active gestures 00069 // and puts them in this list. 00070 void buildGestureList(); 00071 00072 static void onClickInventory(void* data); 00073 static void onClickEdit(void* data); 00074 static void onClickPlay(void* data); 00075 static void onClickNew(void* data); 00076 static void onCommitList(LLUICtrl* ctrl, void* data); 00077 00078 protected: 00079 LLUUID mSelectedID; 00080 00081 static LLFloaterGesture* sInstance; 00082 static LLFloaterGestureObserver* sObserver; 00083 static LLFloaterGestureInventoryObserver* sInventoryObserver; 00084 }; 00085 00086 00087 #endif