gui/bedit details line osd fix

This commit is contained in:
Jacek Jendrzej
2014-05-16 11:59:03 +02:00
parent f4447b38e0
commit 9d916ba8d7
2 changed files with 2 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ void CBEChannelWidget::paintDetails(int index)
void CBEChannelWidget::initItem2DetailsLine (int pos, int /*ch_index*/) void CBEChannelWidget::initItem2DetailsLine (int pos, int /*ch_index*/)
{ {
int xpos = x - ConnectLineBox_Width; int xpos = x - ConnectLineBox_Width;
int ypos1 = y + theight+0 + pos*fheight; int ypos1 = y + theight+0 + pos*iheight;
int ypos2 = y + height + INFO_BOX_Y_OFFSET; int ypos2 = y + height + INFO_BOX_Y_OFFSET;
int ypos1a = ypos1 + (fheight/2)-2; int ypos1a = ypos1 + (fheight/2)-2;
int ypos2a = ypos2 + (info_height/2)-2; int ypos2a = ypos2 + (info_height/2)-2;

View File

@@ -294,7 +294,7 @@ void CBEChannelSelectWidget::paintDetails(int index)
void CBEChannelSelectWidget::initItem2DetailsLine (int pos, int /*ch_index*/) void CBEChannelSelectWidget::initItem2DetailsLine (int pos, int /*ch_index*/)
{ {
int xpos = x - ConnectLineBox_Width; int xpos = x - ConnectLineBox_Width;
int ypos1 = y + theight+0 + pos*fheight; int ypos1 = y + theight+0 + pos*iheight;
int ypos2 = y + height + INFO_BOX_Y_OFFSET; int ypos2 = y + height + INFO_BOX_Y_OFFSET;
int ypos1a = ypos1 + (fheight/2)-2; int ypos1a = ypos1 + (fheight/2)-2;
int ypos2a = ypos2 + (info_height/2)-2; int ypos2a = ypos2 + (info_height/2)-2;