#include <AppImplMsw.h>
Inherited by cinder::app::WindowImplMswBasic, and cinder::app::WindowImplMswScreenSaver.
Public Member Functions | |
| WindowImplMsw (const Window::Format &format, RendererRef sharedRenderer, AppImplMsw *appImpl) | |
| WindowImplMsw (HWND hwnd, RendererRef renderer, RendererRef sharedRenderer, AppImplMsw *appImpl) | |
| virtual | ~WindowImplMsw () |
| virtual bool | isFullScreen () |
| virtual void | setFullScreen (bool fullScreen, const app::FullScreenOptions &options) |
| virtual Vec2i | getSize () const |
| virtual void | setSize (const Vec2i &size) |
| virtual Vec2i | getPos () const |
| virtual void | setPos (const Vec2i &pos) |
| virtual void | close () |
| virtual std::string | getTitle () const |
| virtual void | setTitle (const std::string &title) |
| virtual void | hide () |
| virtual void | show () |
| virtual bool | isHidden () const |
| virtual DisplayRef | getDisplay () const |
| virtual RendererRef | getRenderer () const |
| virtual const std::vector < TouchEvent::Touch > & | getActiveTouches () const |
| virtual void * | getNative () |
| void | enableMultiTouch () |
| bool | isBorderless () const |
| void | setBorderless (bool borderless) |
| bool | isAlwaysOnTop () const |
| void | setAlwaysOnTop (bool alwaysOnTop) |
| AppImplMsw * | getAppImpl () |
| WindowRef | getWindow () |
| virtual void | keyDown (const KeyEvent &event) |
| virtual void | draw () |
| virtual void | redraw () |
| virtual void | resize () |
| void | privateClose () |
Protected Member Functions | |
| void | createWindow (const Vec2i &windowSize, const std::string &title, DisplayRef display, RendererRef sharedRenderer) |
| void | completeCreation () |
| void | getScreenSize (int clientWidth, int clientHeight, int *resultWidth, int *resultHeight) |
| void | onTouch (HWND hWnd, WPARAM wParam, LPARAM lParam) |
| virtual void | toggleFullScreen (const app::FullScreenOptions &options) |
Static Protected Member Functions | |
| static void | registerWindowClass () |
Protected Attributes | |
| AppImplMsw * | mAppImpl |
| WindowRef | mWindowRef |
| HWND | mWnd |
| HDC | mDC |
| DWORD | mWindowStyle |
| DWORD | mWindowExStyle |
| Vec2i | mWindowOffset |
| bool | mHidden |
| int | mWindowWidth |
| int | mWindowHeight |
| bool | mFullScreen |
| bool | mBorderless |
| bool | mAlwaysOnTop |
| bool | mResizable |
| Vec2i | mWindowedPos |
| Vec2i | mWindowedSize |
| DisplayRef | mDisplay |
| RendererRef | mRenderer |
| std::map< DWORD, Vec2f > | mMultiTouchPrev |
| std::vector< TouchEvent::Touch > | mActiveTouches |
| bool | mIsDragging |
| friend | AppImplMsw |
Friends | |
| LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
| cinder::app::WindowImplMsw::WindowImplMsw | ( | const Window::Format & | format, |
| RendererRef | sharedRenderer, | ||
| AppImplMsw * | appImpl | ||
| ) |
| cinder::app::WindowImplMsw::WindowImplMsw | ( | HWND | hwnd, |
| RendererRef | renderer, | ||
| RendererRef | sharedRenderer, | ||
| AppImplMsw * | appImpl | ||
| ) |
| virtual cinder::app::WindowImplMsw::~WindowImplMsw | ( | ) | [virtual] |
| virtual bool cinder::app::WindowImplMsw::isFullScreen | ( | ) | [virtual] |
| void cinder::app::WindowImplMsw::setFullScreen | ( | bool | fullScreen, |
| const app::FullScreenOptions & | options | ||
| ) | [virtual] |
Reimplemented in cinder::app::WindowImplMswScreenSaver.
| virtual Vec2i cinder::app::WindowImplMsw::getSize | ( | ) | const [virtual] |
| void cinder::app::WindowImplMsw::setSize | ( | const Vec2i & | size | ) | [virtual] |
| virtual Vec2i cinder::app::WindowImplMsw::getPos | ( | ) | const [virtual] |
| void cinder::app::WindowImplMsw::setPos | ( | const Vec2i & | pos | ) | [virtual] |
| void cinder::app::WindowImplMsw::close | ( | ) | [virtual] |
| std::string cinder::app::WindowImplMsw::getTitle | ( | ) | const [virtual] |
| void cinder::app::WindowImplMsw::setTitle | ( | const std::string & | title | ) | [virtual] |
| void cinder::app::WindowImplMsw::hide | ( | ) | [virtual] |
| void cinder::app::WindowImplMsw::show | ( | ) | [virtual] |
| bool cinder::app::WindowImplMsw::isHidden | ( | ) | const [virtual] |
| virtual DisplayRef cinder::app::WindowImplMsw::getDisplay | ( | ) | const [virtual] |
| virtual RendererRef cinder::app::WindowImplMsw::getRenderer | ( | ) | const [virtual] |
| virtual const std::vector<TouchEvent::Touch>& cinder::app::WindowImplMsw::getActiveTouches | ( | ) | const [virtual] |
| virtual void* cinder::app::WindowImplMsw::getNative | ( | ) | [virtual] |
| bool cinder::app::WindowImplMsw::isBorderless | ( | ) | const |
| void cinder::app::WindowImplMsw::setBorderless | ( | bool | borderless | ) |
| bool cinder::app::WindowImplMsw::isAlwaysOnTop | ( | ) | const |
| void cinder::app::WindowImplMsw::setAlwaysOnTop | ( | bool | alwaysOnTop | ) |
| void cinder::app::WindowImplMsw::keyDown | ( | const KeyEvent & | event | ) | [virtual] |
| void cinder::app::WindowImplMsw::draw | ( | ) | [virtual] |
| void cinder::app::WindowImplMsw::redraw | ( | ) | [virtual] |
| void cinder::app::WindowImplMsw::resize | ( | ) | [virtual] |
| void cinder::app::WindowImplMsw::createWindow | ( | const Vec2i & | windowSize, |
| const std::string & | title, | ||
| DisplayRef | display, | ||
| RendererRef | sharedRenderer | ||
| ) | [protected] |
| void cinder::app::WindowImplMsw::completeCreation | ( | ) | [protected] |
| void cinder::app::WindowImplMsw::registerWindowClass | ( | ) | [static, protected] |
| void cinder::app::WindowImplMsw::getScreenSize | ( | int | clientWidth, |
| int | clientHeight, | ||
| int * | resultWidth, | ||
| int * | resultHeight | ||
| ) | [protected] |
| void cinder::app::WindowImplMsw::onTouch | ( | HWND | hWnd, |
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) | [protected] |
| void cinder::app::WindowImplMsw::toggleFullScreen | ( | const app::FullScreenOptions & | options | ) | [protected, virtual] |
| LRESULT CALLBACK WndProc | ( | HWND | mWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) | [friend] |
AppImplMsw* cinder::app::WindowImplMsw::mAppImpl [protected] |
WindowRef cinder::app::WindowImplMsw::mWindowRef [protected] |
HWND cinder::app::WindowImplMsw::mWnd [protected] |
HDC cinder::app::WindowImplMsw::mDC [protected] |
DWORD cinder::app::WindowImplMsw::mWindowStyle [protected] |
DWORD cinder::app::WindowImplMsw::mWindowExStyle [protected] |
Vec2i cinder::app::WindowImplMsw::mWindowOffset [protected] |
bool cinder::app::WindowImplMsw::mHidden [protected] |
int cinder::app::WindowImplMsw::mWindowWidth [protected] |
int cinder::app::WindowImplMsw::mWindowHeight [protected] |
bool cinder::app::WindowImplMsw::mFullScreen [protected] |
bool cinder::app::WindowImplMsw::mBorderless [protected] |
bool cinder::app::WindowImplMsw::mAlwaysOnTop [protected] |
bool cinder::app::WindowImplMsw::mResizable [protected] |
Vec2i cinder::app::WindowImplMsw::mWindowedPos [protected] |
Vec2i cinder::app::WindowImplMsw::mWindowedSize [protected] |
DisplayRef cinder::app::WindowImplMsw::mDisplay [protected] |
RendererRef cinder::app::WindowImplMsw::mRenderer [protected] |
std::map<DWORD,Vec2f> cinder::app::WindowImplMsw::mMultiTouchPrev [protected] |
std::vector<TouchEvent::Touch> cinder::app::WindowImplMsw::mActiveTouches [protected] |
bool cinder::app::WindowImplMsw::mIsDragging [protected] |
friend cinder::app::WindowImplMsw::AppImplMsw [protected] |