int bottomMargin = 0;
_ControlOrientation orientation = GetOrientation();
- GET_SHAPE_CONFIG(LIVEBOX::POPUP_LEFT_MARGIN, orientation, leftMargin);
- GET_SHAPE_CONFIG(LIVEBOX::POPUP_RIGHT_MARGIN, orientation, rightMargin);
- GET_SHAPE_CONFIG(LIVEBOX::POPUP_TOP_MARGIN, orientation, topMargin);
- GET_SHAPE_CONFIG(LIVEBOX::POPUP_BOTTOM_MARGIN, orientation, bottomMargin);
+ GET_SHAPE_CONFIG(APPWIDGET::POPUP_LEFT_MARGIN, orientation, leftMargin);
+ GET_SHAPE_CONFIG(APPWIDGET::POPUP_RIGHT_MARGIN, orientation, rightMargin);
+ GET_SHAPE_CONFIG(APPWIDGET::POPUP_TOP_MARGIN, orientation, topMargin);
+ GET_SHAPE_CONFIG(APPWIDGET::POPUP_BOTTOM_MARGIN, orientation, bottomMargin);
FloatRectangle bounds = GetBoundsF();
{
Bitmap* pBitmap = null;
- result r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
+ result r = GET_BITMAP_CONFIG_N(APPWIDGET::POPUP_BG, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
std::unique_ptr<Bitmap> pBackgroundBitmap(pBitmap);
- r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
+ r = GET_BITMAP_CONFIG_N(APPWIDGET::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
std::unique_ptr<Bitmap> pArrowUpBitmap(pBitmap);
- r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
+ r = GET_BITMAP_CONFIG_N(APPWIDGET::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
__pBackgroundBitmap = move(pBackgroundBitmap);
Bitmap* pResourceBitmap = null;
- r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
+ r = GET_BITMAP_CONFIG_N(APPWIDGET::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
std::unique_ptr<Bitmap> pArrowUpBitmap(pResourceBitmap);
- r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
+ r = GET_BITMAP_CONFIG_N(APPWIDGET::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
__pArrowUpBitmap = move(pArrowUpBitmap);