aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/llbutton.cpp2
-rw-r--r--linden/indra/llui/lliconctrl.cpp2
-rw-r--r--linden/indra/llui/lltexteditor.cpp20
-rw-r--r--linden/indra/llui/llui.cpp2
-rw-r--r--linden/indra/llui/lluistring.h12
5 files changed, 19 insertions, 19 deletions
diff --git a/linden/indra/llui/llbutton.cpp b/linden/indra/llui/llbutton.cpp
index 702e34e..e6b86c9 100644
--- a/linden/indra/llui/llbutton.cpp
+++ b/linden/indra/llui/llbutton.cpp
@@ -34,7 +34,7 @@
34 34
35#include "llbutton.h" 35#include "llbutton.h"
36 36
37// Linden library includes 37// viewer library includes
38#include "v4color.h" 38#include "v4color.h"
39#include "llstring.h" 39#include "llstring.h"
40 40
diff --git a/linden/indra/llui/lliconctrl.cpp b/linden/indra/llui/lliconctrl.cpp
index 0df960e..9b01060 100644
--- a/linden/indra/llui/lliconctrl.cpp
+++ b/linden/indra/llui/lliconctrl.cpp
@@ -34,7 +34,7 @@
34 34
35#include "lliconctrl.h" 35#include "lliconctrl.h"
36 36
37// Linden library includes 37// viewer library includes
38 38
39// Project includes 39// Project includes
40#include "llcontrol.h" 40#include "llcontrol.h"
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index 004d063..40dafcd 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -4206,10 +4206,10 @@ void LLTextEditor::appendColoredText(const std::string &new_text,
4206 const std::string& font_name) 4206 const std::string& font_name)
4207{ 4207{
4208 LLColor4 lcolor=color; 4208 LLColor4 lcolor=color;
4209 // If LindenUserDir is empty then we didn't login yet. 4209 // If ViewerUserDir is empty then we didn't login yet.
4210 // In that case we can't instantiate LLTextParser, which 4210 // In that case we can't instantiate LLTextParser, which
4211 // is initialized per user. 4211 // is initialized per user.
4212 if (mParseHighlights && !gDirUtilp->getLindenUserDir(true).empty()) 4212 if (mParseHighlights && !gDirUtilp->getViewerUserDir(true).empty())
4213 { 4213 {
4214 LLTextParser* highlight = LLTextParser::getInstance(); 4214 LLTextParser* highlight = LLTextParser::getInstance();
4215 highlight->parseFullLineHighlights(new_text, &lcolor); 4215 highlight->parseFullLineHighlights(new_text, &lcolor);
@@ -4289,10 +4289,10 @@ void LLTextEditor::appendHighlightedText(const std::string &new_text,
4289 S32 highlight_part, 4289 S32 highlight_part,
4290 LLStyleSP stylep) 4290 LLStyleSP stylep)
4291{ 4291{
4292 // If LindenUserDir is empty then we didn't login yet. 4292 // If ViewerUserDir is empty then we didn't login yet.
4293 // In that case we can't instantiate LLTextParser, which 4293 // In that case we can't instantiate LLTextParser, which
4294 // is initialized per user. 4294 // is initialized per user.
4295 if (mParseHighlights && !gDirUtilp->getLindenUserDir(true).empty()) 4295 if (mParseHighlights && !gDirUtilp->getViewerUserDir(true).empty())
4296 { 4296 {
4297 LLTextParser* highlight = LLTextParser::getInstance(); 4297 LLTextParser* highlight = LLTextParser::getInstance();
4298 4298
@@ -4760,20 +4760,20 @@ BOOL LLTextEditor::importBuffer(const char* buffer, S32 length )
4760 instream.getline(tbuf, MAX_STRING); 4760 instream.getline(tbuf, MAX_STRING);
4761 if( 1 != sscanf(tbuf, "Linden text version %d", &version) ) 4761 if( 1 != sscanf(tbuf, "Linden text version %d", &version) )
4762 { 4762 {
4763 llwarns << "Invalid Linden text file header " << llendl; 4763 llwarns << "Invalid Notecard text file header " << llendl;
4764 return FALSE; 4764 return FALSE;
4765 } 4765 }
4766 4766
4767 if( 1 != version ) 4767 if( 1 != version )
4768 { 4768 {
4769 llwarns << "Invalid Linden text file version: " << version << llendl; 4769 llwarns << "Invalid Notecard text file version: " << version << llendl;
4770 return FALSE; 4770 return FALSE;
4771 } 4771 }
4772 4772
4773 instream.getline(tbuf, MAX_STRING); 4773 instream.getline(tbuf, MAX_STRING);
4774 if( 0 != sscanf(tbuf, "{") ) 4774 if( 0 != sscanf(tbuf, "{") )
4775 { 4775 {
4776 llwarns << "Invalid Linden text file format" << llendl; 4776 llwarns << "Invalid Notecard text file format" << llendl;
4777 return FALSE; 4777 return FALSE;
4778 } 4778 }
4779 4779
@@ -4781,13 +4781,13 @@ BOOL LLTextEditor::importBuffer(const char* buffer, S32 length )
4781 instream.getline(tbuf, MAX_STRING); 4781 instream.getline(tbuf, MAX_STRING);
4782 if( 1 != sscanf(tbuf, "Text length %d", &text_len) ) 4782 if( 1 != sscanf(tbuf, "Text length %d", &text_len) )
4783 { 4783 {
4784 llwarns << "Invalid Linden text length field" << llendl; 4784 llwarns << "Invalid Notecard text length field" << llendl;
4785 return FALSE; 4785 return FALSE;
4786 } 4786 }
4787 4787
4788 if( text_len > mMaxTextByteLength ) 4788 if( text_len > mMaxTextByteLength )
4789 { 4789 {
4790 llwarns << "Invalid Linden text length: " << text_len << llendl; 4790 llwarns << "Invalid Notecard text length: " << text_len << llendl;
4791 return FALSE; 4791 return FALSE;
4792 } 4792 }
4793 4793
@@ -4810,7 +4810,7 @@ BOOL LLTextEditor::importBuffer(const char* buffer, S32 length )
4810 instream.getline(tbuf, MAX_STRING); 4810 instream.getline(tbuf, MAX_STRING);
4811 if( success && (0 != sscanf(tbuf, "}")) ) 4811 if( success && (0 != sscanf(tbuf, "}")) )
4812 { 4812 {
4813 llwarns << "Invalid Linden text file format: missing terminal }" << llendl; 4813 llwarns << "Invalid Notecard text file format: missing terminal }" << llendl;
4814 success = FALSE; 4814 success = FALSE;
4815 } 4815 }
4816 4816
diff --git a/linden/indra/llui/llui.cpp b/linden/indra/llui/llui.cpp
index 75a4467..dfef4bc 100644
--- a/linden/indra/llui/llui.cpp
+++ b/linden/indra/llui/llui.cpp
@@ -37,7 +37,7 @@
37#include <string> 37#include <string>
38#include <map> 38#include <map>
39 39
40// Linden library includes 40// viewer library includes
41#include "v2math.h" 41#include "v2math.h"
42#include "v4color.h" 42#include "v4color.h"
43#include "llrender.h" 43#include "llrender.h"
diff --git a/linden/indra/llui/lluistring.h b/linden/indra/llui/lluistring.h
index aedeca2..adc2e08 100644
--- a/linden/indra/llui/lluistring.h
+++ b/linden/indra/llui/lluistring.h
@@ -45,14 +45,14 @@
45// the correct result 45// the correct result
46 46
47// Example Usage: 47// Example Usage:
48// LLUIString mMessage("Welcome [USERNAME] to [SECONDLIFE]!"); 48// LLUIString mMessage("Welcome [USERNAME] to [GRIDNAME]!");
49// mMessage.setArg("[USERNAME]", "Steve"); 49// mMessage.setArg("[USERNAME]", "Steve");
50// mMessage.setArg("[SECONDLIFE]", "Second Life"); 50// mMessage.setArg("[GRIDNAME]", "This Grid");
51// llinfos << mMessage.getString() << llendl; // outputs "Welcome Steve to Second Life" 51// llinfos << mMessage.getString() << llendl; // outputs "Welcome Steve to This Grid"
52// mMessage.setArg("[USERNAME]", "Joe"); 52// mMessage.setArg("[USERNAME]", "Joe");
53// llinfos << mMessage.getString() << llendl; // outputs "Welcome Joe to Second Life" 53// llinfos << mMessage.getString() << llendl; // outputs "Welcome Joe to This Grid"
54// mMessage = "Recepci￳n a la [SECONDLIFE] [USERNAME]" 54// mMessage = "Recepci￳n a la [GRIDNAME] [USERNAME]"
55// mMessage.setArg("[SECONDLIFE]", "Segunda Vida"); 55// mMessage.setArg("[GRIDNAME]", "Segunda Vida");
56// llinfos << mMessage.getString() << llendl; // outputs "Recepci￳n a la Segunda Vida Joe" 56// llinfos << mMessage.getString() << llendl; // outputs "Recepci￳n a la Segunda Vida Joe"
57 57
58// Implementation Notes: 58// Implementation Notes: