mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
add stuff to CCMouseDispatcher in a desperate attempt to get hooking
onGLFWMouseCallBack to work
This commit is contained in:
parent
45195418b9
commit
0a33d606e2
2 changed files with 18 additions and 1 deletions
|
@ -9,6 +9,7 @@ RT_ADD(
|
|||
|
||||
class CC_DLL CCMouseDispatcher : public CCObject
|
||||
{
|
||||
GEODE_FRIEND_MODIFY
|
||||
public:
|
||||
CCMouseDispatcher();
|
||||
virtual ~CCMouseDispatcher();
|
||||
|
|
|
@ -151,11 +151,23 @@ class cocos2d::CCEaseOut {
|
|||
}
|
||||
|
||||
class cocos2d::CCEGLView {
|
||||
void onGLFWMouseCallBack(GLFWwindow* wnd, int btn, int pressed, int z);
|
||||
virtual void swapBuffers();
|
||||
void updateWindow(int width, int height);
|
||||
void toggleFullScreen(bool fullscreen);
|
||||
void pollEvents();
|
||||
void toggleFullScreen(bool fullscreen);
|
||||
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
|
||||
void onGLFWCursorEnterFunCallback(GLFWwindow* window, int entered);
|
||||
void onGLFWDeviceChangeFunCallback(GLFWwindow* window);
|
||||
void onGLFWError(int code, const char* description);
|
||||
void onGLFWframebuffersize(GLFWwindow* window, int width, int height);
|
||||
void onGLFWMouseMoveCallBack(GLFWwindow* window, double x, double y);
|
||||
void onGLFWMouseCallBack(GLFWwindow* window, int button, int action, int mods);
|
||||
void onGLFWKeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
|
||||
void onGLFWMouseScrollCallback(GLFWwindow* window, double xoffset, double yoffset);
|
||||
void onGLFWWindowIconifyFunCallback(GLFWwindow* window, int iconified);
|
||||
void onGLFWWindowPosCallback(GLFWwindow* window, int x, int y);
|
||||
void onGLFWWindowSizeFunCallback(GLFWwindow* window, int width, int height);
|
||||
}
|
||||
|
||||
class cocos2d::CCFadeOut {
|
||||
|
@ -388,6 +400,10 @@ class cocos2d::CCMotionStreak {
|
|||
bool initWithFade(float fade, float minSeg, float stroke, cocos2d::ccColor3B const& color, cocos2d::CCTexture2D* texture) = mac 0x2ed6f0;
|
||||
}
|
||||
|
||||
class cocos2d::CCMouseDispatcher {
|
||||
|
||||
}
|
||||
|
||||
class cocos2d::CCMouseHandler {
|
||||
static cocos2d::CCMouseHandler* handlerWithDelegate(cocos2d::CCMouseDelegate*) = mac 0x12ef80;
|
||||
virtual auto initWithDelegate(cocos2d::CCMouseDelegate*) = mac 0x12ef40, , ios 0x43798;
|
||||
|
|
Loading…
Reference in a new issue