blob: 1d01546fde889a5fe6e45c497ef5d91478429918 (
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
|
class LLFloaterMOAPRadar : public LLFloater
{
private:
LLFloaterMOAPRadar();
public:
~LLFloaterMOAPRadar();
enum AVATARS_COLUMN_ORDER
{
LIST_URL,
LIST_FACE,
LIST_DISTANCE,
LIST_POSITION,
LIST_ALTITUDE
};
/*virtual*/ void onClose(bool app_quitting);
/*virtual*/ void onOpen();
/*virtual*/ BOOL postBuild();
/*virtual*/ void draw();
static void toggle(void*);
static void showInstance();
static void callbackIdle(void *userdata);
void updateMOAPList();
static void onClickOpen(void* userdata);
static void onClickCopy(void* userdata);
static void onClickTrack(void* userdata);
static void onSelectMOAP(LLUICtrl*, void* userdata);
private:
static LLFloaterMOAPRadar* sInstance;
LLScrollListCtrl* mMOAPList;
LLButton * mTrackBtn;
U32 mUpdateRate;
LLUUID mSelectedObjID;
U8 mSelectedFace;
bool mTrackingRunning;
LLUUID mTrackedID;
U8 mTrackedFace;
void updatetrackbtn();
public:
static LLFloaterMOAPRadar* getInstance() { return sInstance; }
};
|