{
Bitmap* pCircleNormalBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_NORMAL);
Bitmap* pDetailedRightNormalBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_NORMAL);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightNormalBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightNormalBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightNormalColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_NORMAL);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_NORMAL);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_NORMAL);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
{
Bitmap* pCircleDisabledBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_DISABLED);
Bitmap* pDetailedRightDisabledBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_DISABLED);
+ Bitmap* pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ Bitmap* pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
if (pCircleDisabledBitmap)
{
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_DISABLED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_DISABLED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_DISABLED);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
{
Bitmap* pCirclePressedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_PRESSED);
Bitmap* pDetailedRightPressedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_PRESSED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightPressedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightPressedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightNormalColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_PRESSED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_PRESSED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_PRESSED);
if (themeBgBitmap == false)
{
- Bitmap* pCirclePressedEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
-
- if (pCirclePressedEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCirclePressedEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
Bitmap* pCircleNormalBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_NORMAL);
Bitmap* pCircleHighlightedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_HIGHLIGHTED);
Bitmap* pDetailedRightHighlightedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_HIGHLIGHTED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightHighlightedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightHighlightedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightHighlightedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_HIGHLIGHTED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_HIGHLIGHTED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_HIGHLIGHTED);
if (themeBgBitmap == false)
{
- Bitmap* pCirclePressedEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
-
- if (pCirclePressedEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCirclePressedEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
{
Bitmap* pCircleSelectedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_SELECTED);
Bitmap* pDetailedRightSelectedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_SELECTED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightSelectedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightSelectedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightSelectedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_SELECTED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_SELECTED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_SELECTED);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
{
Bitmap* pCircleNormalBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_NORMAL);
Bitmap* pDetailedRightNormalBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_NORMAL);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightNormalBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightNormalBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightNormalColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_NORMAL);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_NORMAL);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_NORMAL);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
{
Bitmap* pCircleDisabledBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_DISABLED);
Bitmap* pDetailedRightDisabledBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_DISABLED);
+ Bitmap* pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ Bitmap* pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
if (pCircleDisabledBitmap)
{
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_DISABLED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_DISABLED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_DISABLED);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
{
Bitmap* pCirclePressedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_PRESSED);
Bitmap* pDetailedRightPressedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_PRESSED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightPressedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightPressedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightNormalColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_PRESSED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_PRESSED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_PRESSED);
if (themeBgBitmap == false)
{
- Bitmap* pCirclePressedEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
-
- if (pCirclePressedEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCirclePressedEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}
Bitmap* pCircleNormalBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_NORMAL);
Bitmap* pCircleHighlightedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_HIGHLIGHTED);
Bitmap* pDetailedRightHighlightedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_HIGHLIGHTED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightHighlightedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightHighlightedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightHighlightedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_HIGHLIGHTED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_HIGHLIGHTED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_HIGHLIGHTED);
if (themeBgBitmap == false)
{
- Bitmap* pCirclePressedEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
-
- if (pCirclePressedEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCirclePressedEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
{
Bitmap* pCircleSelectedBitmap = __pCheckButton->GetCircleBitmap(_CHECK_BUTTON_STATUS_SELECTED);
Bitmap* pDetailedRightSelectedBitmap = __pCheckButton->GetDetailedRightBitmap(_CHECK_BUTTON_STATUS_SELECTED);
+ Bitmap* pCircleEffectBitmap = null;
+ Bitmap* pDetailedRightEffectBitmap = null;
if (__detailedPressed == true)
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightSelectedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightPressedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCirclePressedEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightPressedEffectBitmap();
}
else
{
{
pReColorRightBitmap = _BitmapImpl::GetColorReplacedBitmapN(*pDetailedRightSelectedBitmap, Color::GetColor(COLOR_ID_MAGENTA), detailedRightSelectedColor);
}
+
+ pCircleEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
+ pDetailedRightEffectBitmap = __pCheckButton->GetDetailedRightNormalEffectBitmap();
}
if (pReColorCircleBitmap)
pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pReColorCircleBitmap);
}
+ bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_SELECTED);
+
+ if (themeBgBitmap == false)
+ {
+ if (pCircleEffectBitmap)
+ {
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleEffectBitmap);
+ }
+ }
+
if (pReColorRightBitmap)
{
float arrowWidth = pReColorRightBitmap->GetWidthF();
, __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pReColorRightBitmap);
}
- bool themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_BG_SELECTED);
+ themeBgBitmap = IS_CUSTOM_BITMAP(CHECKBUTTON::DETAILED_ICON_SELECTED);
if (themeBgBitmap == false)
{
- Bitmap* pCircleNormalEffectBitmap = __pCheckButton->GetCircleNormalEffectBitmap();
-
- if (pCircleNormalEffectBitmap)
+ if (pDetailedRightEffectBitmap)
{
- pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x, __detailedButtonBounds.y), *pCircleNormalEffectBitmap);
+ float arrowWidth = pDetailedRightEffectBitmap->GetWidthF();
+ float arrowHeight = pDetailedRightEffectBitmap->GetHeightF();
+
+ pCanvas->DrawBitmap(FloatPoint(__detailedButtonBounds.x + (__detailedButtonBounds.width - arrowWidth) / 2.0f
+ , __detailedButtonBounds.y + (__detailedButtonBounds.height - arrowHeight) / 2.0f), *pDetailedRightEffectBitmap);
}
}
}