aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llpanellogin.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llpanellogin.cpp')
-rw-r--r--linden/indra/newview/llpanellogin.cpp32
1 files changed, 20 insertions, 12 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index fdc431c..7a0482b 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -44,6 +44,7 @@
44#include "llcombobox.h" 44#include "llcombobox.h"
45#include "llviewercontrol.h" 45#include "llviewercontrol.h"
46#include "llfloaterabout.h" 46#include "llfloaterabout.h"
47#include "llfloatertest.h"
47#include "llfloaterpreference.h" 48#include "llfloaterpreference.h"
48#include "llfocusmgr.h" 49#include "llfocusmgr.h"
49#include "lllineeditor.h" 50#include "lllineeditor.h"
@@ -424,23 +425,30 @@ BOOL LLPanelLogin::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent)
424 return TRUE; 425 return TRUE;
425 } 426 }
426 427
427 #if LL_LIBXUL_ENABLED 428 if (('T' == key) && (MASK_CONTROL == mask))
429 {
430 new LLFloaterSimple("floater_test.xml");
431 return TRUE;
432 }
433
434#if LL_LIBXUL_ENABLED
428 if ( KEY_F1 == key ) 435 if ( KEY_F1 == key )
429 { 436 {
430 llinfos << "Spawning HTML help window" << llendl; 437 llinfos << "Spawning HTML help window" << llendl;
431 gViewerHtmlHelp.show(); 438 gViewerHtmlHelp.show();
432 return TRUE; 439 return TRUE;
433 }; 440 }
434 #if ! LL_RELEASE_FOR_DOWNLOAD 441
435 if ( KEY_F2 == key ) 442# if !LL_RELEASE_FOR_DOWNLOAD
436 { 443 if ( KEY_F2 == key )
437 llinfos << "Spawning floater TOS window" << llendl; 444 {
438 LLFloaterTOS* tos_dialog = LLFloaterTOS::show(LLFloaterTOS::TOS_TOS,""); 445 llinfos << "Spawning floater TOS window" << llendl;
439 tos_dialog->startModal(); 446 LLFloaterTOS* tos_dialog = LLFloaterTOS::show(LLFloaterTOS::TOS_TOS,"");
440 return TRUE; 447 tos_dialog->startModal();
441 }; 448 return TRUE;
442 #endif 449 }
443 #endif 450# endif
451#endif
444 452
445 if (!called_from_parent) 453 if (!called_from_parent)
446 { 454 {