diff options
| author | Tofu Buzzard <no-email> | 2010-10-15 09:52:11 +0100 |
|---|---|---|
| committer | Tofu Buzzard <no-email> | 2010-10-15 09:52:11 +0100 |
| commit | ad033a4b35387a343f2204cda64ecb590888b60e (patch) | |
| tree | 6b2191d8e082bc84e28b2bbaa4dcea95cf68a797 /indra/llui/llurlmatch.cpp | |
| parent | 393c819477b268aa0a05ec0a006e1dba27d6e6c6 (diff) | |
| parent | 508686047d5e98934d5fefbb576e54f108df6fe3 (diff) | |
sync up to viewer-developer
Diffstat (limited to 'indra/llui/llurlmatch.cpp')
| -rw-r--r-- | indra/llui/llurlmatch.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/llui/llurlmatch.cpp b/indra/llui/llurlmatch.cpp index e53b0c4370..c1f1382a9f 100644 --- a/indra/llui/llurlmatch.cpp +++ b/indra/llui/llurlmatch.cpp @@ -37,16 +37,15 @@ LLUrlMatch::LLUrlMatch() : mIcon(""), mMenuName(""), mLocation(""), - mDisabledLink(false), mUnderlineOnHoverOnly(false) { } void LLUrlMatch::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 &icon, const LLStyle::Params& style, const std::string &menu, const std::string &location, - bool disabled_link, const LLUUID& id, bool underline_on_hover_only) + const LLUUID& id, bool underline_on_hover_only) { mStart = start; mEnd = end; @@ -54,10 +53,10 @@ void LLUrlMatch::setValues(U32 start, U32 end, const std::string &url, mLabel = label; mTooltip = tooltip; mIcon = icon; - mColor = color; + mStyle = style; + mStyle.link_href = url; mMenuName = menu; mLocation = location; - mDisabledLink = disabled_link; mID = id; mUnderlineOnHoverOnly = underline_on_hover_only; } |
