aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llconsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llconsole.h')
-rw-r--r--linden/indra/newview/llconsole.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/linden/indra/newview/llconsole.h b/linden/indra/newview/llconsole.h
index 2a072f9..525cab3 100644
--- a/linden/indra/newview/llconsole.h
+++ b/linden/indra/newview/llconsole.h
@@ -45,6 +45,21 @@ private:
45 S32 mLastBoxHeight; 45 S32 mLastBoxHeight;
46 S32 mLastBoxWidth; 46 S32 mLastBoxWidth;
47 47
48 struct LineInfo
49 {
50 LineInfo(const LLWString &wln, F32 sz, const LLColor4& clr, F32 time)
51 : wline(wln), size(sz), color(clr), add_time(time)
52 {
53
54 }
55 LLWString wline;
56 F32 size;
57 LLColor4 color;
58 F32 add_time;
59 };
60 typedef std::list<LineInfo> line_queue_t;
61 line_queue_t mLineQueue;
62
48public: 63public:
49 // Font size: 64 // Font size:
50 // -1 = monospace, 0 means small, font size = 1 means big 65 // -1 = monospace, 0 means small, font size = 1 means big
@@ -65,7 +80,8 @@ public:
65 80
66 void addLine(const LLString& utf8line, F32 size, const LLColor4 &color); 81 void addLine(const LLString& utf8line, F32 size, const LLColor4 &color);
67 void addLine(const LLWString& wline, F32 size, const LLColor4 &color); 82 void addLine(const LLWString& wline, F32 size, const LLColor4 &color);
68 83 void addQueuedLines();
84
69 // Overrides 85 // Overrides
70 /*virtual*/ void draw(); 86 /*virtual*/ void draw();
71 /*virtual*/ void addLine(const LLString& utf8line); 87 /*virtual*/ void addLine(const LLString& utf8line);