diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/newview/llprogressview.cpp | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/newview/llprogressview.cpp')
-rw-r--r-- | linden/indra/newview/llprogressview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llprogressview.cpp b/linden/indra/newview/llprogressview.cpp index d855f75..cc9c3fa 100644 --- a/linden/indra/newview/llprogressview.cpp +++ b/linden/indra/newview/llprogressview.cpp | |||
@@ -49,7 +49,7 @@ | |||
49 | #include "llviewercontrol.h" | 49 | #include "llviewercontrol.h" |
50 | #include "llviewerimagelist.h" | 50 | #include "llviewerimagelist.h" |
51 | #include "llviewerwindow.h" | 51 | #include "llviewerwindow.h" |
52 | #include "viewer.h" | 52 | #include "llappviewer.h" |
53 | 53 | ||
54 | LLProgressView* LLProgressView::sInstance = NULL; | 54 | LLProgressView* LLProgressView::sInstance = NULL; |
55 | 55 | ||
@@ -127,7 +127,7 @@ BOOL LLProgressView::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent) | |||
127 | // Suck up all keystokes except CTRL-Q. | 127 | // Suck up all keystokes except CTRL-Q. |
128 | if( ('Q' == key) && (MASK_CONTROL == mask) ) | 128 | if( ('Q' == key) && (MASK_CONTROL == mask) ) |
129 | { | 129 | { |
130 | app_user_quit(); | 130 | LLAppViewer::instance()->userQuit(); |
131 | } | 131 | } |
132 | return TRUE; | 132 | return TRUE; |
133 | } | 133 | } |
@@ -228,7 +228,7 @@ void LLProgressView::draw() | |||
228 | F32 alpha = 0.5f + 0.5f*0.5f*(1.f + (F32)sin(3.f*timer.getElapsedTimeF32())); | 228 | F32 alpha = 0.5f + 0.5f*0.5f*(1.f + (F32)sin(3.f*timer.getElapsedTimeF32())); |
229 | // background_color.mV[3] = background_color.mV[3]*alpha; | 229 | // background_color.mV[3] = background_color.mV[3]*alpha; |
230 | 230 | ||
231 | LLString top_line = gSecondLife; | 231 | LLString top_line = LLAppViewer::instance()->getSecondLifeTitle(); |
232 | 232 | ||
233 | font->renderUTF8(top_line, 0, | 233 | font->renderUTF8(top_line, 0, |
234 | line_x, line_one_y, | 234 | line_x, line_one_y, |
@@ -338,7 +338,7 @@ void LLProgressView::onCancelButtonClicked(void*) | |||
338 | { | 338 | { |
339 | if (gAgent.getTeleportState() == LLAgent::TELEPORT_NONE) | 339 | if (gAgent.getTeleportState() == LLAgent::TELEPORT_NONE) |
340 | { | 340 | { |
341 | app_request_quit(); | 341 | LLAppViewer::instance()->requestQuit(); |
342 | } | 342 | } |
343 | else | 343 | else |
344 | { | 344 | { |