mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Fix the position of CComponentsDetailLine
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea33afbcf8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Origin message was:
------------------
* Fix the position of CComponentsDetailLine
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -63,6 +63,7 @@ class CComponentsDetailLine : public CComponents
|
|||||||
void hide();
|
void hide();
|
||||||
void setColor(fb_pixel_t color1, fb_pixel_t color2){col1 = color1; col2 = color2;};
|
void setColor(fb_pixel_t color1, fb_pixel_t color2){col1 = color1; col2 = color2;};
|
||||||
void setYPosDown(const int& y_pos_down){y_down = y_pos_down;};
|
void setYPosDown(const int& y_pos_down){y_down = y_pos_down;};
|
||||||
|
void setHMarkDown(const int& h_mark_down_){h_mark_down = h_mark_down_;};
|
||||||
};
|
};
|
||||||
|
|
||||||
class CComponentsInfoBox : public CComponents
|
class CComponentsInfoBox : public CComponents
|
||||||
|
@@ -1113,8 +1113,12 @@ printf("paintHint: icon %s text %s\n", item->hintIcon.c_str(), g_Locale->getText
|
|||||||
|
|
||||||
if (details_line == NULL)
|
if (details_line == NULL)
|
||||||
details_line = new CComponentsDetailLine(xpos, ypos1a, ypos2a, imarkh, markh);
|
details_line = new CComponentsDetailLine(xpos, ypos1a, ypos2a, imarkh, markh);
|
||||||
else
|
else {
|
||||||
|
details_line->setXPos(xpos);
|
||||||
details_line->setYPos(ypos1a);
|
details_line->setYPos(ypos1a);
|
||||||
|
details_line->setYPosDown(ypos2a);
|
||||||
|
details_line->setHMarkDown(markh);
|
||||||
|
}
|
||||||
details_line->paint();
|
details_line->paint();
|
||||||
|
|
||||||
if (info_box == NULL)
|
if (info_box == NULL)
|
||||||
|
Reference in New Issue
Block a user