mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
CComponentsItem: Set sw_cur = 0 if no shadow
Origin commit data
------------------
Branch: ni/coolstream
Commit: b8da504432
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-21 (Tue, 21 May 2013)
Origin message was:
------------------
* CComponentsItem: Set sw_cur = 0 if no shadow
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -85,7 +85,9 @@ void CComponentsItem::paintInit(bool do_save_bg)
|
|||||||
int y_sh = corner_rad>0 ? y+height-2*corner_rad+sw : y+height; //bottom
|
int y_sh = corner_rad>0 ? y+height-2*corner_rad+sw : y+height; //bottom
|
||||||
|
|
||||||
//calculate current shadow width depends of current corner_rad
|
//calculate current shadow width depends of current corner_rad
|
||||||
int sw_cur = corner_rad>0 ? 2*corner_rad : sw;
|
int sw_cur = sw;
|
||||||
|
if (shadow)
|
||||||
|
sw_cur = corner_rad>sw ? 2*corner_rad : sw;
|
||||||
|
|
||||||
comp_fbdata_t fbdata[] =
|
comp_fbdata_t fbdata[] =
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user