From 636c60c2ed03f412e8d96193841b3827bb62bc5a Mon Sep 17 00:00:00 2001 From: Ming Date: Fri, 23 Jul 2010 07:13:47 +0000 Subject: [PATCH] issue #6: update UIImage --- cocos2dx/platform/uphone/UIImage.cpp | 2 ++ cocos2dx/platform/uphone/UIImage.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cocos2dx/platform/uphone/UIImage.cpp b/cocos2dx/platform/uphone/UIImage.cpp index 0582afa880..2946f68b17 100644 --- a/cocos2dx/platform/uphone/UIImage.cpp +++ b/cocos2dx/platform/uphone/UIImage.cpp @@ -24,6 +24,8 @@ THE SOFTWARE. #include "UIImage.h" +#include + using namespace std; UIImage::UIImage(void) diff --git a/cocos2dx/platform/uphone/UIImage.h b/cocos2dx/platform/uphone/UIImage.h index e37decd733..e51cd0a847 100644 --- a/cocos2dx/platform/uphone/UIImage.h +++ b/cocos2dx/platform/uphone/UIImage.h @@ -25,10 +25,11 @@ THE SOFTWARE. #ifndef __PLATFORM_UPHONE_UIIMAGE_H__ #define __PLATFORM_UPHONE_UIIMAGE_H__ -#include #include #include "Cocos2dTypes.h" +class TBitmap; + class UIImage { public: