Removed SetHighlightedBackgroundBitmap at all places (N_SE-42436) . Set the focusable true for context menu
Change-Id: I2f721b99588586f11d0d23c8c035ee5e3a1a05f9
Signed-off-by: Amith Kumar Mahale <amith.m@samsung.com>
pButton->AddActionEventListener(*this);
pButton->SetNormalBackgroundBitmap(*ResourceManager::GetBlankBitmap());
pButton->SetPressedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
- pButton->SetHighlightedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
pButton->SetTextSize(FONT_SIZE_ALL_DAY_EVENT_EXPAND);
pButton->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pButton->SetTextColor(Color(COLOR_ALL_DAY_EVENT));
if (pBitmapBgDeletePressed != null)
{
pButtonDeleteReminder->SetPressedBackgroundBitmap(*pBitmapBgDeletePressed);
- pButtonDeleteReminder->SetHighlightedBackgroundBitmap(*pBitmapBgDeletePressed);
delete pBitmapBgDeletePressed;
}
Bitmap* pBitmapMinus = ResourceManager::GetBitmapN(IDB_BUTTON_MINUS);
if (pBitmapBgButtonPressed != null)
{
pButtonAddReminder->SetPressedBackgroundBitmap(*pBitmapBgButtonPressed);
- pButtonAddReminder->SetHighlightedBackgroundBitmap(*pBitmapBgButtonPressed);
delete pBitmapBgButtonPressed;
}
Bitmap* pBitmapPlus = ResourceManager::GetBitmapN(IDB_BUTTON_PLUS);
__pContextMenuView = new (std::nothrow) ContextMenu();
__pContextMenuView->Construct(Point(0, 0), CONTEXT_MENU_STYLE_LIST);
__pContextMenuView->AddActionEventListener(*this);
+ __pContextMenuView->SetFocusable(true);
Rectangle bounds = GetHeader()->GetButtonBounds(BUTTON_POSITION_RIGHT);
Point point = GetHeader()->ConvertToScreenPosition(Point(bounds.x, bounds.y));
{
SetTextColor(Color((__isFocused == true) ? COLOR_DAY_FOCUS : COLOR_DAY_SUN));
SetDisabledTextColor(Color(COLOR_DAY_SUN_DIM));
+ SetHighlightedTextColor(Color((__isFocused == true) ? COLOR_DAY_FOCUS : COLOR_DAY_SUN));
}
else
{
SetTextColor(Color((__isFocused == true) ? COLOR_DAY_FOCUS : COLOR_DAY));
+ SetHighlightedTextColor(Color((__isFocused == true) ? COLOR_DAY_FOCUS : COLOR_DAY));
SetDisabledTextColor(Color(COLOR_DAY_DIM));
}
}
{
SetNormalBackgroundBitmap(*ResourceManager::GetBlankBitmap());
SetPressedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
- SetHighlightedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
Bitmap* pPressedBitmap = ResourceManager::GetBitmapN(IDB_MONTH_VIEW_DAY_PRESS);
if (pPressedBitmap)
SetTextSize(FONT_SIZE_DAY);
SetTextColor(Color(COLOR_DAY));
SetPressedTextColor(Color(COLOR_DAY_FOCUS));
- SetHighlightedTextColor(Color(COLOR_DAY_FOCUS));
SetDisabledTextColor(Color(COLOR_DAY_DIM));
AddActionEventListener(*this);
__pMonthCalendars[month]->SetNormalBackgroundBitmap(*ResourceManager::GetBlankBitmap());
__pMonthCalendars[month]->SetPressedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
- __pMonthCalendars[month]->SetHighlightedBackgroundBitmap(*ResourceManager::GetBlankBitmap());
__pMonthCalendars[month]->SetActionId(month + 1);
__pMonthCalendars[month]->AddActionEventListener(*this);
AddControl(__pMonthCalendars[month]);