Experimental try to rework isPainted()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 26eb4d079b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-19 (Thu, 19 Jan 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
2017-01-19 09:15:49 +01:00
committed by Michael Liebmann
parent fbbe2b1345
commit 4b52331066
6 changed files with 29 additions and 8 deletions

View File

@@ -114,7 +114,7 @@ class CCDraw : public COSDFader, public CComponentsSignals
///status: true=component was painted for 1st time
bool firstPaint;
///status: true=component was rendered
bool is_painted;
// bool is_painted;
///mode: true=activate rendering of basic elements (frame, shadow and body)
bool paint_bg;
///mode: true=activate rendering of frame
@@ -268,7 +268,7 @@ class CCDraw : public COSDFader, public CComponentsSignals
virtual void disablePaintCache(){enablePaintCache(false);}
///returns paint mode, true=item was painted
virtual bool isPainted(){return is_painted;}
virtual bool isPainted();
///allows paint of elementary item parts (shadow, frame and body), similar as background, set it usually to false, if item used in a form, returns true, if mode has changed, also cleans screnn buffer
virtual bool doPaintBg(bool do_paint);
///allows paint frame around body, default true , NOTE: ignored if frame width = 0