diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llkeywords.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llui/llkeywords.h')
-rw-r--r-- | linden/indra/llui/llkeywords.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llui/llkeywords.h b/linden/indra/llui/llkeywords.h index 61c3c57..e3361f6 100644 --- a/linden/indra/llui/llkeywords.h +++ b/linden/indra/llui/llkeywords.h | |||
@@ -80,16 +80,16 @@ public: | |||
80 | LLKeywords(); | 80 | LLKeywords(); |
81 | ~LLKeywords(); | 81 | ~LLKeywords(); |
82 | 82 | ||
83 | BOOL loadFromFile(const LLString& filename); | 83 | BOOL loadFromFile(const std::string& filename); |
84 | BOOL isLoaded() const { return mLoaded; } | 84 | BOOL isLoaded() const { return mLoaded; } |
85 | 85 | ||
86 | void findSegments(std::vector<LLTextSegment *> *seg_list, const LLWString& text, const LLColor4 &defaultColor ); | 86 | void findSegments(std::vector<LLTextSegment *> *seg_list, const LLWString& text, const LLColor4 &defaultColor ); |
87 | 87 | ||
88 | // Add the token as described | 88 | // Add the token as described |
89 | void addToken(LLKeywordToken::TOKEN_TYPE type, | 89 | void addToken(LLKeywordToken::TOKEN_TYPE type, |
90 | const LLString& key, | 90 | const std::string& key, |
91 | const LLColor3& color, | 91 | const LLColor3& color, |
92 | const LLString& tool_tip = LLString::null); | 92 | const std::string& tool_tip = LLStringUtil::null); |
93 | 93 | ||
94 | typedef std::map<LLWString, LLKeywordToken*> word_token_map_t; | 94 | typedef std::map<LLWString, LLKeywordToken*> word_token_map_t; |
95 | typedef word_token_map_t::const_iterator keyword_iterator_t; | 95 | typedef word_token_map_t::const_iterator keyword_iterator_t; |
@@ -101,7 +101,7 @@ public: | |||
101 | #endif | 101 | #endif |
102 | 102 | ||
103 | private: | 103 | private: |
104 | LLColor3 readColor(const LLString& s); | 104 | LLColor3 readColor(const std::string& s); |
105 | void insertSegment(std::vector<LLTextSegment *> *seg_list, LLTextSegment* new_segment, S32 text_len, const LLColor4 &defaultColor); | 105 | void insertSegment(std::vector<LLTextSegment *> *seg_list, LLTextSegment* new_segment, S32 text_len, const LLColor4 &defaultColor); |
106 | 106 | ||
107 | BOOL mLoaded; | 107 | BOOL mLoaded; |