#include <AppImplMswScreenSaver.h>
Inherits cinder::app::AppImplMsw.
Public Member Functions | |
| AppImplMswScreenSaver (class AppScreenSaver *aApp) | |
| virtual | ~AppImplMswScreenSaver () |
| void | init (HWND aWnd) |
| void | run () |
| void | quit () |
| LRESULT | eventHandler (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
| virtual WindowRef | getWindow () const |
| virtual size_t | getNumWindows () const |
| Returns the number of Windows the app has open. | |
| virtual WindowRef | getWindowIndex (size_t index) const |
| Gets a Window by index, in the range [0, getNumWindows()). | |
| bool | isPreview () const |
| virtual void | closeWindow (class WindowImplMsw *windowImpl) |
| virtual void | setForegroundWindow (WindowRef window) |
| class App * | getApp () |
| float | getFrameRate () const |
| virtual float | setFrameRate (float aFrameRate) |
| void | setWindow (WindowRef window) |
Static Public Member Functions | |
| static void | hideCursor () |
| static void | showCursor () |
| static Buffer | loadResource (int id, const std::string &type) |
| static fs::path | getAppPath () |
| static fs::path | getOpenFilePath (const fs::path &initialPath, std::vector< std::string > extensions) |
| static fs::path | getSaveFilePath (const fs::path &initialPath, std::vector< std::string > extensions) |
| static fs::path | getFolderPath (const fs::path &initialPath) |
Protected Member Functions | |
| bool | setupHasBeenCalled () const |
Protected Attributes | |
| class AppScreenSaver * | mApp |
| bool | mPreview |
| bool | mDebugMode |
| std::list < WindowImplMswScreenSaver * > | mWindows |
| std::list< BlankingWindowRef > | mBlankingWindows |
| float | mFrameRate |
| WindowRef | mActiveWindow |
| bool | mSetupHasBeenCalled |
| ULONG_PTR | mGdiplusToken |
Friends | |
| class | WindowImplMsw |
| LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
| cinder::app::AppImplMswScreenSaver::AppImplMswScreenSaver | ( | class AppScreenSaver * | aApp | ) |
| virtual cinder::app::AppImplMswScreenSaver::~AppImplMswScreenSaver | ( | ) | [virtual] |
| void cinder::app::AppImplMswScreenSaver::init | ( | HWND | aWnd | ) |
| void cinder::app::AppImplMswScreenSaver::quit | ( | ) | [virtual] |
Implements cinder::app::AppImplMsw.
| LRESULT cinder::app::AppImplMswScreenSaver::eventHandler | ( | HWND | hWnd, |
| UINT | message, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
| WindowRef cinder::app::AppImplMswScreenSaver::getWindow | ( | ) | const [virtual] |
Reimplemented from cinder::app::AppImplMsw.
| size_t cinder::app::AppImplMswScreenSaver::getNumWindows | ( | ) | const [virtual] |
Returns the number of Windows the app has open.
| WindowRef cinder::app::AppImplMswScreenSaver::getWindowIndex | ( | size_t | index | ) | const [virtual] |
Gets a Window by index, in the range [0, getNumWindows()).
| bool cinder::app::AppImplMswScreenSaver::isPreview | ( | ) | const |
| virtual void cinder::app::AppImplMswScreenSaver::closeWindow | ( | class WindowImplMsw * | windowImpl | ) | [virtual] |
Implements cinder::app::AppImplMsw.
| virtual void cinder::app::AppImplMswScreenSaver::setForegroundWindow | ( | WindowRef | window | ) | [virtual] |
Implements cinder::app::AppImplMsw.
| class App* cinder::app::AppImplMsw::getApp | ( | ) | [inherited] |
Reimplemented in cinder::app::AppImplMswBasic.
| float cinder::app::AppImplMsw::getFrameRate | ( | ) | const [inherited] |
| virtual float cinder::app::AppImplMsw::setFrameRate | ( | float | aFrameRate | ) | [virtual, inherited] |
Reimplemented in cinder::app::AppImplMswBasic.
| void cinder::app::AppImplMsw::setWindow | ( | WindowRef | window | ) | [inherited] |
| void cinder::app::AppImplMsw::hideCursor | ( | ) | [static, inherited] |
| void cinder::app::AppImplMsw::showCursor | ( | ) | [static, inherited] |
| Buffer cinder::app::AppImplMsw::loadResource | ( | int | id, |
| const std::string & | type | ||
| ) | [static, inherited] |
| fs::path cinder::app::AppImplMsw::getAppPath | ( | ) | [static, inherited] |
| fs::path cinder::app::AppImplMsw::getOpenFilePath | ( | const fs::path & | initialPath, |
| std::vector< std::string > | extensions | ||
| ) | [static, inherited] |
| fs::path cinder::app::AppImplMsw::getSaveFilePath | ( | const fs::path & | initialPath, |
| std::vector< std::string > | extensions | ||
| ) | [static, inherited] |
| fs::path cinder::app::AppImplMsw::getFolderPath | ( | const fs::path & | initialPath | ) | [static, inherited] |
| bool cinder::app::AppImplMsw::setupHasBeenCalled | ( | ) | const [protected, inherited] |
friend class WindowImplMsw [friend, inherited] |
| LRESULT CALLBACK WndProc | ( | HWND | mWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) | [friend, inherited] |
Reimplemented in cinder::app::AppImplMswBasic.
class AppScreenSaver* cinder::app::AppImplMswScreenSaver::mApp [protected] |
Reimplemented from cinder::app::AppImplMsw.
bool cinder::app::AppImplMswScreenSaver::mPreview [protected] |
bool cinder::app::AppImplMswScreenSaver::mDebugMode [protected] |
std::list<WindowImplMswScreenSaver*> cinder::app::AppImplMswScreenSaver::mWindows [protected] |
std::list<BlankingWindowRef> cinder::app::AppImplMswScreenSaver::mBlankingWindows [protected] |
float cinder::app::AppImplMsw::mFrameRate [protected, inherited] |
WindowRef cinder::app::AppImplMsw::mActiveWindow [protected, inherited] |
bool cinder::app::AppImplMsw::mSetupHasBeenCalled [protected, inherited] |
ULONG_PTR cinder::app::AppImplMsw::mGdiplusToken [protected, inherited] |