From 1780014ffabef8b623a99c5106631d601345077e Mon Sep 17 00:00:00 2001 From: "sriram.k" Date: Thu, 4 Jul 2013 13:37:48 +0530 Subject: [PATCH] Fix for PLM P130701-5523. Signed-off-by: sriram.k Change-Id: I08d143523f2309abd5c9e25069202ada598c35a2 --- src/ui/controls/FUiCtrl_PopupPresenter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/controls/FUiCtrl_PopupPresenter.cpp b/src/ui/controls/FUiCtrl_PopupPresenter.cpp index 16730f2..4f79405 100644 --- a/src/ui/controls/FUiCtrl_PopupPresenter.cpp +++ b/src/ui/controls/FUiCtrl_PopupPresenter.cpp @@ -459,7 +459,7 @@ _PopupPresenter::Draw(void) // Draw Title if (__pPopup->HasTitle()) { - if (__pPopup->GetColor() != Color(0x00000000)) + if (__pPopup->GetColor().GetAlpha() != 0x00) { const Bitmap* pTitleBitmap = __pPopup->GetTitleBackgroundBitmap(); const Bitmap* pTitleEffectBitmap = __pPopup->GetTitleBackgroundEffectBitmap(); @@ -507,7 +507,7 @@ _PopupPresenter::Draw(void) // Draw Outline if (!isCustomBitmap && __pPopup->GetOutlineBitmap() != null && _FloatCompareGE(pBounds.width, minSize.width) && - _FloatCompareGE(pBounds.height, minSize.height) && __pPopup->GetColor() != Color(0x00000000)) + _FloatCompareGE(pBounds.height, minSize.height) && __pPopup->GetColor().GetAlpha() != 0x00) { FloatRectangle bounds(0.0f, 0.0f, -- 2.7.4