infoviewer: just code cosmetics; sort curr/next boxes

Origin commit data
------------------
Branch: ni/coolstream
Commit: ea934f35b8
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-12-27 (Fri, 27 Dec 2019)

Origin message was:
------------------
- infoviewer: just code cosmetics; sort curr/next boxes

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-12-27 23:04:19 +01:00
parent cdf0adfc65
commit 98b0862d77

View File

@@ -476,8 +476,8 @@ void CInfoViewer::paintBody()
body = new CComponentsShapeSquare(ChanInfoX, y_body, BoxEndX-ChanInfoX, h_body); body = new CComponentsShapeSquare(ChanInfoX, y_body, BoxEndX-ChanInfoX, h_body);
body->setItemName("body"); body->setItemName("body");
} else { } else {
if (txt_curr_event && txt_curr_start && txt_curr_rest && if (txt_curr_start && txt_curr_event && txt_curr_rest &&
txt_next_event && txt_next_start && txt_next_in) { txt_next_start && txt_next_event && txt_next_in) {
if (h_body != body->getHeight() || y_body != body->getYPos()){ if (h_body != body->getHeight() || y_body != body->getYPos()){
txt_curr_start->getCTextBoxObject()->clearScreenBuffer(); txt_curr_start->getCTextBoxObject()->clearScreenBuffer();
txt_curr_event->getCTextBoxObject()->clearScreenBuffer(); txt_curr_event->getCTextBoxObject()->clearScreenBuffer();
@@ -2234,12 +2234,12 @@ void CInfoViewer::killTitle()
body->kill(); body->kill();
if (txt_curr_start)
txt_curr_start->kill();
if (txt_curr_event) if (txt_curr_event)
txt_curr_event->kill(); txt_curr_event->kill();
if (txt_curr_rest) if (txt_curr_rest)
txt_curr_rest->kill(); txt_curr_rest->kill();
if (txt_curr_start)
txt_curr_start->kill();
if (txt_next_start) if (txt_next_start)
txt_next_start->kill(); txt_next_start->kill();
if (txt_next_event) if (txt_next_event)