summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatergesture.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/llfloatergesture.h
Print done when done.
Diffstat (limited to 'indra/newview/llfloatergesture.h')
-rw-r--r--indra/newview/llfloatergesture.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/indra/newview/llfloatergesture.h b/indra/newview/llfloatergesture.h
new file mode 100644
index 0000000000..7f78754577
--- /dev/null
+++ b/indra/newview/llfloatergesture.h
@@ -0,0 +1,64 @@
+/**
+ * @file llfloatergesture.h
+ * @brief Read-only list of gestures from your inventory.
+ *
+ * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+/**
+ * (Also has legacy gesture editor for testing.)
+ */
+
+#ifndef LL_LLFLOATERGESTURE_H
+#define LL_LLFLOATERGESTURE_H
+
+#include "llfloater.h"
+
+#include "lldarray.h"
+
+class LLScrollableContainerView;
+class LLView;
+class LLButton;
+class LLLineEditor;
+class LLComboBox;
+class LLViewerGesture;
+class LLGestureOptions;
+class LLScrollListCtrl;
+class LLFloaterGestureObserver;
+class LLFloaterGestureInventoryObserver;
+
+class LLFloaterGesture
+: public LLFloater
+{
+public:
+ LLFloaterGesture();
+ virtual ~LLFloaterGesture();
+
+ virtual BOOL postBuild();
+
+ static void show();
+ static void toggleVisibility();
+ static void refreshAll();
+
+protected:
+ // Reads from the gesture manager's list of active gestures
+ // and puts them in this list.
+ void buildGestureList();
+
+ static void onClickInventory(void* data);
+ static void onClickEdit(void* data);
+ static void onClickPlay(void* data);
+ static void onClickNew(void* data);
+ static void onCommitList(LLUICtrl* ctrl, void* data);
+
+protected:
+ LLUUID mSelectedID;
+
+ static LLFloaterGesture* sInstance;
+ static LLFloaterGestureObserver* sObserver;
+ static LLFloaterGestureInventoryObserver* sInventoryObserver;
+};
+
+
+#endif