diff options
Diffstat (limited to 'linden/indra/newview/lllcd.cpp')
-rw-r--r-- | linden/indra/newview/lllcd.cpp | 95 |
1 files changed, 47 insertions, 48 deletions
diff --git a/linden/indra/newview/lllcd.cpp b/linden/indra/newview/lllcd.cpp index f980ee4..3563027 100644 --- a/linden/indra/newview/lllcd.cpp +++ b/linden/indra/newview/lllcd.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2001-2007, Linden Research, Inc. | 7 | * Copyright (c) 2001-2008, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -51,7 +51,7 @@ extern LLControlGroup gSavedSettings; | |||
51 | #include "EZ_LCD.h" | 51 | #include "EZ_LCD.h" |
52 | #include "lllogitechlcd.h" | 52 | #include "lllogitechlcd.h" |
53 | 53 | ||
54 | llLCD *gLcdScreen = NULL; // Singleton-ish? | 54 | LLLCD *gLcdScreen = NULL; // Singleton-ish? |
55 | 55 | ||
56 | // not happy about this, but there's no local class to put it in. | 56 | // not happy about this, but there's no local class to put it in. |
57 | LLPanel *bogus = NULL; | 57 | LLPanel *bogus = NULL; |
@@ -65,32 +65,32 @@ void CreateLCDDebugWindows() | |||
65 | bogus = new LLPanel(); | 65 | bogus = new LLPanel(); |
66 | gUICtrlFactory->buildPanel(bogus, "lcd_text.xml"); | 66 | gUICtrlFactory->buildPanel(bogus, "lcd_text.xml"); |
67 | 67 | ||
68 | llLCDPageGroup *pageGroup = NULL; | 68 | LLLCDPageGroup *pageGroup = NULL; |
69 | pageGroup = new llDefaultPageGroup(gLcdScreen->mLCD, llLCD::kLCDDefault, gLcdScreen->mSLIcon); | 69 | pageGroup = new llDefaultPageGroup(gLcdScreen->mLCD, LLLCD::kLCDDefault, gLcdScreen->mSLIcon); |
70 | // push this new group onto the array | 70 | // push this new group onto the array |
71 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 71 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
72 | 72 | ||
73 | pageGroup = new llChatPageGroup(gLcdScreen->mLCD, llLCD::kLCDChat, gLcdScreen->mSLIcon); | 73 | pageGroup = new LLChatPageGroup(gLcdScreen->mLCD, LLLCD::kLCDChat, gLcdScreen->mSLIcon); |
74 | // push this new group onto the array | 74 | // push this new group onto the array |
75 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 75 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
76 | 76 | ||
77 | pageGroup = new llIMPageGroup(gLcdScreen->mLCD, llLCD::kLCDIM, gLcdScreen->mSLIcon); | 77 | pageGroup = new LLIMPageGroup(gLcdScreen->mLCD, LLLCD::kLCDIM, gLcdScreen->mSLIcon); |
78 | // push this new group onto the array | 78 | // push this new group onto the array |
79 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 79 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
80 | 80 | ||
81 | pageGroup = new llDebugPageGroup(gLcdScreen->mLCD, llLCD::kLCDDebug, gLcdScreen->mSLIcon); | 81 | pageGroup = new LLDebugPageGroup(gLcdScreen->mLCD, LLLCD::kLCDDebug, gLcdScreen->mSLIcon); |
82 | // push this new group onto the array | 82 | // push this new group onto the array |
83 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 83 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
84 | 84 | ||
85 | pageGroup = new llLindenPageGroup(gLcdScreen->mLCD, llLCD::kLCDLinden, gLcdScreen->mSLIcon); | 85 | pageGroup = new LLLindenPageGroup(gLcdScreen->mLCD, LLLCD::kLCDLinden, gLcdScreen->mSLIcon); |
86 | // push this new group onto the array | 86 | // push this new group onto the array |
87 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 87 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
88 | 88 | ||
89 | pageGroup = new llRegionPageGroup(gLcdScreen->mLCD, llLCD::kLCDRegion, gLcdScreen->mSLIcon); | 89 | pageGroup = new LLRegionPageGroup(gLcdScreen->mLCD, LLLCD::kLCDRegion, gLcdScreen->mSLIcon); |
90 | // push this new group onto the array | 90 | // push this new group onto the array |
91 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 91 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
92 | 92 | ||
93 | pageGroup = new llDebugConsolePageGroup(gLcdScreen->mLCD, llLCD::kLCDDebugConsole, gLcdScreen->mSLIcon); | 93 | pageGroup = new LLDebugConsolePageGroup(gLcdScreen->mLCD, LLLCD::kLCDDebugConsole, gLcdScreen->mSLIcon); |
94 | // push this new group onto the array | 94 | // push this new group onto the array |
95 | gLcdScreen->mPageGroupArray.push_back(pageGroup); | 95 | gLcdScreen->mPageGroupArray.push_back(pageGroup); |
96 | } | 96 | } |
@@ -101,7 +101,7 @@ void AddNewIMToLCD(const LLString &newLine) | |||
101 | { | 101 | { |
102 | if (gLcdScreen->Enabled()) | 102 | if (gLcdScreen->Enabled()) |
103 | { | 103 | { |
104 | llIMPageGroup *imGroup = (llIMPageGroup *)gLcdScreen->mPageGroupArray[2]; | 104 | LLIMPageGroup *imGroup = (LLIMPageGroup *)gLcdScreen->mPageGroupArray[2]; |
105 | imGroup->InsertText(newLine); | 105 | imGroup->InsertText(newLine); |
106 | } | 106 | } |
107 | } | 107 | } |
@@ -110,7 +110,7 @@ void AddNewChatToLCD(const LLString &newLine) | |||
110 | { | 110 | { |
111 | if (gLcdScreen->Enabled()) | 111 | if (gLcdScreen->Enabled()) |
112 | { | 112 | { |
113 | llChatPageGroup *chatGroup = (llChatPageGroup *)gLcdScreen->mPageGroupArray[1]; | 113 | LLChatPageGroup *chatGroup = (LLChatPageGroup *)gLcdScreen->mPageGroupArray[1]; |
114 | chatGroup->InsertText(newLine); | 114 | chatGroup->InsertText(newLine); |
115 | } | 115 | } |
116 | } | 116 | } |
@@ -119,7 +119,7 @@ void AddNewDebugConsoleToLCD(const LLWString &newLine) | |||
119 | { | 119 | { |
120 | if (gLcdScreen->Enabled()) | 120 | if (gLcdScreen->Enabled()) |
121 | { | 121 | { |
122 | llDebugConsolePageGroup *debugGroup = (llDebugConsolePageGroup *)gLcdScreen->mPageGroupArray[6]; | 122 | LLDebugConsolePageGroup *debugGroup = (LLDebugConsolePageGroup *)gLcdScreen->mPageGroupArray[6]; |
123 | debugGroup->InsertText(newLine); | 123 | debugGroup->InsertText(newLine); |
124 | } | 124 | } |
125 | } | 125 | } |
@@ -130,7 +130,7 @@ void AddNewDebugConsoleToLCD(const LLWString &newLine) | |||
130 | // | 130 | // |
131 | ///////////////////////////////////// | 131 | ///////////////////////////////////// |
132 | 132 | ||
133 | void llDebugConsolePageGroup::UpdateDetails() | 133 | void LLDebugConsolePageGroup::UpdateDetails() |
134 | { | 134 | { |
135 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); | 135 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); |
136 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(wstring_to_utf16str(mLine1).c_str())); | 136 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(wstring_to_utf16str(mLine1).c_str())); |
@@ -138,23 +138,23 @@ void llDebugConsolePageGroup::UpdateDetails() | |||
138 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(wstring_to_utf16str(mLine3).c_str())); | 138 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(wstring_to_utf16str(mLine3).c_str())); |
139 | } | 139 | } |
140 | 140 | ||
141 | void llDebugConsolePageGroup::GetDisplayable() | 141 | void LLDebugConsolePageGroup::GetDisplayable() |
142 | { | 142 | { |
143 | mDisplayPage = gSavedSettings.getBOOL("DisplayDebugConsole"); | 143 | mDisplayPage = gSavedSettings.getBOOL("DisplayDebugConsole"); |
144 | } | 144 | } |
145 | 145 | ||
146 | void llDebugConsolePageGroup::InsertText(const LLWString &newLine) | 146 | void LLDebugConsolePageGroup::InsertText(const LLWString &newLine) |
147 | { | 147 | { |
148 | mLine1 = mLine2; | 148 | mLine1 = mLine2; |
149 | mLine2 = mLine3; | 149 | mLine2 = mLine3; |
150 | mLine3 = newLine; | 150 | mLine3 = newLine; |
151 | } | 151 | } |
152 | 152 | ||
153 | llDebugConsolePageGroup::llDebugConsolePageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 153 | LLDebugConsolePageGroup::LLDebugConsolePageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
154 | :llLCDPageGroup(LCD, type, SLIcon) | 154 | :LLLCDPageGroup(LCD, type, SLIcon) |
155 | { | 155 | { |
156 | // create a new specific pagea | 156 | // create a new specific pagea |
157 | llLCDSpecificPage newPage; | 157 | LLLCDSpecificPage newPage; |
158 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 158 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
159 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 159 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
160 | 160 | ||
@@ -197,7 +197,7 @@ llDebugConsolePageGroup::llDebugConsolePageGroup(CEzLcd *LCD, int type, HICON SL | |||
197 | // | 197 | // |
198 | ///////////////////////////////////// | 198 | ///////////////////////////////////// |
199 | 199 | ||
200 | void llDebugPageGroup::UpdateDetails() | 200 | void LLDebugPageGroup::UpdateDetails() |
201 | { | 201 | { |
202 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); | 202 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); |
203 | LLString ping = llformat("1000"); | 203 | LLString ping = llformat("1000"); |
@@ -235,16 +235,16 @@ void llDebugPageGroup::UpdateDetails() | |||
235 | mLCD->SetText(mPageArray[0].mDisplayItemArray[5], (LPCTSTR)(utf8str_to_utf16str(ping).c_str())); | 235 | mLCD->SetText(mPageArray[0].mDisplayItemArray[5], (LPCTSTR)(utf8str_to_utf16str(ping).c_str())); |
236 | } | 236 | } |
237 | 237 | ||
238 | void llDebugPageGroup::GetDisplayable() | 238 | void LLDebugPageGroup::GetDisplayable() |
239 | { | 239 | { |
240 | mDisplayPage = gSavedSettings.getBOOL("DisplayDebug"); | 240 | mDisplayPage = gSavedSettings.getBOOL("DisplayDebug"); |
241 | } | 241 | } |
242 | 242 | ||
243 | llDebugPageGroup::llDebugPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 243 | LLDebugPageGroup::LLDebugPageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
244 | :llLCDPageGroup(LCD, type, SLIcon) | 244 | :LLLCDPageGroup(LCD, type, SLIcon) |
245 | { | 245 | { |
246 | // create a new specific page | 246 | // create a new specific page |
247 | llLCDSpecificPage newPage; | 247 | LLLCDSpecificPage newPage; |
248 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 248 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
249 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 249 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
250 | 250 | ||
@@ -323,7 +323,7 @@ llDebugPageGroup::llDebugPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | |||
323 | // | 323 | // |
324 | ///////////////////////////////////// | 324 | ///////////////////////////////////// |
325 | 325 | ||
326 | void llLindenPageGroup::UpdateDetails() | 326 | void LLLindenPageGroup::UpdateDetails() |
327 | { | 327 | { |
328 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); | 328 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); |
329 | LLString time = llformat("Unknown"); | 329 | LLString time = llformat("Unknown"); |
@@ -341,16 +341,16 @@ void llLindenPageGroup::UpdateDetails() | |||
341 | mLCD->SetText(mPageArray[0].mDisplayItemArray[1], (LPCTSTR)(utf8str_to_utf16str(balance).c_str())); | 341 | mLCD->SetText(mPageArray[0].mDisplayItemArray[1], (LPCTSTR)(utf8str_to_utf16str(balance).c_str())); |
342 | } | 342 | } |
343 | 343 | ||
344 | void llLindenPageGroup::GetDisplayable() | 344 | void LLLindenPageGroup::GetDisplayable() |
345 | { | 345 | { |
346 | mDisplayPage = gSavedSettings.getBOOL("DisplayLinden"); | 346 | mDisplayPage = gSavedSettings.getBOOL("DisplayLinden"); |
347 | } | 347 | } |
348 | 348 | ||
349 | llLindenPageGroup::llLindenPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 349 | LLLindenPageGroup::LLLindenPageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
350 | :llLCDPageGroup(LCD, type, SLIcon) | 350 | :LLLCDPageGroup(LCD, type, SLIcon) |
351 | { | 351 | { |
352 | // create a new specific page | 352 | // create a new specific page |
353 | llLCDSpecificPage newPage; | 353 | LLLCDSpecificPage newPage; |
354 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 354 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
355 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 355 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
356 | 356 | ||
@@ -393,7 +393,7 @@ llLindenPageGroup::llLindenPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | |||
393 | // | 393 | // |
394 | ///////////////////////////////////// | 394 | ///////////////////////////////////// |
395 | 395 | ||
396 | void llRegionPageGroup::UpdateDetails() | 396 | void LLRegionPageGroup::UpdateDetails() |
397 | { | 397 | { |
398 | LLString pos = llformat("Unknown"); | 398 | LLString pos = llformat("Unknown"); |
399 | LLString parcel = llformat("Unknown"); | 399 | LLString parcel = llformat("Unknown"); |
@@ -444,16 +444,16 @@ void llRegionPageGroup::UpdateDetails() | |||
444 | 444 | ||
445 | } | 445 | } |
446 | 446 | ||
447 | void llRegionPageGroup::GetDisplayable() | 447 | void LLRegionPageGroup::GetDisplayable() |
448 | { | 448 | { |
449 | mDisplayPage = gSavedSettings.getBOOL("DisplayRegion"); | 449 | mDisplayPage = gSavedSettings.getBOOL("DisplayRegion"); |
450 | } | 450 | } |
451 | 451 | ||
452 | llRegionPageGroup::llRegionPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 452 | LLRegionPageGroup::LLRegionPageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
453 | :llLCDPageGroup(LCD, type, SLIcon) | 453 | :LLLCDPageGroup(LCD, type, SLIcon) |
454 | { | 454 | { |
455 | // create a new specific page | 455 | // create a new specific page |
456 | llLCDSpecificPage newPage; | 456 | LLLCDSpecificPage newPage; |
457 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 457 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
458 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 458 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
459 | 459 | ||
@@ -508,7 +508,7 @@ llRegionPageGroup::llRegionPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | |||
508 | mPageArray.push_back(newPage); | 508 | mPageArray.push_back(newPage); |
509 | 509 | ||
510 | // create a new specific page | 510 | // create a new specific page |
511 | llLCDSpecificPage newPage2; | 511 | LLLCDSpecificPage newPage2; |
512 | newPage2.mPageIndex = mLCD->AddNewPage() - 1; | 512 | newPage2.mPageIndex = mLCD->AddNewPage() - 1; |
513 | mLCD->ModifyControlsOnPage(newPage2.mPageIndex); | 513 | mLCD->ModifyControlsOnPage(newPage2.mPageIndex); |
514 | 514 | ||
@@ -569,7 +569,7 @@ llRegionPageGroup::llRegionPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | |||
569 | // | 569 | // |
570 | ///////////////////////////////////// | 570 | ///////////////////////////////////// |
571 | 571 | ||
572 | void llChatPageGroup::UpdateDetails() | 572 | void LLChatPageGroup::UpdateDetails() |
573 | { | 573 | { |
574 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); | 574 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); |
575 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(utf8str_to_utf16str(mLine1).c_str())); | 575 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(utf8str_to_utf16str(mLine1).c_str())); |
@@ -577,26 +577,26 @@ void llChatPageGroup::UpdateDetails() | |||
577 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(utf8str_to_utf16str(mLine3).c_str())); | 577 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(utf8str_to_utf16str(mLine3).c_str())); |
578 | } | 578 | } |
579 | 579 | ||
580 | void llChatPageGroup::GetDisplayable() | 580 | void LLChatPageGroup::GetDisplayable() |
581 | { | 581 | { |
582 | mDisplayPage = gSavedSettings.getBOOL("DisplayChat"); | 582 | mDisplayPage = gSavedSettings.getBOOL("DisplayChat"); |
583 | } | 583 | } |
584 | 584 | ||
585 | void llChatPageGroup::InsertText(const LLString &newLine) | 585 | void LLChatPageGroup::InsertText(const LLString &newLine) |
586 | { | 586 | { |
587 | mLine1 = mLine2; | 587 | mLine1 = mLine2; |
588 | mLine2 = mLine3; | 588 | mLine2 = mLine3; |
589 | mLine3 = newLine; | 589 | mLine3 = newLine; |
590 | } | 590 | } |
591 | 591 | ||
592 | llChatPageGroup::llChatPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 592 | LLChatPageGroup::LLChatPageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
593 | :llLCDPageGroup(LCD, type, SLIcon) | 593 | :LLLCDPageGroup(LCD, type, SLIcon) |
594 | { | 594 | { |
595 | mLine1 = llformat(""); | 595 | mLine1 = llformat(""); |
596 | mLine2 = llformat(""); | 596 | mLine2 = llformat(""); |
597 | mLine3 = llformat(""); | 597 | mLine3 = llformat(""); |
598 | // create a new specific page | 598 | // create a new specific page |
599 | llLCDSpecificPage newPage; | 599 | LLLCDSpecificPage newPage; |
600 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 600 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
601 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 601 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
602 | 602 | ||
@@ -639,7 +639,7 @@ llChatPageGroup::llChatPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | |||
639 | // | 639 | // |
640 | ///////////////////////////////////// | 640 | ///////////////////////////////////// |
641 | 641 | ||
642 | void llIMPageGroup::UpdateDetails() | 642 | void LLIMPageGroup::UpdateDetails() |
643 | { | 643 | { |
644 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); | 644 | mLCD->ModifyControlsOnPage(mPageArray[0].mPageIndex); |
645 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(utf8str_to_utf16str(mLine1).c_str())); | 645 | mLCD->SetText(mPageArray[0].mDisplayItemArray[0], (LPCTSTR)(utf8str_to_utf16str(mLine1).c_str())); |
@@ -647,26 +647,25 @@ void llIMPageGroup::UpdateDetails() | |||
647 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(utf8str_to_utf16str(mLine3).c_str())); | 647 | mLCD->SetText(mPageArray[0].mDisplayItemArray[2], (LPCTSTR)(utf8str_to_utf16str(mLine3).c_str())); |
648 | } | 648 | } |
649 | 649 | ||
650 | void llIMPageGroup::GetDisplayable() | 650 | void LLIMPageGroup::GetDisplayable() |
651 | { | 651 | { |
652 | mDisplayPage = gSavedSettings.getBOOL("DisplayIM"); | 652 | mDisplayPage = gSavedSettings.getBOOL("DisplayIM"); |
653 | } | 653 | } |
654 | 654 | ||
655 | void llIMPageGroup::InsertText(const LLString &newLine) | 655 | void LLIMPageGroup::InsertText(const LLString &newLine) |
656 | { | 656 | { |
657 | mLine1 = mLine2; | 657 | mLine1 = mLine2; |
658 | mLine2 = mLine3; | 658 | mLine2 = mLine3; |
659 | mLine3 = newLine; | 659 | mLine3 = newLine; |
660 | } | 660 | } |
661 | 661 | ||
662 | llIMPageGroup::llIMPageGroup(CEzLcd *LCD, int type, HICON SLIcon) | 662 | LLIMPageGroup::LLIMPageGroup(CEzLcd *LCD, int type, HICON SLIcon) |
663 | :llLCDPageGroup(LCD, type, SLIcon) | 663 | :LLLCDPageGroup(LCD, type, SLIcon){ |
664 | { | ||
665 | mLine1 = llformat(""); | 664 | mLine1 = llformat(""); |
666 | mLine2 = llformat(""); | 665 | mLine2 = llformat(""); |
667 | mLine3 = llformat(""); | 666 | mLine3 = llformat(""); |
668 | // create a new specific page | 667 | // create a new specific page |
669 | llLCDSpecificPage newPage; | 668 | LLLCDSpecificPage newPage; |
670 | newPage.mPageIndex = mLCD->AddNewPage() - 1; | 669 | newPage.mPageIndex = mLCD->AddNewPage() - 1; |
671 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); | 670 | mLCD->ModifyControlsOnPage(newPage.mPageIndex); |
672 | 671 | ||