mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
CInfoClock: rework infocklock
Origin commit data
------------------
Branch: ni/coolstream
Commit: b8b61684df
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -101,7 +101,7 @@ void CVolumeBar::initVolumeBarSize()
|
||||
cvh->getMuteIconDimensions(&mute_ax, &mute_ay, &mute_dx, &mute_dy);
|
||||
// info clock
|
||||
int dummy;
|
||||
cvh->getInfoClockDimensions(&dummy, &clock_y, &clock_width, &clock_height, &dummy, &dummy);
|
||||
cvh->getInfoClockDimensions(&dummy, &clock_y, &clock_width, &clock_height);
|
||||
int mute_corrY = 0;
|
||||
if (mute_dy < height)
|
||||
mute_corrY = (height - mute_dy) / 2;
|
||||
@@ -111,6 +111,7 @@ void CVolumeBar::initVolumeBarSize()
|
||||
CInfoClock::getInstance()->ClearDisplay();
|
||||
|
||||
vb_pbh = height-8;
|
||||
|
||||
vb_pby = height/2-vb_pbh/2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user