diff options
Diffstat (limited to 'linden/indra/newview/llfloatermap.h')
-rw-r--r-- | linden/indra/newview/llfloatermap.h | 28 |
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 | ||
37 | class LLNetMap; | 37 | class LLNetMap; |
38 | 38 | ||
39 | // | 39 | class LLFloaterMap : |
40 | // Classes | 40 | public LLFloater, |
41 | // | 41 | public LLFloaterSingleton<LLFloaterMap> |
42 | class LLFloaterMap | ||
43 | : public LLFloater | ||
44 | { | 42 | { |
43 | friend class LLUISingleton<LLFloaterMap, VisibilityPolicy<LLFloater> >; | ||
45 | public: | 44 | public: |
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 | ||
56 | protected: | 56 | private: |
57 | LLNetMap* mMap; | 57 | LLFloaterMap(const LLSD& key = LLSD()); |
58 | LLNetMap* mPanelMap; | ||
58 | }; | 59 | }; |
59 | 60 | ||
60 | |||
61 | // | ||
62 | // Globals | ||
63 | // | ||
64 | |||
65 | extern LLFloaterMap *gFloaterMap; | ||
66 | |||
67 | #endif // LL_LLFLOATERMAP_H | 61 | #endif // LL_LLFLOATERMAP_H |