Cinder  0.9.1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
cinder::app::WindowImplWinRt Class Reference

#include <WindowImplWinRt.h>

Public Member Functions

 WindowImplWinRt (Windows::UI::Core::CoreWindow^wnd, RendererRef renderer, AppWinRt *app)
 
bool isFullScreen ()
 
void setFullScreen (bool fullScreen, const FullScreenOptions &options)
 
ivec2 getSize () const
 
void setSize (const ivec2 &size)
 
ivec2 getPos () const
 
void setPos (const ivec2 &pos)
 
void close ()
 
std::string getTitle () const
 
void setTitle (const std::string &title)
 
void hide ()
 
void show ()
 
bool isHidden () const
 
DisplayRef getDisplay () const
 
RendererRef getRenderer () const
 
const std::vector< TouchEvent::Touch > & getActiveTouches () const
 
void * getNative ()
 
::Platform::Agile< Windows::UI::Core::CoreWindow > getNativeCoreWindow ()
 
void enableMultiTouch ()
 
bool isBorderless () const
 
void setBorderless (bool borderless)
 
bool isAlwaysOnTop () const
 
void setAlwaysOnTop (bool alwaysOnTop)
 
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 ivec2 &windowSize, const std::string &title)
 
void completeCreation ()
 
void getScreenSize (int clientWidth, int clientHeight, int *resultWidth, int *resultHeight)
 
void toggleFullScreen ()
 
void sizeChanged ()
 
void handlePointerDown (Windows::UI::Core::PointerEventArgs^args)
 
void handlePointerMoved (Windows::UI::Core::PointerEventArgs^args)
 
void handlePointerUp (Windows::UI::Core::PointerEventArgs^args)
 
void handleTouchDown (Windows::UI::Core::PointerEventArgs^args)
 
void handleMouseDown (Windows::UI::Core::PointerEventArgs^args)
 
void handleTouchMoved (Windows::UI::Core::PointerEventArgs^args)
 
void handleMouseMoved (Windows::UI::Core::PointerEventArgs^args)
 
void handleTouchUp (Windows::UI::Core::PointerEventArgs^args)
 
void handleMouseUp (Windows::UI::Core::PointerEventArgs^args)
 
void updateActiveTouches ()
 
unsigned int prepKeyEventModifiers () const
 
void handleKeyDown (Windows::UI::Core::KeyEventArgs^args)
 
void handleKeyUp (Windows::UI::Core::KeyEventArgs^args)
 

Static Protected Member Functions

static void registerWindowClass ()
 

Protected Attributes

AppWinRtmApp
 
WindowRef mWindowRef
 
::Platform::Agile< Windows::UI::Core::CoreWindow > mWnd
 
ivec2 mWindowOffset
 
bool mHidden
 
int mWindowWidth
 
int mWindowHeight
 
bool mFullScreen
 
bool mBorderless
 
bool mAlwaysOnTop
 
bool mResizable
 
ivec2 mWindowedPos
 
ivec2 mWindowedSize
 
std::string mTitle
 
DisplayRef mDisplay
 
RendererRef mRenderer
 
bool mIsDragging
 
bool mIsMultiTouchEnabled
 
std::map< DWORD, vec2 > mMultiTouchPrev
 
std::map< DWORD, DWORD > mTouchIds
 
std::vector< TouchEvent::TouchmActiveTouches
 
DWORD mTouchId
 
bool mControlKeyPressed
 
bool mShiftKeyPressed
 
bool mAltKeyPressed
 
friend AppWinRt
 

Constructor & Destructor Documentation

cinder::app::WindowImplWinRt::WindowImplWinRt ( Windows::UI::Core::CoreWindow^  wnd,
RendererRef  renderer,
AppWinRt app 
)

Member Function Documentation

bool cinder::app::WindowImplWinRt::isFullScreen ( )
void cinder::app::WindowImplWinRt::setFullScreen ( bool  fullScreen,
const FullScreenOptions options 
)
ivec2 cinder::app::WindowImplWinRt::getSize ( ) const
void cinder::app::WindowImplWinRt::setSize ( const ivec2 &  size)
ivec2 cinder::app::WindowImplWinRt::getPos ( ) const
void cinder::app::WindowImplWinRt::setPos ( const ivec2 &  pos)
void cinder::app::WindowImplWinRt::close ( )
std::string cinder::app::WindowImplWinRt::getTitle ( ) const
void cinder::app::WindowImplWinRt::setTitle ( const std::string &  title)
void cinder::app::WindowImplWinRt::hide ( )
void cinder::app::WindowImplWinRt::show ( )
bool cinder::app::WindowImplWinRt::isHidden ( ) const
DisplayRef cinder::app::WindowImplWinRt::getDisplay ( ) const
RendererRef cinder::app::WindowImplWinRt::getRenderer ( ) const
const std::vector<TouchEvent::Touch>& cinder::app::WindowImplWinRt::getActiveTouches ( ) const
void* cinder::app::WindowImplWinRt::getNative ( )
::Platform::Agile<Windows::UI::Core::CoreWindow> cinder::app::WindowImplWinRt::getNativeCoreWindow ( )
void cinder::app::WindowImplWinRt::enableMultiTouch ( )
bool cinder::app::WindowImplWinRt::isBorderless ( ) const
void cinder::app::WindowImplWinRt::setBorderless ( bool  borderless)
bool cinder::app::WindowImplWinRt::isAlwaysOnTop ( ) const
void cinder::app::WindowImplWinRt::setAlwaysOnTop ( bool  alwaysOnTop)
WindowRef cinder::app::WindowImplWinRt::getWindow ( )
void cinder::app::WindowImplWinRt::keyDown ( const KeyEvent event)
virtual
void cinder::app::WindowImplWinRt::draw ( )
virtual
void cinder::app::WindowImplWinRt::redraw ( )
virtual
void cinder::app::WindowImplWinRt::resize ( )
virtual
void cinder::app::WindowImplWinRt::privateClose ( )
void cinder::app::WindowImplWinRt::createWindow ( const ivec2 &  windowSize,
const std::string &  title 
)
protected
void cinder::app::WindowImplWinRt::completeCreation ( )
protected
static void cinder::app::WindowImplWinRt::registerWindowClass ( )
staticprotected
void cinder::app::WindowImplWinRt::getScreenSize ( int  clientWidth,
int  clientHeight,
int *  resultWidth,
int *  resultHeight 
)
protected
void cinder::app::WindowImplWinRt::toggleFullScreen ( )
protected
void cinder::app::WindowImplWinRt::sizeChanged ( )
protected
void cinder::app::WindowImplWinRt::handlePointerDown ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handlePointerMoved ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handlePointerUp ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleTouchDown ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleMouseDown ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleTouchMoved ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleMouseMoved ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleTouchUp ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleMouseUp ( Windows::UI::Core::PointerEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::updateActiveTouches ( )
protected
unsigned int cinder::app::WindowImplWinRt::prepKeyEventModifiers ( ) const
protected
void cinder::app::WindowImplWinRt::handleKeyDown ( Windows::UI::Core::KeyEventArgs^  args)
protected
void cinder::app::WindowImplWinRt::handleKeyUp ( Windows::UI::Core::KeyEventArgs^  args)
protected

Member Data Documentation

AppWinRt* cinder::app::WindowImplWinRt::mApp
protected
WindowRef cinder::app::WindowImplWinRt::mWindowRef
protected
::Platform::Agile<Windows::UI::Core::CoreWindow> cinder::app::WindowImplWinRt::mWnd
protected
ivec2 cinder::app::WindowImplWinRt::mWindowOffset
protected
bool cinder::app::WindowImplWinRt::mHidden
protected
int cinder::app::WindowImplWinRt::mWindowWidth
protected
int cinder::app::WindowImplWinRt::mWindowHeight
protected
bool cinder::app::WindowImplWinRt::mFullScreen
protected
bool cinder::app::WindowImplWinRt::mBorderless
protected
bool cinder::app::WindowImplWinRt::mAlwaysOnTop
protected
bool cinder::app::WindowImplWinRt::mResizable
protected
ivec2 cinder::app::WindowImplWinRt::mWindowedPos
protected
ivec2 cinder::app::WindowImplWinRt::mWindowedSize
protected
std::string cinder::app::WindowImplWinRt::mTitle
protected
DisplayRef cinder::app::WindowImplWinRt::mDisplay
protected
RendererRef cinder::app::WindowImplWinRt::mRenderer
protected
bool cinder::app::WindowImplWinRt::mIsDragging
protected
bool cinder::app::WindowImplWinRt::mIsMultiTouchEnabled
protected
std::map<DWORD,vec2> cinder::app::WindowImplWinRt::mMultiTouchPrev
protected
std::map<DWORD,DWORD> cinder::app::WindowImplWinRt::mTouchIds
protected
std::vector<TouchEvent::Touch> cinder::app::WindowImplWinRt::mActiveTouches
protected
DWORD cinder::app::WindowImplWinRt::mTouchId
protected
bool cinder::app::WindowImplWinRt::mControlKeyPressed
protected
bool cinder::app::WindowImplWinRt::mShiftKeyPressed
protected
bool cinder::app::WindowImplWinRt::mAltKeyPressed
protected
friend cinder::app::WindowImplWinRt::AppWinRt
protected

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