diff options
Diffstat (limited to 'indra/llui/llurlmatch.h')
-rw-r--r-- | indra/llui/llurlmatch.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llui/llurlmatch.h b/indra/llui/llurlmatch.h index 1ffac6ea0f..19b26ab6bc 100644 --- a/indra/llui/llurlmatch.h +++ b/indra/llui/llurlmatch.h @@ -83,11 +83,15 @@ public: /// return the SL location that this Url describes, or "" if none. std::string getLocation() const { return mLocation; } + /// Should this link text be underlined only when mouse is hovered over it? + bool underlineOnHoverOnly() const { return mUnderlineOnHoverOnly; } + /// Change the contents of this match object (used by LLUrlRegistry) void setValues(U32 start, U32 end, const std::string &url, const std::string &label, const std::string &tooltip, const std::string &icon, const LLStyle::Params& style, const std::string &menu, - const std::string &location, const LLUUID& id); + const std::string &location, const LLUUID& id, + bool underline_on_hover_only = false ); const LLUUID& getID() const { return mID; } private: @@ -101,6 +105,7 @@ private: std::string mLocation; LLUUID mID; LLStyle::Params mStyle; + bool mUnderlineOnHoverOnly; }; #endif |