mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
menue.cpp: fix details_line hight
* former code matches only by chance and will fail, when another
value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 13d7ec55a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-02-20 (Fri, 20 Feb 2015)
Origin message was:
------------------
- menue.cpp: fix details_line hight
* former code matches only by chance and will fail, when another
value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1337,7 +1337,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
//init details line and infobox dimensions
|
||||
int ypos1 = item->getYPosition();
|
||||
int ypos1a = ypos1 + (iheight/2)-2;
|
||||
int ypos2a = ypos2 + (hint_height/2) - INFO_BOX_Y_OFFSET;
|
||||
int ypos2a = ypos2 + (hint_height/2)-2;
|
||||
int markh = hint_height > rad*2 ? hint_height - rad*2 : hint_height;
|
||||
int imarkh = iheight/2+1;
|
||||
|
||||
|
Reference in New Issue
Block a user