#include <AppImplMsw.h>
Inherited by cinder::app::AppImplMswBasic, and cinder::app::AppImplMswScreenSaver.
Public Member Functions | |
AppImplMsw (class App *aApp) | |
virtual | ~AppImplMsw () |
int | getWindowWidth () const |
int | getWindowHeight () const |
virtual void | setWindowWidth (int aWindowWidth) |
virtual void | setWindowHeight (int aWindowHeight) |
virtual void | setWindowSize (int aWindowWidth, int aWindowHeight) |
float | getFrameRate () const |
virtual float | setFrameRate (float aFrameRate) |
bool | isFullScreen () const |
virtual void | toggleFullScreen () |
virtual Vec2i | mouseLocation () |
virtual void | quit ()=0 |
virtual void | privateSetWindowOffset__ (const Vec2i &aWindowOffset) |
Static Public Member Functions | |
static void | hideCursor () |
static void | showCursor () |
static Buffer | loadResource (int id, const std::string &type) |
static std::string | getAppPath () |
static std::string | getOpenFilePath (const std::string &initialPath, std::vector< std::string > extensions) |
static std::string | getSaveFilePath (const std::string &initialPath, std::vector< std::string > extensions) |
Protected Attributes | |
class App * | mApp |
int | mWindowWidth |
int | mWindowHeight |
bool | mFullScreen |
Vec2i | mWindowOffset |
float | mFrameRate |
cinder::app::AppImplMsw::AppImplMsw | ( | class App * | aApp | ) |
virtual cinder::app::AppImplMsw::~AppImplMsw | ( | ) | [virtual] |
int cinder::app::AppImplMsw::getWindowWidth | ( | ) | const |
int cinder::app::AppImplMsw::getWindowHeight | ( | ) | const |
virtual void cinder::app::AppImplMsw::setWindowWidth | ( | int | aWindowWidth | ) | [virtual] |
Reimplemented in cinder::app::AppImplMswBasic.
virtual void cinder::app::AppImplMsw::setWindowHeight | ( | int | aWindowHeight | ) | [virtual] |
Reimplemented in cinder::app::AppImplMswBasic.
virtual void cinder::app::AppImplMsw::setWindowSize | ( | int | aWindowWidth, | |
int | aWindowHeight | |||
) | [virtual] |
Reimplemented in cinder::app::AppImplMswBasic.
float cinder::app::AppImplMsw::getFrameRate | ( | ) | const |
virtual float cinder::app::AppImplMsw::setFrameRate | ( | float | aFrameRate | ) | [virtual] |
Reimplemented in cinder::app::AppImplMswBasic.
bool cinder::app::AppImplMsw::isFullScreen | ( | ) | const |
virtual void cinder::app::AppImplMsw::toggleFullScreen | ( | ) | [virtual] |
Reimplemented in cinder::app::AppImplMswBasic.
Vec2i cinder::app::AppImplMsw::mouseLocation | ( | ) | [virtual] |
virtual void cinder::app::AppImplMsw::quit | ( | ) | [pure virtual] |
Implemented in cinder::app::AppImplMswBasic, and cinder::app::AppImplMswScreenSaver.
virtual void cinder::app::AppImplMsw::privateSetWindowOffset__ | ( | const Vec2i & | aWindowOffset | ) | [virtual] |
void cinder::app::AppImplMsw::hideCursor | ( | ) | [static] |
void cinder::app::AppImplMsw::showCursor | ( | ) | [static] |
Buffer cinder::app::AppImplMsw::loadResource | ( | int | id, | |
const std::string & | type | |||
) | [static] |
std::string cinder::app::AppImplMsw::getAppPath | ( | ) | [static] |
string cinder::app::AppImplMsw::getOpenFilePath | ( | const std::string & | initialPath, | |
std::vector< std::string > | extensions | |||
) | [static] |
string cinder::app::AppImplMsw::getSaveFilePath | ( | const std::string & | initialPath, | |
std::vector< std::string > | extensions | |||
) | [static] |
class App* cinder::app::AppImplMsw::mApp [protected] |
Reimplemented in cinder::app::AppImplMswBasic, and cinder::app::AppImplMswScreenSaver.
int cinder::app::AppImplMsw::mWindowWidth [protected] |
int cinder::app::AppImplMsw::mWindowHeight [protected] |
bool cinder::app::AppImplMsw::mFullScreen [protected] |
Vec2i cinder::app::AppImplMsw::mWindowOffset [protected] |
float cinder::app::AppImplMsw::mFrameRate [protected] |