diff options
author | Steven Bennetts <steve@lindenlab.com> | 2009-05-08 07:43:08 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2009-05-08 07:43:08 +0000 |
commit | a4000c3744e42fcbb638e742f3b63fa31a0dee15 (patch) | |
tree | 7f472c30e65bbfa04ee9bc06631a1af305cc31fb /indra/newview/llfloatermap.h | |
parent | 6c4cadbb04d633ad7b762058bdeba6e1f650dafd (diff) |
merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7
Diffstat (limited to 'indra/newview/llfloatermap.h')
-rw-r--r-- | indra/newview/llfloatermap.h | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/indra/newview/llfloatermap.h b/indra/newview/llfloatermap.h index ec2db27f7a..501777ed07 100644 --- a/indra/newview/llfloatermap.h +++ b/indra/newview/llfloatermap.h @@ -35,28 +35,42 @@ #include "llfloater.h" +class LLMenuGL; class LLNetMap; +class LLTextBox; -class LLFloaterMap : - public LLFloater, - public LLFloaterSingleton<LLFloaterMap> +// +// Classes +// +class LLFloaterMap : public LLFloater { - friend class LLUISingleton<LLFloaterMap, VisibilityPolicy<LLFloater> >; public: + LLFloaterMap(const LLSD& key); virtual ~LLFloaterMap(); - - static void* createPanelMiniMap(void* data); - - BOOL postBuild(); - + + /*virtual*/ BOOL postBuild(); + /*virtual*/ BOOL handleDoubleClick( S32 x, S32 y, MASK mask ); + /*virtual*/ BOOL handleRightMouseDown( S32 x, S32 y, MASK mask ); /*virtual*/ void draw(); - /*virtual*/ void onOpen(); - /*virtual*/ void onClose(bool app_quitting); - /*virtual*/ BOOL canClose(); - + private: - LLFloaterMap(const LLSD& key = LLSD()); - LLNetMap* mPanelMap; + void handleZoom(const LLSD& userdata); + void handleStopTracking (const LLSD& userdata); + void setDirectionPos( LLTextBox* text_box, F32 rotation ); + + LLMenuGL* mPopupMenu; + + LLTextBox* mTextBoxEast; + LLTextBox* mTextBoxNorth; + LLTextBox* mTextBoxWest; + LLTextBox* mTextBoxSouth; + + LLTextBox* mTextBoxSouthEast; + LLTextBox* mTextBoxNorthEast; + LLTextBox* mTextBoxNorthWest; + LLTextBox* mTextBoxSouthWest; + + LLNetMap* mMap; }; #endif // LL_LLFLOATERMAP_H |