diff options
author | James Cook <james@lindenlab.com> | 2010-02-12 16:12:12 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-02-12 16:12:12 -0800 |
commit | c16591c046fa76fc5d13387efa3bcaec3422e593 (patch) | |
tree | 709d1bd5e4c5587ee9b51a032535a6567565342e /indra/llui/lltextbase.h | |
parent | 3581d0001e2506389f41ce46f5007cc6f40f2d6a (diff) |
Per-avatar customizable icons next to name links in text
Changed LLUrlEntryAgent callbacks to handle both link label and icon
Eliminated legacy LLNameCache file loading
Reviewed with Kelly
Diffstat (limited to 'indra/llui/lltextbase.h')
-rw-r--r-- | indra/llui/lltextbase.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.h b/indra/llui/lltextbase.h index 3dda6f4cc8..dc8bc0dca0 100644 --- a/indra/llui/lltextbase.h +++ b/indra/llui/lltextbase.h @@ -309,7 +309,10 @@ protected: // misc void updateRects(); void needsScroll() { mScrollNeeded = TRUE; } - void replaceUrlLabel(const std::string &url, const std::string &label); + + // Replace a URL with a new icon and label, for example, when + // avatar names are looked up. + void replaceUrl(const std::string &url, const std::string &label, const std::string& icon); protected: // text segmentation and flow |