mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 13:01:48 +00:00
Optical changes in displaymode vertical
This commit is contained in:
@@ -58,10 +58,7 @@ void cStatusHeader::ScaleVideo(void) {
|
||||
void cStatusHeader::DrawInfoText(cGrid *grid) {
|
||||
int border = 10;
|
||||
int textWidth = 0;
|
||||
if (tvguideConfig.displayMode == eVertical)
|
||||
textWidth = width - 2 * border - geoManager.clockWidth - 2;
|
||||
else
|
||||
textWidth = width - 2 * border;
|
||||
textWidth = width - 2 * border;
|
||||
tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
|
||||
pixmapText->Fill(clrTransparent);
|
||||
int x = border;
|
||||
@@ -143,4 +140,4 @@ void cStatusHeader::DecorateVideoFrame(void) {
|
||||
pixmapTVFrame->DrawEllipse(cRect(frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -3);
|
||||
pixmapTVFrame->DrawRectangle(cRect(0, height - frame, tvFrameWidth, frame), theme.Color(clrBackgroundOSD));
|
||||
pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -4);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user