_FastScrollViewConfig::_FastScrollViewConfig(void)
: __indexBgColor(Color::GetColor(COLOR_ID_BLACK))
, __indexHighlightColor(Color::GetColor(COLOR_ID_BLACK))
+ , __indexLineColor(Color::GetColor(COLOR_ID_BLACK))
, __indexSelectedLineColor(Color::GetColor(COLOR_ID_BLACK))
, __indexTextColor(Color::GetColor(COLOR_ID_BLACK))
, __indexDividerColor(Color::GetColor(COLOR_ID_BLACK))
r = GET_COLOR_CONFIG(FASTSCROLL::INDEX_BG_NORMAL, __indexBgColor);
SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , E_SYSTEM, "[E_SYSTEM] Failed to get resource.");
+ r = GET_COLOR_CONFIG(FASTSCROLL::INDEX_LINE_NORMAL, __indexLineColor);
+ SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , E_SYSTEM, "[E_SYSTEM] Failed to get resource.");
+
r = GET_COLOR_CONFIG(FASTSCROLL::INDEX_LINE_PRESSED, __indexSelectedLineColor);
SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , E_SYSTEM, "[E_SYSTEM] Failed to get resource.");
CATCH:
__indexBgColor = Color::GetColor(COLOR_ID_BLACK);
__indexHighlightColor = Color::GetColor(COLOR_ID_BLACK);
+ __indexLineColor= Color::GetColor(COLOR_ID_BLACK);
__indexSelectedLineColor= Color::GetColor(COLOR_ID_BLACK);
__indexTextColor = Color::GetColor(COLOR_ID_BLACK);
__indexDividerColor= Color::GetColor(COLOR_ID_BLACK);
pCanvas->Clear();
pCanvas->SetLineWidth(__viewConfig.__indexSeparatorThickness);
+ pCanvas->SetForegroundColor(__viewConfig.__indexLineColor);
+
FloatRectangle bounds = __pBaseIndexVe->GetBounds();
float indexHeight = GetIndexHeight();
delete pReplacementColorBackgroundBitmap;
}
+ pCanvas->DrawLine(FloatPoint(1.0f, 0.0f), FloatPoint(1.0f, bounds.height));
FloatRectangle indexRect(0.0f, __viewConfig.__indexMarginTop, bounds.width, indexHeight);
Bitmap* pReplacementColorBitmap = null;
DECLARE_COLOR_CONFIG(INDEX_TEXT_PRESSED, 6);
DECLARE_COLOR_CONFIG(POPUP_BG_NORMAL, 7);
DECLARE_COLOR_CONFIG(POPUP_TEXT_NORMAL, 8);
+ DECLARE_COLOR_CONFIG(INDEX_LINE_NORMAL, 9);
DECLARE_IMAGE_CONFIG(INDEX_BG_NORMAL, 1);
DECLARE_IMAGE_CONFIG(INDEX_BG_PRESSED, 2);
DECLARE_IMAGE_CONFIG(INDEX_LINE_PRESSED, 3);