gui/components/cc_base.cpp: try to fix screen save for CComponentsDetailLine

Origin commit data
------------------
Branch: ni/coolstream
Commit: 75f7ac1235
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-07-17 12:53:44 +04:00
parent 91ffb82683
commit 2c2c1161f0

View File

@@ -151,6 +151,7 @@ void CComponents::paintFbItems(bool do_save_bg)
//some elements can be assembled from lines and must be handled as one unit (see details line),
//so all individual backgrounds of boxes must be saved and painted in "firstpaint mode"
#if 0
if (firstPaint){
if (do_save_bg && fbtype == CC_FBDATA_TYPE_LINE)
@@ -162,7 +163,10 @@ void CComponents::paintFbItems(bool do_save_bg)
else
firstPaint = false;
}
#endif
if (do_save_bg && fbtype == CC_FBDATA_TYPE_LINE)
v_fbdata[i].pixbuf = getScreen(v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy);
//paint all fb relevant basic parts (frame and body) with all specified properties, paint_bg must be true
if (fbtype != CC_FBDATA_TYPE_BGSCREEN && paint_bg){
if (fbtype == CC_FBDATA_TYPE_FRAME) {