mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
CComponentsItem: disable unused variable
Origin commit data
------------------
Commit: 6135a827da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-08 (Sat, 08 Apr 2017)
This commit is contained in:
@@ -118,11 +118,11 @@ void CComponentsItem::paintInit(bool do_save_bg)
|
|||||||
int sh_cdy = box_rad+sw+th; //height
|
int sh_cdy = box_rad+sw+th; //height
|
||||||
|
|
||||||
//adapt shadow corner dimensions if body dimensions are too small, use an offset if required
|
//adapt shadow corner dimensions if body dimensions are too small, use an offset if required
|
||||||
int sh_cdx_size_offset, sh_cdy_size_offset = 0;
|
int /*sh_cdx_size_offset = 0,*/ sh_cdy_size_offset = 0;
|
||||||
if (sh_cdy*2 > dy)
|
if (sh_cdy*2 > dy)
|
||||||
sh_cdy_size_offset = sh_cdy*2-dy;
|
sh_cdy_size_offset = sh_cdy*2-dy;
|
||||||
if (sh_cdx*2 > dx)
|
// if (sh_cdx*2 > dx)
|
||||||
sh_cdx_size_offset = sh_cdx*2-dx;
|
// sh_cdx_size_offset = sh_cdx*2-dx;
|
||||||
|
|
||||||
//handle shadow positions
|
//handle shadow positions
|
||||||
//...corner bottom right
|
//...corner bottom right
|
||||||
|
Reference in New Issue
Block a user