mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
CCDraw: add member to get current shadow width
This commit is contained in:
@@ -254,6 +254,8 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
|||||||
virtual void enableShadow(int mode = CC_SHADOW_ON, const int& shadow_width = -1, bool force_paint = false);
|
virtual void enableShadow(int mode = CC_SHADOW_ON, const int& shadow_width = -1, bool force_paint = false);
|
||||||
///switch shadow off
|
///switch shadow off
|
||||||
virtual void disableShadow(){enableShadow(CC_SHADOW_OFF);}
|
virtual void disableShadow(){enableShadow(CC_SHADOW_OFF);}
|
||||||
|
///return current schadow width
|
||||||
|
int getShadowWidth(){return shadow_w;}
|
||||||
|
|
||||||
///paint caching for body and shadow, see also cc_paint_cache NOTE: has no effect if paint_bg = false
|
///paint caching for body and shadow, see also cc_paint_cache NOTE: has no effect if paint_bg = false
|
||||||
virtual void enablePaintCache(bool enable = true);
|
virtual void enablePaintCache(bool enable = true);
|
||||||
|
Reference in New Issue
Block a user