fix width of pip-boxes in streaminfo and imageinfo

Origin commit data
------------------
Commit: b0469b196e
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-03-17 (Sun, 17 Mar 2013)

Origin message was:
------------------
- fix width of pip-boxes in streaminfo and imageinfo
This commit is contained in:
vanhofen
2013-03-17 20:19:13 +01:00
parent 67b56bcae7
commit 937baede6e
2 changed files with 2 additions and 2 deletions

View File

@@ -287,6 +287,6 @@ void CImageInfo::paint()
paintLine(xpos+offset, font_small, "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."); paintLine(xpos+offset, font_small, "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.");
if (pip == NULL) if (pip == NULL)
pip = new CComponentsPIP(width-width/3-10, y+10, 30); pip = new CComponentsPIP(width-width/3-10, y+10, 33);
pip->paint(); pip->paint();
} }

View File

@@ -419,7 +419,7 @@ void CStreamInfo2::paint (int /*mode*/)
ypos += hheight; ypos += hheight;
if (pip == NULL) if (pip == NULL)
pip = new CComponentsPIP(width-width/3-10, y+10, 30); pip = new CComponentsPIP(width-width/3-10, y+10, 33);
pip->paint(); pip->paint();
paint_techinfo (xpos, ypos); paint_techinfo (xpos, ypos);