|
kick
|
Public Member Functions | |
| SDL2Context (const SDL2Context &) | |
| virtual bool | init (int &argc, char **argv) override |
| virtual bool | showWindow (const WindowConfig &config=WindowConfig::plain) override |
| virtual void | swapBuffer () override |
| virtual void | mainLoop () override |
| std::string | getBasePath () |
| virtual bool | isFullscreen () override |
| virtual void | setFullscreen (bool fullscreen) override |
| virtual void | setWindowTitle (std::string title) override |
| virtual std::string | getWindowTitle () override |
| void | step () |
| bool | tick () |
Definition at line 26 of file sdl2_context.h.
| std::string kick::SDL2Context::getBasePath | ( | ) | [virtual] |
Return the resource base path
Reimplemented from kick::Context.
Definition at line 348 of file sdl2_context.cpp.
| bool kick::SDL2Context::tick | ( | ) |
< The application is being terminated by the OS Called on iOS in applicationWillTerminate() Called on Android in onDestroy()
< The application is low on memory, free memory if possible. Called on iOS in applicationDidReceiveMemoryWarning() Called on Android in onLowMemory()
< The application is about to enter the background Called on iOS in applicationWillResignActive() Called on Android in onPause()
< The application did enter the background and may not get CPU for some time Called on iOS in applicationDidEnterBackground() Called on Android in onPause()
< The application is about to enter the foreground Called on iOS in applicationWillEnterForeground() Called on Android in onResume()
< The application is now interactive Called on iOS in applicationDidBecomeActive() Called on Android in onResume()
< System specific event
< Keyboard text editing (composition)
< The system requests a file open
Definition at line 171 of file sdl2_context.cpp.
1.7.4