mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 18:05:35 -05:00
Merge remote-tracking branch 'origin/main' into text-area-v2
This commit is contained in:
commit
3cdd0ee74b
2 changed files with 3 additions and 1 deletions
|
@ -243,7 +243,7 @@ if (DEFINED GEODE_TULIPHOOK_REPO_PATH)
|
||||||
message(STATUS "Using ${GEODE_TULIPHOOK_REPO_PATH} for TulipHook")
|
message(STATUS "Using ${GEODE_TULIPHOOK_REPO_PATH} for TulipHook")
|
||||||
add_subdirectory(${GEODE_TULIPHOOK_REPO_PATH} ${GEODE_TULIPHOOK_REPO_PATH}/build)
|
add_subdirectory(${GEODE_TULIPHOOK_REPO_PATH} ${GEODE_TULIPHOOK_REPO_PATH}/build)
|
||||||
else()
|
else()
|
||||||
CPMAddPackage("gh:geode-sdk/TulipHook#fbf79b4")
|
CPMAddPackage("gh:geode-sdk/TulipHook#c8a445c")
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE)
|
set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE)
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,8 @@ public:
|
||||||
void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&);
|
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 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::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&);
|
||||||
|
void disableDrawArea();
|
||||||
|
void enableDrawArea(cocos2d::CCRect& rect);
|
||||||
#else
|
#else
|
||||||
/** draw a dot at a position, with a given radius and color */
|
/** draw a dot at a position, with a given radius and color */
|
||||||
void drawDot(const CCPoint &pos, float radius, const ccColor4F &color);
|
void drawDot(const CCPoint &pos, float radius, const ccColor4F &color);
|
||||||
|
|
Loading…
Reference in a new issue