Unigine::App Class
Major changes:
- Added support for the window position.
- Added support for multi-touch.
- Removed support for DirectX 9.
- Removed support for OpenGL ES.
UNIGINE | UNIGINE 2 |
---|---|
int dialogMessage(const char * title, const char * str) | int dialogMessage(const char * title, const char * str, const char * flags) |
int dialogFile(const char * title, char * name, int size) | int dialogFile(const char * title, char * name, int size, const char * filter, const char * flags) |
int initD3D9(void * d3d, void * device) | Removed. DirectX 9 is no longer supported. |
int shutdownD3D9() | Removed. DirectX 9 is no longer supported. |
int isD3D9Initialized() | Removed. DirectX 9 is no longer supported. |
void * getD3D9D3D() | Removed. DirectX 9 is no longer supported. |
int initGLES() | Removed. OpenGL ES is no longer supported. |
int shutdownGLES() | Removed. OpenGL ES is no longer supported. |
int isGLESInitialized() | Removed. OpenGL ES is no longer supported. |
New Functions and Variables
- NUM_TOUCHES
- int setPosition(int x, int y)
- int getPositionX()
- int getPositionY()
- int getNumTouches()
- int getTouchX(int touch)
- int getTouchY(int touch)
- void setButtonPressFunc (int(*)(int button) func)
- void setButtonReleaseFunc (int(*)(int button) func)
- void setKeyPressFunc (int(*)(unsigned int key) func)
- void setKeyReleaseFunc (int(*)(unsigned int key) func)
- void setKeyPressUnicodeFunc (int(*)(unsigned int key) func)
- int initNULL()
- int shutdownNULL()
- int isNULLInitialized()
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)