Skip to content

Commit

Permalink
fix CCEGLView on non-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 15, 2024
1 parent 925ba11 commit 2aabb4f
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions bindings/2.206/Cocos2d.bro
Original file line number Diff line number Diff line change
Expand Up @@ -1293,37 +1293,39 @@ class cocos2d::CCEGLView {
// CCEGLView(cocos2d::CCEGLView const&);
virtual void swapBuffers() = m1 0x464e30, imac 0x50e130;
void end();

[[missing(android, mac, ios)]]
void toggleFullScreen(bool, bool);
[[missing(android, mac, ios)]]
void pollEvents();
[[missing(android, mac, ios)]]
void setupWindow(cocos2d::CCRect);
[[missing(android, mac, ios)]]
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
[[missing(android, mac, ios)]]
void onGLFWCursorEnterFunCallback(GLFWwindow* window, int entered);
[[missing(android, mac, ios)]]
void onGLFWDeviceChangeFunCallback(GLFWwindow* window);
[[missing(android, mac, ios)]]
void onGLFWError(int code, char const* description);
[[missing(android, mac, ios)]]
void onGLFWKeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
[[missing(android, mac, ios)]]
void onGLFWMouseCallBack(GLFWwindow* window, int button, int action, int mods);
[[missing(android, mac, ios)]]
void onGLFWMouseMoveCallBack(GLFWwindow* window, double x, double y);
[[missing(android, mac, ios)]]
void onGLFWMouseScrollCallback(GLFWwindow* window, double xOffset, double yOffset);
[[missing(android, mac, ios)]]
void onGLFWWindowIconifyFunCallback(GLFWwindow* window, int iconified);
[[missing(android, mac, ios)]]
void onGLFWWindowPosCallback(GLFWwindow* window, int x, int y);
[[missing(android, mac, ios)]]
void onGLFWWindowSizeFunCallback(GLFWwindow* window, int width, int height);
[[missing(android, mac, ios)]]
void onGLFWframebuffersize(GLFWwindow* window, int width, int height);

win {
[[missing(android, mac, ios)]]
void toggleFullScreen(bool, bool);
[[missing(android, mac, ios)]]
void pollEvents();
[[missing(android, mac, ios)]]
void setupWindow(cocos2d::CCRect);
[[missing(android, mac, ios)]]
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
[[missing(android, mac, ios)]]
void onGLFWCursorEnterFunCallback(GLFWwindow* window, int entered);
[[missing(android, mac, ios)]]
void onGLFWDeviceChangeFunCallback(GLFWwindow* window);
[[missing(android, mac, ios)]]
void onGLFWError(int code, char const* description);
[[missing(android, mac, ios)]]
void onGLFWKeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
[[missing(android, mac, ios)]]
void onGLFWMouseCallBack(GLFWwindow* window, int button, int action, int mods);
[[missing(android, mac, ios)]]
void onGLFWMouseMoveCallBack(GLFWwindow* window, double x, double y);
[[missing(android, mac, ios)]]
void onGLFWMouseScrollCallback(GLFWwindow* window, double xOffset, double yOffset);
[[missing(android, mac, ios)]]
void onGLFWWindowIconifyFunCallback(GLFWwindow* window, int iconified);
[[missing(android, mac, ios)]]
void onGLFWWindowPosCallback(GLFWwindow* window, int x, int y);
[[missing(android, mac, ios)]]
void onGLFWWindowSizeFunCallback(GLFWwindow* window, int width, int height);
[[missing(android, mac, ios)]]
void onGLFWframebuffersize(GLFWwindow* window, int width, int height);
}
// sharedOpenGLView() = ios 0x130f38, imac 0x50df50
}

Expand Down

0 comments on commit 2aabb4f

Please sign in to comment.