CComponentsPicture: add debug output

This commit is contained in:
2013-04-12 22:13:57 +02:00
parent fb64fb5d35
commit 3d35a30ecf

View File

@@ -173,6 +173,10 @@ void CComponentsPicture::paint(bool do_save_bg)
paintInit(do_save_bg);
pic_painted = false;
#ifdef DEBUG_CC
printf(" [CComponentsPicture] %s: paint image: %s (do_paint=%d)\n", __FUNCTION__, pic_name.c_str(), do_paint);
#endif
if (do_paint){
if (pic_paint_mode == CC_PIC_IMAGE_MODE_OFF)
pic_painted = frameBuffer->paintIcon(pic_name, pic_x, pic_y, 0 /*pic_max_h*/, pic_offset, pic_paint, pic_paintBg, col_body);