diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llconsole.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llconsole.cpp b/linden/indra/newview/llconsole.cpp index aebecf5..51ee1f6 100644 --- a/linden/indra/newview/llconsole.cpp +++ b/linden/indra/newview/llconsole.cpp | |||
@@ -49,6 +49,9 @@ | |||
49 | #include "llstartup.h" | 49 | #include "llstartup.h" |
50 | #include "viewer.h" | 50 | #include "viewer.h" |
51 | 51 | ||
52 | // Used for LCD display | ||
53 | extern void AddNewDebugConsoleToLCD(const LLWString &newLine); | ||
54 | |||
52 | LLConsole* gConsole = NULL; // Created and destroyed in LLViewerWindow. | 55 | LLConsole* gConsole = NULL; // Created and destroyed in LLViewerWindow. |
53 | 56 | ||
54 | const F32 FADE_DURATION = 2.f; | 57 | const F32 FADE_DURATION = 2.f; |
@@ -254,6 +257,10 @@ void LLConsole::addLine(const LLWString& wline, F32 size, const LLColor4 &color) | |||
254 | mLineQueue.pop_front(); | 257 | mLineQueue.pop_front(); |
255 | } | 258 | } |
256 | mLineQueue.push_back(LineInfo(wline, size, color, mTimer.getElapsedTimeF32())); | 259 | mLineQueue.push_back(LineInfo(wline, size, color, mTimer.getElapsedTimeF32())); |
260 | #if LL_WINDOWS && LL_LCD_COMPILE | ||
261 | // add to LCD screen | ||
262 | AddNewDebugConsoleToLCD(wline); | ||
263 | #endif | ||
257 | } | 264 | } |
258 | 265 | ||
259 | void LLConsole::addQueuedLines() | 266 | void LLConsole::addQueuedLines() |