blob: 7f78754577ec0e4f986034abe3c543bc5149f510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
|