//
// 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
//
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