From 4a2c56bdd3e51419dab6d6f8e1cb892155497963 Mon Sep 17 00:00:00 2001 From: HeeJu Kang Date: Mon, 8 Apr 2013 11:55:15 +0900 Subject: [PATCH] Apply CheckNinePatchedBitmapStrictly Change-Id: Ifdc8c74a5b742e097b41156175293ac01925b70d Signed-off-by: HeeJu Kang --- src/FShell_AppWidgetPopupPresenter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/FShell_AppWidgetPopupPresenter.cpp b/src/FShell_AppWidgetPopupPresenter.cpp index 72d3595..fbc5db4 100644 --- a/src/FShell_AppWidgetPopupPresenter.cpp +++ b/src/FShell_AppWidgetPopupPresenter.cpp @@ -21,6 +21,7 @@ #include #include +#include #include "FShell_AppWidgetPopupPresenter.h" #include "FShell_AppWidgetPopup.h" #include "FShell_AppWidgetPopupModel.h" @@ -111,7 +112,7 @@ _AppWidgetPopupPresenter::DrawBackground(Canvas& canvas) bounds.x = 0; bounds.y = 0; - if (__pBackgroundBitmap->IsNinePatchedBitmap()) + if (_BitmapImpl::CheckNinePatchedBitmapStrictly(*__pBackgroundBitmap)) { canvas.DrawNinePatchedBitmap(bounds, *__pBackgroundBitmap); } @@ -145,7 +146,7 @@ _AppWidgetPopupPresenter::DrawAnchor(Canvas& canvas) Rectangle bounds(anchor.x, anchor.y, pArrowBitmap->GetWidth(), pArrowBitmap->GetHeight()); - if (pArrowBitmap->IsNinePatchedBitmap()) + if (_BitmapImpl::CheckNinePatchedBitmapStrictly(*pArrowBitmap)) { canvas.DrawNinePatchedBitmap(bounds, *pArrowBitmap); } -- 2.7.4