#include <CCApplication.h>
Public Member Functions | |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director to limit FPS. More... | |
| local | setAnimationInterval ( local interval) |
| Callback by Director to limit FPS. More... | |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| local | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| var | setAnimationInterval ( var interval) |
| Callback by Director for limit FPS. More... | |
| local | setAnimationInterval ( local interval) |
| Callback by Director for limit FPS. More... | |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| CC_DEPRECATED_ATTRIBUTE void | setResourceRootPath (const std::string &rootResDir) |
| Sets the Resource root path. More... | |
| local | setResourceRootPath ( local rootResDir) |
| Sets the Resource root path. More... | |
| CC_DEPRECATED_ATTRIBUTE const std::string & | getResourceRootPath (void) |
| Gets the Resource root path. More... | |
| local | getResourceRootPath () |
| Gets the Resource root path. More... | |
| Application () | |
| virtual | ~Application () |
| int | run () |
| Run the message loop. More... | |
| virtual void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| local | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| CC_DEPRECATED_ATTRIBUTE void | setResourceRootPath (const std::string &rootResDir) |
| Sets the Resource root path. More... | |
| local | setResourceRootPath ( local rootResDir) |
| Sets the Resource root path. More... | |
| CC_DEPRECATED_ATTRIBUTE const std::string & | getResourceRootPath (void) |
| Gets the Resource root path. More... | |
| var | getResourceRootPath () |
| Gets the Resource root path. More... | |
| local | getResourceRootPath () |
| Gets the Resource root path. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| virtual void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| local | setAnimationInterval ( local interval) |
| Callback by Director for limit FPS. More... | |
| int | run () |
| Get status bar rectangle in EGLView window. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| local | getTargetPlatform () |
| Get target platform. More... | |
| CC_DEPRECATED_ATTRIBUTE void | setResourceRootPath (const std::string &rootResDir) |
| Sets the Resource root path. More... | |
| local | setResourceRootPath ( local rootResDir) |
| Sets the Resource root path. More... | |
| CC_DEPRECATED_ATTRIBUTE const std::string & | getResourceRootPath (void) |
| Gets the Resource root path. More... | |
| void | setStartupScriptFilename (const std::string &startupScriptFile) |
| const std::string & | getStartupScriptFilename (void) |
| local | getStartupScriptFilename () |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| var | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| CC_DEPRECATED_ATTRIBUTE void | setResourceRootPath (const std::string &rootResDir) |
| Sets the Resource root path. More... | |
| local | setResourceRootPath ( local rootResDir) |
| Sets the Resource root path. More... | |
| CC_DEPRECATED_ATTRIBUTE const std::string & | getResourceRootPath () |
| Gets the Resource root path. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| void | setAnimationInterval (double interval) |
| Callback by Director to limit FPS. More... | |
| var | setAnimationInterval ( var interval) |
| Callback by Director to limit FPS. More... | |
| local | setAnimationInterval ( local interval) |
| Callback by Director to limit FPS. More... | |
| long | getAnimationInterval () |
| int | run () |
| Run the message loop. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| local | getTargetPlatform () |
| Get target platform. More... | |
| Application () | |
| virtual | ~Application () |
| int | run () |
| Run the message loop. More... | |
| virtual void | setAnimationInterval (double interval) |
| Callback by Director for limit FPS. More... | |
| virtual LanguageType | getCurrentLanguage () |
| Get current language config. More... | |
| virtual Platform | getTargetPlatform () |
| Get target platform. More... | |
| var | getTargetPlatform () |
| Get target platform. More... | |
| CC_DEPRECATED_ATTRIBUTE void | setResourceRootPath (const std::string &rootResDir) |
| Sets the Resource root path. More... | |
| local | setResourceRootPath ( local rootResDir) |
| Sets the Resource root path. More... | |
| CC_DEPRECATED_ATTRIBUTE const std::string & | getResourceRootPath (void) |
| Gets the Resource root path. More... | |
| void | setStartupScriptFilename (const std::string &startupScriptFile) |
| const std::string & | getStartupScriptFilename (void) |
Public Member Functions inherited from ApplicationProtocol | |
| virtual | ~ApplicationProtocol () |
| virtual bool | applicationDidFinishLaunching ()=0 |
| Implement Director and Scene init code here. More... | |
| virtual void | applicationDidEnterBackground ()=0 |
| This function will be called when the application enters background. More... | |
| virtual void | applicationWillEnterForeground ()=0 |
| This function will be called when the application enters foreground. More... | |
Protected Attributes | |
| std::string | _resourceRootPath |
| long | _animationInterval |
| var | _animationInterval |
| local | _animationInterval |
| std::string | _startupScriptFilename |
| QGuiApplication * | m_application |
| long | m_animationInterval |
| var | m_animationInterval |
| local | m_animationInterval |
| std::string | m_resourceRootPath |
| var | m_resourceRootPath |
| local | m_resourceRootPath |
| Cocos2DQt5MainloopIntegration * | m_mainloop |
| HINSTANCE | _instance |
| local | _instance |
| HACCEL | _accelTable |
| var | _accelTable |
| local | _accelTable |
| LARGE_INTEGER | _animationInterval |
| var | _animationInterval |
| local | _animationInterval |
Static Protected Attributes | |
| static Application * | sm_pSharedApplication |
| static long | _animationInterval |
| var | _animationInterval |
| local | _animationInterval |
| static bool | s_running |
| local | s_running |
Additional Inherited Members | |
Public Types inherited from ApplicationProtocol | |
| enum | Platform { OS_WINDOWS, OS_LINUX, OS_MAC, OS_ANDROID, OS_IPHONE, OS_IPAD, OS_BLACKBERRY, OS_NACL, OS_EMSCRIPTEN, OS_TIZEN } |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| Application | ( | ) |
| var ctor | ( | ) |
| local Application | ( | ) |
|
virtual |
| long getAnimationInterval | ( | ) |
| var getAnimationInterval | ( | ) |
| local getAnimationInterval | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get the current application instance.
|
static |
Get the current application instance.
|
static |
Get the current application instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current application instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
|
static |
Get current applicaiton instance.
| CC_DEPRECATED_ATTRIBUTE const std::string& getResourceRootPath |
( | void | ) |
Gets the Resource root path.
| var getResourceRootPath | ( | ) |
Gets the Resource root path.
| local getResourceRootPath | ( | ) |
Gets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE const std::string& getResourceRootPath |
( | void | ) |
Gets the Resource root path.
| var getResourceRootPath | ( | ) |
Gets the Resource root path.
| local getResourceRootPath | ( | ) |
Gets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE const std::string& getResourceRootPath |
( | void | ) |
Gets the Resource root path.
| var getResourceRootPath | ( | ) |
Gets the Resource root path.
| local getResourceRootPath | ( | ) |
Gets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE const std::string& getResourceRootPath |
( | ) |
Gets the Resource root path.
| var getResourceRootPath | ( | ) |
Gets the Resource root path.
| local getResourceRootPath | ( | ) |
Gets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE const std::string& getResourceRootPath |
( | void | ) |
Gets the Resource root path.
| var getResourceRootPath | ( | ) |
Gets the Resource root path.
| local getResourceRootPath | ( | ) |
Gets the Resource root path.
|
inline |
|
inline |
|
inline |
| const std::string& getStartupScriptFilename |
( | void | ) |
| var getStartupScriptFilename | ( | ) |
| local getStartupScriptFilename | ( | ) |
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
virtual |
Get target platform.
Implements ApplicationProtocol.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Run the message loop.
| var run | ( | ) |
Run the message loop.
| local run | ( | ) |
Run the message loop.
| int run | ( | ) |
Get status bar rectangle in EGLView window.
Run the message loop.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director to limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, which expressed in second in second, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
|
virtual |
Callback by Director for limit FPS.
| interval | The time, expressed in seconds, between current frame and next. |
Implements ApplicationProtocol.
| CC_DEPRECATED_ATTRIBUTE void setResourceRootPath |
( | const std::string & | rootResDir) |
Sets the Resource root path.
| var setResourceRootPath | ( | var | rootResDir) |
Sets the Resource root path.
| local setResourceRootPath | ( | local | rootResDir) |
Sets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE void setResourceRootPath |
( | const std::string & | rootResDir) |
Sets the Resource root path.
| var setResourceRootPath | ( | var | rootResDir) |
Sets the Resource root path.
| local setResourceRootPath | ( | local | rootResDir) |
Sets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE void setResourceRootPath |
( | const std::string & | rootResDir) |
Sets the Resource root path.
| var setResourceRootPath | ( | var | rootResDir) |
Sets the Resource root path.
| local setResourceRootPath | ( | local | rootResDir) |
Sets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE void setResourceRootPath |
( | const std::string & | rootResDir) |
Sets the Resource root path.
| var setResourceRootPath | ( | var | rootResDir) |
Sets the Resource root path.
| local setResourceRootPath | ( | local | rootResDir) |
Sets the Resource root path.
| CC_DEPRECATED_ATTRIBUTE void setResourceRootPath |
( | const std::string & | rootResDir) |
Sets the Resource root path.
| var setResourceRootPath | ( | var | rootResDir) |
Sets the Resource root path.
| local setResourceRootPath | ( | local | rootResDir) |
Sets the Resource root path.
| void setStartupScriptFilename | ( | const std::string & | startupScriptFile) |
| var setStartupScriptFilename | ( | var | startupScriptFile) |
| local setStartupScriptFilename | ( | local | startupScriptFile) |
| void setStartupScriptFilename | ( | const std::string & | startupScriptFile) |
| var setStartupScriptFilename | ( | var | startupScriptFile) |
| local setStartupScriptFilename | ( | local | startupScriptFile) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |