mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user