Fix for PLM P130701-5523.
authorsriram.k <sriram.k@samsung.com>
Thu, 4 Jul 2013 08:07:48 +0000 (13:37 +0530)
committersriram.k <sriram.k@samsung.com>
Thu, 4 Jul 2013 08:07:48 +0000 (13:37 +0530)
Signed-off-by: sriram.k <sriram.k@samsung.com>
Change-Id: I08d143523f2309abd5c9e25069202ada598c35a2

src/ui/controls/FUiCtrl_PopupPresenter.cpp

index 16730f2..4f79405 100644 (file)
@@ -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,