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:
2017-05-11 12:03:28 +02:00
parent babdee806b
commit 064b2cc588
10 changed files with 60 additions and 44 deletions

View File

@@ -2132,7 +2132,7 @@ void CChannelList::paintHead()
fb_pixel_t header_txt_col = (edit_state ? COL_RED : COL_MENUHEAD_TEXT);
header->setColorBody(COL_MENUHEAD_PLUS_0);
header->setCaption(header_txt, CTextBox::NO_AUTO_LINEBREAK, header_txt_col);
header->setCaption(header_txt, DEFAULT_TITLE_ALIGN, header_txt_col);
if (timeset) {
if(!edit_state){