- cc_frm_header: remove CComponentsHeaderLocalized() subclass

use another constructor of CComponentsHeader() instead

Signed-off-by: Thilo Graf <dbt@novatux.de>

Good idea, this I had already in mind too.
This commit is contained in:
svenhoefer
2017-06-21 10:31:22 +02:00
committed by Thilo Graf
parent 06c8fd33f8
commit 980e293517
11 changed files with 37 additions and 48 deletions

View File

@@ -455,7 +455,7 @@ void CMotorControl::paintStatus()
void CMotorControl::paintHead()
{
CComponentsHeaderLocalized header(x, y, width, hheight, LOCALE_MOTORCONTROL_HEAD);
CComponentsHeader header(x, y, width, hheight, LOCALE_MOTORCONTROL_HEAD);
header.paint(CC_SAVE_SCREEN_NO);
}