diff options
author | McCabe Maxsted | 2010-08-28 03:08:35 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-28 05:02:09 -0700 |
commit | fc0c1dbdfdae6e4c9ea8964fe9d49092d9ee912d (patch) | |
tree | ad2a52f8e9368952c9f1a2b0d8e5c32b75a1c385 /linden/indra/newview/llnetmap.h | |
parent | Fixed unresolved merge conflict in xui/fr/floater_html.xml (diff) | |
download | meta-impy-fc0c1dbdfdae6e4c9ea8964fe9d49092d9ee912d.zip meta-impy-fc0c1dbdfdae6e4c9ea8964fe9d49092d9ee912d.tar.gz meta-impy-fc0c1dbdfdae6e4c9ea8964fe9d49092d9ee912d.tar.bz2 meta-impy-fc0c1dbdfdae6e4c9ea8964fe9d49092d9ee912d.tar.xz |
Implemented #456: added option to disable objects in mini-map from emerald (I placed it in the right click menu instead of as a debug setting. There are a few other options that might be nice to have in there as well, such as physical)
Diffstat (limited to 'linden/indra/newview/llnetmap.h')
-rw-r--r-- | linden/indra/newview/llnetmap.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llnetmap.h b/linden/indra/newview/llnetmap.h index c0c19d5..562ebc6 100644 --- a/linden/indra/newview/llnetmap.h +++ b/linden/indra/newview/llnetmap.h | |||
@@ -118,7 +118,6 @@ private: | |||
118 | LLUUID mClosestAgentToCursor; | 118 | LLUUID mClosestAgentToCursor; |
119 | LLUUID mClosestAgentAtLastRightClick; | 119 | LLUUID mClosestAgentAtLastRightClick; |
120 | 120 | ||
121 | static BOOL sRotateMap; | ||
122 | static LLNetMap* sInstance; | 121 | static LLNetMap* sInstance; |
123 | static BOOL isAgentUnderCursor(void*) { return sInstance && sInstance->mClosestAgentToCursor.notNull(); } | 122 | static BOOL isAgentUnderCursor(void*) { return sInstance && sInstance->mClosestAgentToCursor.notNull(); } |
124 | static BOOL outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y); | 123 | static BOOL outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y); |
@@ -156,6 +155,18 @@ private: | |||
156 | /*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata); | 155 | /*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata); |
157 | }; | 156 | }; |
158 | 157 | ||
158 | class LLShowObjects : public LLMemberListener<LLNetMap> | ||
159 | { | ||
160 | public: | ||
161 | /*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata); | ||
162 | }; | ||
163 | |||
164 | class LLCheckShowObjects : public LLMemberListener<LLNetMap> | ||
165 | { | ||
166 | public: | ||
167 | /*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata); | ||
168 | }; | ||
169 | |||
159 | class LLShowWorldMap : public LLMemberListener<LLNetMap> | 170 | class LLShowWorldMap : public LLMemberListener<LLNetMap> |
160 | { | 171 | { |
161 | public: | 172 | public: |