mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
cc_frm_header.cpp/h: remove CTextBox types for title allignment
Title object has only width of current text content. This causes CTextBox
types have not a really visible effect. Now we have only three align types for title
and these are related to cc-text object position.
Involved classes adjusted too.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 942a27e3ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-11 (Thu, 11 May 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -507,7 +507,7 @@ void CScanTs::paintLine(int px, int py, int w, const char * const txt)
|
||||
void CScanTs::paint(bool fortest)
|
||||
{
|
||||
CComponentsHeaderLocalized header(x, y, width, hheight, fortest ? LOCALE_SCANTS_TEST : LOCALE_SCANTS_HEAD);
|
||||
header.setCaptionAlignment(CTextBox::CENTER);
|
||||
header.setCaptionAlignment(CCHeaderTypes::CC_TITLE_CENTER);
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
|
||||
frameBuffer->paintBoxRel(x, y + hheight, width, height - hheight, COL_MENUCONTENT_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||
|
Reference in New Issue
Block a user