|
| const GLContextAttrs & | getGLContextAttrs () |
| | Return the OpenGL context attrs. More...
|
| |
|
float | getFrameZoomFactor () const |
| |
|
void | setViewPortInPoints (float x, float y, float w, float h) |
| |
|
void | setScissorInPoints (float x, float y, float w, float h) |
| |
|
bool | windowShouldClose () |
| |
|
void | pollEvents () |
| |
|
GLFWwindow * | getWindow () const |
| |
|
bool | isOpenGLReady () |
| |
|
void | end () |
| |
|
void | swapBuffers () |
| |
|
void | setIMEKeyboardState (bool bOpen) |
| |
|
void | setFrameZoomFactor (float zoomFactor) |
| |
|
void | setCursorVisible (bool isVisible) |
| | Hide or Show the mouse cursor if there is one.
|
| |
| void | enableRetina (bool enabled) |
| | Retina support is disabled by default. More...
|
| |
| bool | isRetinaEnabled () const |
| | Check whether retina display is enabled. More...
|
| |
|
int | getRetinaFactor () const |
| | Get retina factor.
|
| |
|
void | setViewName (const std::string viewname) |
| |
| const CCRect & | getViewPortRect () const |
| | Get the opengl view port rectangle. More...
|
| |
| bool | IsKeyPressed (DWORD nKey) |
| | return true if the key is being pressed at the time of calling. More...
|
| |
| void | setFrameSize (float width, float height) |
| | Set the frame size of EGL view. More...
|
| |
|
void | SetWindowText (const char *pChar) |
| | set the window title when at windowed mode
|
| |
|
void | FixWindowSize (bool fixed) |
| |
| virtual void | Clone (IObject *obj) const |
| | Clone the object's contains to a pointer. More...
|
| |
| virtual IObject * | Clone () const |
| | Clone the object's contains and return a pointer to the newly created object. More...
|
| |
| virtual bool | Equals (const IObject *obj) const |
| | Compare the object with another object. More...
|
| |
|
virtual const IType * | GetType () const |
| |
|
virtual std::string | ToString () const |
| |
| WeakPtr_type & | GetWeakReference () |
| | get weak reference object. More...
|
| |
| virtual int | ProcessObjectEvent (const ObjectEvent &event) |
| | this function is only used to backward compatibility of ParaObject:AddEvent() function. More...
|
| |
| void | addref () const |
| | add reference count of the object. More...
|
| |
| bool | delref () const |
| | decrease reference count of the object. More...
|
| |
|
int | GetRefCount () const |
| | get the reference count
|
| |
|
virtual int | Release () |
| |
| CRefCounted * | AddToAutoReleasePool () |
| | addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
|
| |
|
|
bool | initWithRect (const std::string &viewName, const CCRect &rect, float frameZoomFactor) |
| |
|
bool | initWithFullScreen (const std::string &viewName) |
| |
|
bool | initWithFullscreen (const std::string &viewname, const GLFWvidmode &videoMode, GLFWmonitor *monitor) |
| |
|
bool | initGlew () |
| |
|
void | updateFrameSize () |
| |
|
void | onGLFWError (int errorID, const char *errorDesc) |
| |
|
void | onGLFWMouseCallBack (GLFWwindow *window, int button, int action, int modify) |
| |
|
void | onGLFWMouseMoveCallBack (GLFWwindow *window, double x, double y) |
| |
|
void | onGLFWMouseScrollCallback (GLFWwindow *window, double x, double y) |
| |
|
void | onGLFWKeyCallback (GLFWwindow *window, int key, int scancode, int action, int mods) |
| |
|
void | onGLFWCharCallback (GLFWwindow *window, unsigned int character) |
| |
|
void | onGLFWWindowPosCallback (GLFWwindow *windows, int x, int y) |
| |
|
void | onGLFWframebuffersize (GLFWwindow *window, int w, int h) |
| |
|
void | onGLFWWindowSizeFunCallback (GLFWwindow *window, int width, int height) |
| |
|
void | onGLFWWindowIconifyCallback (GLFWwindow *window, int iconified) |
| |
| const Size & | getFrameSize () const |
| | Get the frame size of EGL view. More...
|
| |