diff options
author | McCabe Maxsted | 2009-06-09 09:41:04 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-06-09 09:41:04 -0700 |
commit | e5dbb8e4dc05e664102362685ddca94f37cdf575 (patch) | |
tree | 93e695263553adadc423cf7e7d2e4b046adb8a7a /linden/indra/newview/llfloatermap.h | |
parent | Fixed the Resident Chooser showing hair instead of calling cards (diff) | |
download | meta-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.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 |