From 145adb2e1f72be8dcc59579c12a2b2cdc4648da3 Mon Sep 17 00:00:00 2001 From: mat <26722564+matcool@users.noreply.github.com> Date: Sun, 15 Sep 2024 23:12:12 -0300 Subject: [PATCH] add much requested ccdrawnode::drawRect overload --- loader/include/Geode/cocos/draw_nodes/CCDrawNode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h b/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h index bbb8e3dd..abb08b80 100644 --- a/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h +++ b/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h @@ -99,6 +99,7 @@ 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&); + bool drawRect(cocos2d::CCRect const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&); void disableDrawArea(); void enableDrawArea(cocos2d::CCRect& rect); #else