|
| CCEGLView () |
|
virtual | ~CCEGLView () |
|
virtual bool | isOpenGLReady () |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | end () |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual void | swapBuffers () |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setFrameSize (float width, float height) |
| Set the frame size of EGL view. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen) |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
void | ShowKeyboard (Windows::Foundation::Rect r) |
|
void | HideKeyboard (Windows::Foundation::Rect r) |
|
virtual bool | Create (Windows::UI::Core::CoreWindow^ window, Windows::UI::Xaml::Controls::SwapChainBackgroundPanel^ panel) |
|
void | UpdateForWindowSizeChange () |
|
void | OnRendering () |
|
void | OnSuspending () |
|
Windows::UI::Core::CoreWindow | getWindow () |
|
int | Run () |
|
void | resize (int width, int height) |
|
void | setFrameZoomFactor (float fZoomFactor) |
|
float | getFrameZoomFactor () |
|
void | centerWindow () |
|
void | showCursor (bool state) |
|
| CCEGLViewProtocol () |
| NA. More...
|
|
virtual | ~CCEGLViewProtocol () |
| NA. More...
|
|
virtual void | end ()=0 |
| Force destroying EGL view, subclass must implement this method. More...
|
|
virtual bool | isOpenGLReady ()=0 |
| Get whether opengl render system is ready, subclass must implement this method. More...
|
|
virtual void | swapBuffers ()=0 |
| Exchanges the front and back buffers, subclass must implement this method. More...
|
|
virtual void | setIMEKeyboardState (bool bOpen)=0 |
| Open or close IME keyboard , subclass must implement this method. More...
|
|
virtual const CCSize & | getFrameSize () const |
| Get the frame size of EGL view. More...
|
|
virtual void | setFrameSize (float width, float height) |
| Set the frame size of EGL view. More...
|
|
virtual CCSize | getVisibleSize () const |
| Get the visible area size of opengl viewport. More...
|
|
virtual CCPoint | getVisibleOrigin () const |
| Get the visible origin point of opengl viewport. More...
|
|
virtual void | setDesignResolutionSize (float width, float height, ResolutionPolicy resolutionPolicy) |
| Set the design resolution size. More...
|
|
virtual const CCSize & | getDesignResolutionSize () const |
| Get design resolution size. More...
|
|
virtual void | setTouchDelegate (EGLTouchDelegate *pDelegate) |
| Set touch delegate. More...
|
|
virtual void | setViewPortInPoints (float x, float y, float w, float h) |
| Set opengl view port rectangle with points. More...
|
|
virtual void | setScissorInPoints (float x, float y, float w, float h) |
| Set Scissor rectangle with points. More...
|
|
virtual bool | isScissorEnabled () |
| Get whether GL_SCISSOR_TEST is enable NA. More...
|
|
virtual CCRect | getScissorRect () |
| Get the current scissor rectangle NA. More...
|
|
virtual void | setViewName (const char *pszViewName) |
| NA. More...
|
|
const char * | getViewName () |
| NA. More...
|
|
virtual void | handleTouchesBegin (int num, int ids[], float xs[], float ys[]) |
| Touch events are handled by default; if you want to customize your handlers, please override these functions: NA. More...
|
|
virtual void | handleTouchesMove (int num, int ids[], float xs[], float ys[]) |
| NA. More...
|
|
virtual void | handleTouchesEnd (int num, int ids[], float xs[], float ys[]) |
| NA. More...
|
|
virtual void | handleTouchesCancel (int num, int ids[], float xs[], float ys[]) |
| NA. More...
|
|
const CCRect & | getViewPortRect () const |
| Get the opengl view port rectangle. More...
|
|
float | getScaleX () const |
| Get scale factor of the horizontal direction. More...
|
|
float | getScaleY () const |
| Get scale factor of the vertical direction. More...
|
|