fix logo position with clock

Origin commit data
------------------
Commit: b696007ec8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-04-25 (Tue, 25 Apr 2017)
This commit is contained in:
Jacek Jendrzej
2017-04-25 16:38:47 +02:00
parent 35f867b611
commit 9a6fed158c

View File

@@ -299,6 +299,7 @@ void CComponentsHeader::initLogo()
//right end //right end
int x_logo_right = getCCItem(next_id) ? getCCItem(next_id)->getXPos() - cch_logo_obj->getWidth() : width - cch_logo_obj->getWidth()-OFFSET_INNER_MID; int x_logo_right = getCCItem(next_id) ? getCCItem(next_id)->getXPos() - cch_logo_obj->getWidth() : width - cch_logo_obj->getWidth()-OFFSET_INNER_MID;
x_logo_right -= cch_cl_enable ? cch_cl_obj->getWidth() : 0;
//left end //left end
int x_logo_left = getCCItem(prev_id) ? getCCItem(prev_id)->getXPos() + getCCItem(prev_id)->getWidth() : 0; int x_logo_left = getCCItem(prev_id) ? getCCItem(prev_id)->getXPos() + getCCItem(prev_id)->getWidth() : 0;