aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llconsole.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llconsole.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
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);