mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
* Fix the position of CComponentsDetailLine
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