diff options
author | James Cook <james@lindenlab.com> | 2010-05-25 11:41:33 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-05-25 11:41:33 -0700 |
commit | a91d10dc1806d1931c7f1361bfcf70df59d982d5 (patch) | |
tree | 20f2940d888aaf71c54ff1e7834cbf79a3617216 /indra/llui/llurlmatch.h | |
parent | d6ea42984553b7adb6f26cf2ed094d32e36814d2 (diff) | |
parent | f682c996d28c3841b6709f8fc67ba443bfcd1926 (diff) |
Merge
Diffstat (limited to 'indra/llui/llurlmatch.h')
-rw-r--r-- | indra/llui/llurlmatch.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/indra/llui/llurlmatch.h b/indra/llui/llurlmatch.h index e86762548b..43bd9da14a 100644 --- a/indra/llui/llurlmatch.h +++ b/indra/llui/llurlmatch.h @@ -38,7 +38,7 @@ #include <string> #include <vector> -#include "lluicolor.h" +#include "llstyle.h" /// /// LLUrlMatch describes a single Url that was matched within a string by @@ -75,7 +75,7 @@ public: std::string getIcon() const { return mIcon; } /// Return the color to render the displayed text - LLUIColor getColor() const { return mColor; } + LLStyle::Params getStyle() const { return mStyle; } /// Return the name of a XUI file containing the context menu items std::string getMenuName() const { return mMenuName; } @@ -83,14 +83,11 @@ public: /// return the SL location that this Url describes, or "" if none. std::string getLocation() const { return mLocation; } - /// is this a match for a URL that should not be hyperlinked? - bool isLinkDisabled() const { return mDisabledLink; } - /// 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 LLUIColor& color, const std::string &menu, - const std::string &location, bool disabled_link); + const LLStyle::Params& style, const std::string &menu, + const std::string &location); private: U32 mStart; @@ -101,8 +98,7 @@ private: std::string mIcon; std::string mMenuName; std::string mLocation; - LLUIColor mColor; - bool mDisabledLink; + LLStyle::Params mStyle; }; #endif |