aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatermap.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-06-09 09:41:04 -0700
committerMcCabe Maxsted2009-06-09 09:41:04 -0700
commite5dbb8e4dc05e664102362685ddca94f37cdf575 (patch)
tree93e695263553adadc423cf7e7d2e4b046adb8a7a /linden/indra/newview/llfloatermap.h
parentFixed the Resident Chooser showing hair instead of calling cards (diff)
downloadmeta-impy-e5dbb8e4dc05e664102362685ddca94f37cdf575.zip
meta-impy-e5dbb8e4dc05e664102362685ddca94f37cdf575.tar.gz
meta-impy-e5dbb8e4dc05e664102362685ddca94f37cdf575.tar.bz2
meta-impy-e5dbb8e4dc05e664102362685ddca94f37cdf575.tar.xz
Backported 1.23's minimap conversion to XUI
Diffstat (limited to 'linden/indra/newview/llfloatermap.h')
-rw-r--r--linden/indra/newview/llfloatermap.h28
1 files changed, 11 insertions, 17 deletions
diff --git a/linden/indra/newview/llfloatermap.h b/linden/indra/newview/llfloatermap.h
index 91226dd..dd1cba8 100644
--- a/linden/indra/newview/llfloatermap.h
+++ b/linden/indra/newview/llfloatermap.h
@@ -36,32 +36,26 @@
36 36
37class LLNetMap; 37class LLNetMap;
38 38
39// 39class LLFloaterMap :
40// Classes 40 public LLFloater,
41// 41 public LLFloaterSingleton<LLFloaterMap>
42class LLFloaterMap
43: public LLFloater
44{ 42{
43 friend class LLUISingleton<LLFloaterMap, VisibilityPolicy<LLFloater> >;
45public: 44public:
46 LLFloaterMap(const std::string& name);
47 virtual ~LLFloaterMap(); 45 virtual ~LLFloaterMap();
48 46
49 static void toggle(void*); 47 static void* createPanelMiniMap(void* data);
48
49 BOOL postBuild();
50 50
51 /*virtual*/ void setVisible(BOOL visible);
52 /*virtual*/ void draw(); 51 /*virtual*/ void draw();
52 /*virtual*/ void onOpen();
53 /*virtual*/ void onClose(bool app_quitting); 53 /*virtual*/ void onClose(bool app_quitting);
54 /*virtual*/ BOOL canClose(); 54 /*virtual*/ BOOL canClose();
55 55
56protected: 56private:
57 LLNetMap* mMap; 57 LLFloaterMap(const LLSD& key = LLSD());
58 LLNetMap* mPanelMap;
58}; 59};
59 60
60
61//
62// Globals
63//
64
65extern LLFloaterMap *gFloaterMap;
66
67#endif // LL_LLFLOATERMAP_H 61#endif // LL_LLFLOATERMAP_H