Skip to content

Commit

Permalink
add disable/enabledrawarea to ccdrawnode
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 29, 2024
1 parent a31c68f commit 444a8c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loader/include/Geode/cocos/draw_nodes/CCDrawNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ class CC_DLL CCDrawNode : public CCNodeRGBA
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);
Expand Down

0 comments on commit 444a8c1

Please sign in to comment.