diff options
Diffstat (limited to 'linden/indra/newview/llpanelLCD.cpp')
-rw-r--r-- | linden/indra/newview/llpanelLCD.cpp | 18 |
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 | ||
71 | LLPanelLCD::LLPanelLCD() | 71 | LLPanelLCD::LLPanelLCD() |
72 | { | 72 | { |
73 | gUICtrlFactory->buildPanel(this, "panel_preferences_lcd.xml"); | 73 | LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_lcd.xml"); |
74 | } | 74 | } |
75 | 75 | ||
76 | BOOL LLPanelLCD::postBuild() | 76 | BOOL 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 | { |