//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//Set background bitmap
Label* pKeyBgLbl = static_cast<Label*>(GetControl(IDC_DTMF_KEY_BG_LABEL, true));
- Bitmap* pKeyBgBitmap = AppUtility::GetBitmapFromResourcesN(IDB_KEYPAD_BG, pKeyBgLbl->GetWidth(), pKeyBgLbl->GetHeight());
+ /*Bitmap* pKeyBgBitmap = AppUtility::GetBitmapFromResourcesN(IDB_KEYPAD_BG, pKeyBgLbl->GetWidth(), pKeyBgLbl->GetHeight());
if (pKeyBgBitmap != null)
{
pKeyBgLbl->SetBackgroundBitmap(*pKeyBgBitmap);
delete pKeyBgBitmap;
pKeyBgBitmap = null;
- }
+ }*/
//DTMF Keys panel
Panel* pKeysPanel = new (std::nothrow) Panel();
pKeysPanel->Construct(IDL_DTMF_KEYS_PANEL);
pKeysPanel->SetBounds(pKeyBgLbl->GetBounds());
- AddControl(*pKeysPanel);
+ AddControl(pKeysPanel);
//Add action listener and bg to buttons.
AddListenersToButtons();
pTextElement->SetFont(*font);
//get dimensions of the text
- Dimension textDimension;
+ FloatDimension textDimension;
font->GetTextExtent(buttonText, buttonText.GetLength(), textDimension);
textDimension.height = textDimension.height + font->GetDescender();
//create enriched text