From 2940c4e5f63fd8921926774e0916cf84eba1ed4c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 17 Feb 2013 16:49:33 +0100 Subject: [PATCH] CComponents: add more debug output and fix typo in enum CC_ITEMTYPES --- src/gui/components/cc.h | 2 +- src/gui/components/components.cpp | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index b9239b5ef..ab7e02575 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -189,7 +189,7 @@ class CComponentsItem : public CComponents CC_ITEMTYPE_SHAPE_CIRCLE, CC_ITEMTYPE_PIP, CC_ITEMTYPE_FRM, - CC_ITEMTYPE_FRM_HERADER, + CC_ITEMTYPE_FRM_HEADER, CC_ITEMTYPE_FRM_ICONFORM, CC_ITEMTYPE_FRM_WINDOW, diff --git a/src/gui/components/components.cpp b/src/gui/components/components.cpp index 6fe80c807..37a415e2f 100644 --- a/src/gui/components/components.cpp +++ b/src/gui/components/components.cpp @@ -92,13 +92,18 @@ void CComponents::paintFbItems(bool do_save_bg) if (firstPaint && do_save_bg) { for(size_t i=0; igetHeight(); col_body = COL_MENUHEAD_PLUS_0; corner_rad = RADIUS_LARGE,