mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -05:00
add CCEGLView::setupWindow
This commit is contained in:
parent
11299df20c
commit
dc4f029bf3
2 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,7 @@ class cocos2d::CCEGLView {
|
||||||
static cocos2d::CCEGLView* sharedOpenGLView() = mac 0x295320;
|
static cocos2d::CCEGLView* sharedOpenGLView() = mac 0x295320;
|
||||||
virtual void swapBuffers() = mac 0x295510;
|
virtual void swapBuffers() = mac 0x295510;
|
||||||
void updateWindow(int width, int height);
|
void updateWindow(int width, int height);
|
||||||
|
void setupWindow(cocos2d::CCRect);
|
||||||
void toggleFullScreen(bool fullscreen);
|
void toggleFullScreen(bool fullscreen);
|
||||||
void pollEvents();
|
void pollEvents();
|
||||||
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
|
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
|
||||||
|
|
|
@ -63,6 +63,8 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
RT_REMOVE( virtual bool Create(); )
|
RT_REMOVE( virtual bool Create(); )
|
||||||
|
void setupWindow(cocos2d::CCRect rect);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool initGL();
|
bool initGL();
|
||||||
void destroyGL();
|
void destroyGL();
|
||||||
|
|
Loading…
Reference in a new issue