aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llworldmapview.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llworldmapview.h')
-rw-r--r--linden/indra/newview/llworldmapview.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/newview/llworldmapview.h b/linden/indra/newview/llworldmapview.h
index 079cd47..915a196 100644
--- a/linden/indra/newview/llworldmapview.h
+++ b/linden/indra/newview/llworldmapview.h
@@ -69,7 +69,7 @@ public:
69 virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); 69 virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
70 virtual BOOL handleDoubleClick( S32 x, S32 y, MASK mask ); 70 virtual BOOL handleDoubleClick( S32 x, S32 y, MASK mask );
71 virtual BOOL handleHover( S32 x, S32 y, MASK mask ); 71 virtual BOOL handleHover( S32 x, S32 y, MASK mask );
72 virtual BOOL handleToolTip( S32 x, S32 y, LLString& msg, LLRect* sticky_rect_screen ); 72 virtual BOOL handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rect_screen );
73 73
74 bool checkItemHit(S32 x, S32 y, LLItemInfo& item, LLUUID* id, bool track); 74 bool checkItemHit(S32 x, S32 y, LLItemInfo& item, LLUUID* id, bool track);
75 void handleClick(S32 x, S32 y, MASK mask, S32* hit_type, LLUUID* id); 75 void handleClick(S32 x, S32 y, MASK mask, S32* hit_type, LLUUID* id);
@@ -95,9 +95,9 @@ public:
95 95
96 // Draw the tracking indicator, doing the right thing if it's outside 96 // Draw the tracking indicator, doing the right thing if it's outside
97 // the view area. 97 // the view area.
98 void drawTracking( const LLVector3d& pos_global, 98 void drawTracking( const LLVector3d& pos_global, const LLColor4& color, BOOL draw_arrow = TRUE,
99 const LLColor4& color, 99 const std::string& label = std::string(), const std::string& tooltip = std::string(),
100 BOOL draw_arrow = TRUE, LLString label = LLString(), LLString tooltip = "", S32 vert_offset = 0); 100 S32 vert_offset = 0);
101 static void drawTrackingArrow(const LLRect& view_rect, S32 x, S32 y, 101 static void drawTrackingArrow(const LLRect& view_rect, S32 x, S32 y,
102 const LLColor4& color, 102 const LLColor4& color,
103 S32 arrow_size = DEFAULT_TRACKING_ARROW_SIZE); 103 S32 arrow_size = DEFAULT_TRACKING_ARROW_SIZE);
@@ -187,6 +187,8 @@ public:
187 187
188 typedef std::vector<U64> handle_list_t; 188 typedef std::vector<U64> handle_list_t;
189 handle_list_t mVisibleRegions; // set every frame 189 handle_list_t mVisibleRegions; // set every frame
190
191 static std::map<std::string,std::string> sStringsMap;
190}; 192};
191 193
192#endif 194#endif