Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
cinder::app::WindowImplMsw Class Reference

#include <AppImplMsw.h>

Inheritance diagram for cinder::app::WindowImplMsw:
[legend]

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 voidgetNative ()
 
void enableMultiTouch ()
 
bool isBorderless () const
 
void setBorderless (bool borderless)
 
bool isAlwaysOnTop () const
 
void setAlwaysOnTop (bool alwaysOnTop)
 
AppImplMswgetAppImpl ()
 
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

AppImplMswmAppImpl
 
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, Vec2fmMultiTouchPrev
 
std::vector< TouchEvent::TouchmActiveTouches
 
bool mIsDragging
 
friend AppImplMsw
 

Friends

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM)
 

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool cinder::app::WindowImplMsw::isFullScreen ( )
virtual
void cinder::app::WindowImplMsw::setFullScreen ( bool  fullScreen,
const app::FullScreenOptions options 
)
virtual
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
void cinder::app::WindowImplMsw::enableMultiTouch ( )
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)
AppImplMsw* cinder::app::WindowImplMsw::getAppImpl ( )
WindowRef cinder::app::WindowImplMsw::getWindow ( )
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::privateClose ( )
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 ( )
staticprotected
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)
protectedvirtual

Friends And Related Function Documentation

LRESULT CALLBACK WndProc ( HWND  mWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
friend

Member Data Documentation

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

The documentation for this class was generated from the following files: