mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CCDraw: add methode do get current background save mode
This commit is contained in:
@@ -284,6 +284,8 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
|||||||
virtual void enableSaveBg(bool save_bg = true);
|
virtual void enableSaveBg(bool save_bg = true);
|
||||||
///disable background buffering, does the same like enableSaveBg(false), NOTE: cleans existant pixbuffer content!
|
///disable background buffering, does the same like enableSaveBg(false), NOTE: cleans existant pixbuffer content!
|
||||||
virtual void disableSaveBg(){enableSaveBg(false);}
|
virtual void disableSaveBg(){enableSaveBg(false);}
|
||||||
|
///returns background buffering mode. Mode is assigned with paint() or enableSaveBg()/disableSaveBg())
|
||||||
|
bool SaveBg(){return cc_save_bg;}
|
||||||
|
|
||||||
///allow/disalows paint of item and its contents, but initialize of other properties are not touched
|
///allow/disalows paint of item and its contents, but initialize of other properties are not touched
|
||||||
///this can be understood as a counterpart to isPainted(), but before paint and value of is_painted is modified temporarily till next paint of item //TODO: is this sufficiently?
|
///this can be understood as a counterpart to isPainted(), but before paint and value of is_painted is modified temporarily till next paint of item //TODO: is this sufficiently?
|
||||||
|
Reference in New Issue
Block a user