summaryrefslogtreecommitdiff
path: root/menudetailview.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-02 15:31:10 +0100
committerlouis <louis.braun@gmx.de>2013-03-02 15:31:10 +0100
commit4932c641ee7deb759eeb8c21840f6ed8db7f236d (patch)
treee6aa911501b7619cfa39b4b64e216d1cc3bcdfd9 /menudetailview.c
parentd099b5d5f922e6773ad5c5165e951fc280c5c5c1 (diff)
downloadskin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.gz
skin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.bz2
nOpacity mirrored
Diffstat (limited to 'menudetailview.c')
-rw-r--r--menudetailview.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/menudetailview.c b/menudetailview.c
index 6c07b4b..f2131e1 100644
--- a/menudetailview.c
+++ b/menudetailview.c
@@ -18,7 +18,8 @@ cNopacityMenuDetailView::~cNopacityMenuDetailView(void) {
delete fontHeaderLarge;
}
-void cNopacityMenuDetailView::SetGeometry(int width, int height, int top, int contentBorder, int headerHeight) {
+void cNopacityMenuDetailView::SetGeometry(int x, int width, int height, int top, int contentBorder, int headerHeight) {
+ this->x = x;
this->width = width;
this->height = height;
this->top = top;
@@ -103,10 +104,10 @@ cNopacityMenuDetailEventView::~cNopacityMenuDetailEventView(void) {
}
void cNopacityMenuDetailEventView::CreatePixmaps(void) {
- pixmapHeader = osd->CreatePixmap(3, cRect(0, top, width, headerHeight));
- pixmapContent = osd->CreatePixmap(3, cRect(0, top + headerHeight, width, contentHeight),
+ pixmapHeader = osd->CreatePixmap(3, cRect(x, top, width, headerHeight));
+ pixmapContent = osd->CreatePixmap(3, cRect(x, top + headerHeight, width, contentHeight),
cRect(0, 0, width, contentDrawPortHeight));
- pixmapLogo = osd->CreatePixmap(4, cRect(0 + border, top + max((headerHeight-config.logoHeight)/2,1), config.detailViewLogoWidth, config.detailViewLogoHeight));
+ pixmapLogo = osd->CreatePixmap(4, cRect(x + border, top + max((headerHeight-config.logoHeight)/2,1), config.detailViewLogoWidth, config.detailViewLogoHeight));
pixmapHeader->Fill(clrTransparent);
pixmapHeader->DrawRectangle(cRect(0, headerHeight - 2, width, 2), Theme.Color(clrMenuBorder));
@@ -309,8 +310,8 @@ cNopacityMenuDetailRecordingView::~cNopacityMenuDetailRecordingView(void) {
}
void cNopacityMenuDetailRecordingView::CreatePixmaps(void) {
- pixmapHeader = osd->CreatePixmap(3, cRect(0, top, width, headerHeight));
- pixmapContent = osd->CreatePixmap(3, cRect(0, top + headerHeight, width, contentHeight),
+ pixmapHeader = osd->CreatePixmap(3, cRect(x, top, width, headerHeight));
+ pixmapContent = osd->CreatePixmap(3, cRect(x, top + headerHeight, width, contentHeight),
cRect(0, 0, width, contentDrawPortHeight));
pixmapHeader->Fill(clrTransparent);
@@ -614,7 +615,7 @@ void cNopacityMenuDetailTextView::SetContentHeight(void) {
}
void cNopacityMenuDetailTextView::CreatePixmaps(void) {
- pixmapContent = osd->CreatePixmap(3, cRect(0, top + headerHeight, width, contentHeight),
+ pixmapContent = osd->CreatePixmap(3, cRect(x, top + headerHeight, width, contentHeight),
cRect(0, 0, width, contentDrawPortHeight));
pixmapContent->Fill(clrTransparent);