CComponentsItem: unused vars commented out

Origin commit data
------------------
Branch: ni/coolstream
Commit: eb78743e4a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-14 (Wed, 14 Sep 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-09-14 10:30:44 +02:00
parent ee66102a3e
commit 7c44674518

View File

@@ -111,12 +111,13 @@ 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,*/ 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 0
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;
#endif
//handle shadow positions //handle shadow positions
//...corner bottom right //...corner bottom right
int sh_cbr_x = ix+dx-sh_cdx+sw; int sh_cbr_x = ix+dx-sh_cdx+sw;