Origin commit data
------------------
Commit: fb15ce96de
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-12 (Thu, 12 Jan 2017)
This commit is contained in:
vanhofen
2017-01-12 13:05:31 +01:00
11 changed files with 45 additions and 11 deletions

View File

@@ -262,12 +262,12 @@ void CComponentsFrmClock::initCCLockItems()
lbl->doPaintTextBoxBg(paint_bg);
bool save_txt_screen = cc_txt_save_screen || (!paint_bg || cc_body_gradient_enable);
lbl->enableTboxSaveScreen(save_txt_screen);
#if 0
//use matching height for digits for better vertical centerring into form
CTextBox* ctb = lbl->getCTextBoxObject();
if (ctb)
ctb->setFontUseDigitHeight();
#if 0
//ensure paint of text and label bg on changed text or painted form background
bool force_txt_and_bg = (lbl->textChanged() || this->paint_bg);
lbl->forceTextPaint(force_txt_and_bg);
@@ -387,8 +387,8 @@ void CComponentsFrmClock::setClockFont(Font *font, const int& style)
cl_font = font;
if (style != -1)
cl_font_style = style;
//initCCLockItems();
}
initCCLockItems();
}
Font* CComponentsFrmClock::getClockFont()