Public Member Functions | Static Public Member Functions | Protected Attributes
cinder::app::AppImplMswScreenSaver Class Reference

#include <AppImplMswScreenSaver.h>

Inherits cinder::app::AppImplMsw.

List of all members.

Public Member Functions

 AppImplMswScreenSaver (class AppScreenSaver *aApp, HWND aWnd)
virtual ~AppImplMswScreenSaver ()
void run ()
void quit ()
double getElapsedSeconds () const
LRESULT eventHandler (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
Vec2i getWindowPos () const
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 ()
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 Attributes

class AppScreenSaver * mApp
HWND mWnd
HDC mDC
int mWindowWidth
int mWindowHeight
bool mFullScreen
bool mBorderless
bool mAlwaysOnTop
Vec2i mWindowOffset
float mFrameRate
ULONG_PTR mGdiplusToken

Constructor & Destructor Documentation

cinder::app::AppImplMswScreenSaver::AppImplMswScreenSaver ( class AppScreenSaver *  aApp,
HWND  aWnd 
)

Member Function Documentation

LRESULT cinder::app::AppImplMswScreenSaver::eventHandler ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
int cinder::app::AppImplMsw::getWindowWidth ( ) const [inherited]
int cinder::app::AppImplMsw::getWindowHeight ( ) const [inherited]
virtual void cinder::app::AppImplMsw::setWindowWidth ( int  aWindowWidth) [virtual, inherited]

Reimplemented in cinder::app::AppImplMswBasic.

virtual void cinder::app::AppImplMsw::setWindowHeight ( int  aWindowHeight) [virtual, inherited]

Reimplemented in cinder::app::AppImplMswBasic.

virtual void cinder::app::AppImplMsw::setWindowSize ( int  aWindowWidth,
int  aWindowHeight 
) [virtual, inherited]

Reimplemented in cinder::app::AppImplMswBasic.

float cinder::app::AppImplMsw::getFrameRate ( ) const [inherited]
virtual float cinder::app::AppImplMsw::setFrameRate ( float  aFrameRate) [virtual, inherited]

Reimplemented in cinder::app::AppImplMswBasic.

bool cinder::app::AppImplMsw::isFullScreen ( ) const [inherited]
virtual void cinder::app::AppImplMsw::toggleFullScreen ( ) [virtual, inherited]

Reimplemented in cinder::app::AppImplMswBasic.

bool cinder::app::AppImplMsw::isBorderless ( ) const [inherited]
bool cinder::app::AppImplMsw::isAlwaysOnTop ( ) const [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]

Member Data Documentation

class AppScreenSaver* cinder::app::AppImplMswScreenSaver::mApp [protected]

Reimplemented from cinder::app::AppImplMsw.

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]
float cinder::app::AppImplMsw::mFrameRate [protected, inherited]
ULONG_PTR cinder::app::AppImplMsw::mGdiplusToken [protected, inherited]

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