Add LLTextEditor::setLinkColor for when links need to be another color!
This fixes blue on blue in notices for the classic skin, while it does affect other skins, it's not very noticeable. Actually this change kinda makes links match skins better overall...
This commit is contained in:
@@ -260,6 +260,8 @@ public:
|
||||
|
||||
void setHandleEditKeysDirectly( BOOL b ) { mHandleEditKeysDirectly = b; }
|
||||
|
||||
// Use for when the link color needs to be changed to avoid looking awful
|
||||
void setLinkColor(LLColor4* color) { if (mLinkColor) delete mLinkColor; mLinkColor = color; }
|
||||
|
||||
void setOnScrollEndCallback(void (*callback)(void*), void* userdata);
|
||||
|
||||
@@ -504,6 +506,7 @@ private:
|
||||
// Data
|
||||
//
|
||||
LLKeywords mKeywords;
|
||||
LLColor4* mLinkColor;
|
||||
|
||||
// Concrete LLTextCmd sub-classes used by the LLTextEditor base class
|
||||
class LLTextCmdInsert;
|
||||
|
||||
Reference in New Issue
Block a user