mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 07:27:59 -05:00
add disable/enabledrawarea to ccdrawnode
This commit is contained in:
parent
a31c68f178
commit
444a8c198b
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ public:
|
|||
void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&);
|
||||
bool drawLines(cocos2d::CCPoint*, unsigned int, float, cocos2d::_ccColor4F const&);
|
||||
bool drawRect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&);
|
||||
void disableDrawArea();
|
||||
void enableDrawArea(cocos2d::CCRect& rect);
|
||||
#else
|
||||
/** draw a dot at a position, with a given radius and color */
|
||||
void drawDot(const CCPoint &pos, float radius, const ccColor4F &color);
|
||||
|
|
Loading…
Reference in a new issue