aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelLCD.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llpanelLCD.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelLCD.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/linden/indra/newview/llpanelLCD.cpp b/linden/indra/newview/llpanelLCD.cpp
index b58b21c..cd6626c 100644
--- a/linden/indra/newview/llpanelLCD.cpp
+++ b/linden/indra/newview/llpanelLCD.cpp
@@ -38,7 +38,7 @@
38#include "llrect.h" 38#include "llrect.h"
39#include "llfontgl.h" 39#include "llfontgl.h"
40#include "message.h" 40#include "message.h"
41#include "llvieweruictrlfactory.h" 41#include "lluictrlfactory.h"
42 42
43// project includes 43// project includes
44#include "llviewerwindow.h" 44#include "llviewerwindow.h"
@@ -70,18 +70,18 @@
70 70
71LLPanelLCD::LLPanelLCD() 71LLPanelLCD::LLPanelLCD()
72{ 72{
73 gUICtrlFactory->buildPanel(this, "panel_preferences_lcd.xml"); 73 LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_lcd.xml");
74} 74}
75 75
76BOOL LLPanelLCD::postBuild() 76BOOL LLPanelLCD::postBuild()
77{ 77{
78 requires("LCDDestination", WIDGET_TYPE_RADIO_GROUP); 78 requires<LLRadioGroup>("LCDDestination");
79 requires("DisplayLinden", WIDGET_TYPE_CHECKBOX); 79 requires<LLCheckBoxCtrl>("DisplayLinden");
80 requires("DisplayDebug", WIDGET_TYPE_CHECKBOX); 80 requires<LLCheckBoxCtrl>("DisplayDebug");
81 requires("DisplayDebugConsole", WIDGET_TYPE_CHECKBOX); 81 requires<LLCheckBoxCtrl>("DisplayDebugConsole");
82 requires("DisplayRegion", WIDGET_TYPE_CHECKBOX); 82 requires<LLCheckBoxCtrl>("DisplayRegion");
83 requires("DisplayChat", WIDGET_TYPE_CHECKBOX); 83 requires<LLCheckBoxCtrl>("DisplayChat");
84 requires("DisplayIM", WIDGET_TYPE_CHECKBOX); 84 requires<LLCheckBoxCtrl>("DisplayIM");
85 85
86 if (!checkRequirements()) 86 if (!checkRequirements())
87 { 87 {