#include <AppImplMswBasic.h>
Inherits cinder::app::AppImplMsw.
Public Member Functions | |
AppImplMswBasic (class AppBasic *aApp) | |
void | run () |
class AppBasic * | getApp () |
void | quit () |
void | setWindowPos (const Vec2i &aWindowPos) |
void | setWindowWidth (int aWindowWidth) |
void | setWindowHeight (int aWindowHeight) |
void | setWindowSize (int aWindowWidth, int aWindowHeight) |
float | setFrameRate (float aFrameRate) |
void | toggleFullScreen () |
void | setBorderless (bool borderless) |
void | setAlwaysOnTop (bool alwaysOnTop) |
std::string | getAppPath () const |
Display * | getDisplay () |
Vec2i | getWindowPos () const |
int | getWindowWidth () const |
int | getWindowHeight () const |
float | getFrameRate () const |
bool | isFullScreen () const |
bool | isBorderless () const |
bool | isAlwaysOnTop () const |
virtual Vec2i | mouseLocation () |
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 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 | |
void | sleep (double seconds) |
bool | createWindow (int *width, int *height) |
void | killWindow (bool wasFullScreen) |
void | enableMultiTouch () |
void | getScreenSize (int clientWidth, int clientHeight, int *resultWidth, int *resultHeight) |
void | onTouch (HWND hWnd, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
bool | mShouldQuit |
bool | mIsDragging |
bool | mHasBeenInitialized |
class AppBasic * | mApp |
HWND | mWnd |
HDC | mDC |
HINSTANCE | mInstance |
DWORD | mWindowStyle |
DWORD | mWindowExStyle |
Vec2i | mWindowedPos |
double | mNextFrameTime |
Display * | mDisplay |
std::map< DWORD, Vec2f > | mMultiTouchPrev |
int | mWindowWidth |
int | mWindowHeight |
bool | mFullScreen |
bool | mBorderless |
bool | mAlwaysOnTop |
Vec2i | mWindowOffset |
float | mFrameRate |
ULONG_PTR | mGdiplusToken |
Friends | |
LRESULT CALLBACK | WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
cinder::app::AppImplMswBasic::AppImplMswBasic | ( | class AppBasic * | aApp | ) |
void cinder::app::AppImplMswBasic::run | ( | ) |
class AppBasic* cinder::app::AppImplMswBasic::getApp | ( | ) |
void cinder::app::AppImplMswBasic::quit | ( | ) | [virtual] |
Implements cinder::app::AppImplMsw.
void cinder::app::AppImplMswBasic::setWindowPos | ( | const Vec2i & | aWindowPos | ) |
void cinder::app::AppImplMswBasic::setWindowWidth | ( | int | aWindowWidth | ) | [virtual] |
Reimplemented from cinder::app::AppImplMsw.
void cinder::app::AppImplMswBasic::setWindowHeight | ( | int | aWindowHeight | ) | [virtual] |
Reimplemented from cinder::app::AppImplMsw.
void cinder::app::AppImplMswBasic::setWindowSize | ( | int | aWindowWidth, |
int | aWindowHeight | ||
) | [virtual] |
Reimplemented from cinder::app::AppImplMsw.
float cinder::app::AppImplMswBasic::setFrameRate | ( | float | aFrameRate | ) | [virtual] |
Reimplemented from cinder::app::AppImplMsw.
void cinder::app::AppImplMswBasic::toggleFullScreen | ( | ) | [virtual] |
Reimplemented from cinder::app::AppImplMsw.
void cinder::app::AppImplMswBasic::setBorderless | ( | bool | borderless | ) |
void cinder::app::AppImplMswBasic::setAlwaysOnTop | ( | bool | alwaysOnTop | ) |
std::string cinder::app::AppImplMswBasic::getAppPath | ( | ) | const |
void cinder::app::AppImplMswBasic::sleep | ( | double | seconds | ) | [protected] |
bool cinder::app::AppImplMswBasic::createWindow | ( | int * | width, |
int * | height | ||
) | [protected] |
void cinder::app::AppImplMswBasic::killWindow | ( | bool | wasFullScreen | ) | [protected] |
void cinder::app::AppImplMswBasic::enableMultiTouch | ( | ) | [protected] |
void cinder::app::AppImplMswBasic::getScreenSize | ( | int | clientWidth, |
int | clientHeight, | ||
int * | resultWidth, | ||
int * | resultHeight | ||
) | [protected] |
void cinder::app::AppImplMswBasic::onTouch | ( | HWND | hWnd, |
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [protected] |
Vec2i cinder::app::AppImplMsw::getWindowPos | ( | ) | const [inherited] |
int cinder::app::AppImplMsw::getWindowWidth | ( | ) | const [inherited] |
int cinder::app::AppImplMsw::getWindowHeight | ( | ) | const [inherited] |
float cinder::app::AppImplMsw::getFrameRate | ( | ) | const [inherited] |
bool cinder::app::AppImplMsw::isFullScreen | ( | ) | const [inherited] |
bool cinder::app::AppImplMsw::isBorderless | ( | ) | const [inherited] |
bool cinder::app::AppImplMsw::isAlwaysOnTop | ( | ) | const [inherited] |
Vec2i cinder::app::AppImplMsw::mouseLocation | ( | ) | [virtual, inherited] |
virtual void cinder::app::AppImplMsw::privateSetWindowOffset__ | ( | const Vec2i & | aWindowOffset | ) | [virtual, 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] |
LRESULT CALLBACK WndProc | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [friend] |
bool cinder::app::AppImplMswBasic::mShouldQuit [protected] |
bool cinder::app::AppImplMswBasic::mIsDragging [protected] |
bool cinder::app::AppImplMswBasic::mHasBeenInitialized [protected] |
class AppBasic* cinder::app::AppImplMswBasic::mApp [protected] |
Reimplemented from cinder::app::AppImplMsw.
HWND cinder::app::AppImplMswBasic::mWnd [protected] |
HDC cinder::app::AppImplMswBasic::mDC [protected] |
HINSTANCE cinder::app::AppImplMswBasic::mInstance [protected] |
DWORD cinder::app::AppImplMswBasic::mWindowStyle [protected] |
DWORD cinder::app::AppImplMswBasic::mWindowExStyle [protected] |
Vec2i cinder::app::AppImplMswBasic::mWindowedPos [protected] |
double cinder::app::AppImplMswBasic::mNextFrameTime [protected] |
Display* cinder::app::AppImplMswBasic::mDisplay [protected] |
std::map<DWORD,Vec2f> cinder::app::AppImplMswBasic::mMultiTouchPrev [protected] |
int cinder::app::AppImplMsw::mWindowWidth [protected, inherited] |
int cinder::app::AppImplMsw::mWindowHeight [protected, inherited] |
bool cinder::app::AppImplMsw::mFullScreen [protected, inherited] |
bool cinder::app::AppImplMsw::mBorderless [protected, inherited] |
bool cinder::app::AppImplMsw::mAlwaysOnTop [protected, inherited] |
Vec2i cinder::app::AppImplMsw::mWindowOffset [protected, inherited] |
float cinder::app::AppImplMsw::mFrameRate [protected, inherited] |
ULONG_PTR cinder::app::AppImplMsw::mGdiplusToken [protected, inherited] |