|
|
@ -152,20 +152,20 @@ void UBKeyboardPalette::setInput(const UBKeyboardLocale* locale) |
|
|
|
|
|
|
|
|
|
|
|
UBKeyboardPalette::~UBKeyboardPalette() |
|
|
|
UBKeyboardPalette::~UBKeyboardPalette() |
|
|
|
{ |
|
|
|
{ |
|
|
|
for (int i=0; i<47; i++) |
|
|
|
//for (int i=0; i<47; i++)
|
|
|
|
delete buttons[i]; |
|
|
|
// delete buttons[i];
|
|
|
|
delete [] buttons; |
|
|
|
delete [] buttons; |
|
|
|
|
|
|
|
|
|
|
|
for (int i=0; i<8; i++) |
|
|
|
//for (int i=0; i<8; i++)
|
|
|
|
delete ctrlButtons[i]; |
|
|
|
// delete ctrlButtons[i];
|
|
|
|
delete [] ctrlButtons; |
|
|
|
delete [] ctrlButtons; |
|
|
|
|
|
|
|
|
|
|
|
if (locales!=NULL) |
|
|
|
//if (locales!=NULL)
|
|
|
|
{ |
|
|
|
//{
|
|
|
|
for (int i=0; i<nLocalesCount; i++) |
|
|
|
// for (int i=0; i<nLocalesCount; i++)
|
|
|
|
delete locales[i]; |
|
|
|
// delete locales[i];
|
|
|
|
delete [] locales; |
|
|
|
// delete [] locales;
|
|
|
|
} |
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
if(currBtnImages != NULL) |
|
|
|
if(currBtnImages != NULL) |
|
|
|
{ |
|
|
|
{ |
|
|
|