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

#include <AppImplMswScreenSaver.h>

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

Public Member Functions

 AppImplMswScreenSaver (class AppScreenSaver *aApp)
 
virtual ~AppImplMswScreenSaver ()
 
void init (HWND aWnd)
 
void run ()
 
void quit ()
 
LRESULT eventHandler (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 
virtual WindowRef getWindow () const
 
virtual size_t getNumWindows () const
 Returns the number of Windows the app has open. More...
 
virtual WindowRef getWindowIndex (size_t index) const
 Gets a Window by index, in the range [0, getNumWindows()). More...
 
bool isPreview () const
 
virtual void closeWindow (class WindowImplMsw *windowImpl)
 
virtual void setForegroundWindow (WindowRef window)
 
class AppgetApp ()
 
float getFrameRate () const
 
virtual float setFrameRate (float aFrameRate)
 
void setWindow (WindowRef window)
 

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

bool setupHasBeenCalled () const
 

Protected Attributes

class AppScreenSavermApp
 
bool mPreview
 
bool mDebugMode
 
std::list
< WindowImplMswScreenSaver * > 
mWindows
 
std::list< BlankingWindowRefmBlankingWindows
 
float mFrameRate
 
WindowRef mActiveWindow
 
bool mSetupHasBeenCalled
 
bool mActive
 
ULONG_PTR mGdiplusToken
 

Constructor & Destructor Documentation

cinder::app::AppImplMswScreenSaver::AppImplMswScreenSaver ( class AppScreenSaver aApp)
virtual cinder::app::AppImplMswScreenSaver::~AppImplMswScreenSaver ( )
virtual

Member Function Documentation

void cinder::app::AppImplMswScreenSaver::init ( HWND  aWnd)
void cinder::app::AppImplMswScreenSaver::run ( )
void cinder::app::AppImplMswScreenSaver::quit ( )
virtual
LRESULT cinder::app::AppImplMswScreenSaver::eventHandler ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
WindowRef cinder::app::AppImplMswScreenSaver::getWindow ( ) const
virtual

Reimplemented from cinder::app::AppImplMsw.

size_t cinder::app::AppImplMswScreenSaver::getNumWindows ( ) const
virtual

Returns the number of Windows the app has open.

WindowRef cinder::app::AppImplMswScreenSaver::getWindowIndex ( size_t  index) const
virtual

Gets a Window by index, in the range [0, getNumWindows()).

bool cinder::app::AppImplMswScreenSaver::isPreview ( ) const
virtual void cinder::app::AppImplMswScreenSaver::closeWindow ( class WindowImplMsw windowImpl)
virtual
virtual void cinder::app::AppImplMswScreenSaver::setForegroundWindow ( WindowRef  window)
virtual
class App* cinder::app::AppImplMsw::getApp ( )
inherited
float cinder::app::AppImplMsw::getFrameRate ( ) const
inherited
virtual float cinder::app::AppImplMsw::setFrameRate ( float  aFrameRate)
virtualinherited

Reimplemented in cinder::app::AppImplMswBasic.

void cinder::app::AppImplMsw::setWindow ( WindowRef  window)
inherited
void cinder::app::AppImplMsw::hideCursor ( )
staticinherited
void cinder::app::AppImplMsw::showCursor ( )
staticinherited
Buffer cinder::app::AppImplMsw::loadResource ( int  id,
const std::string type 
)
staticinherited
fs::path cinder::app::AppImplMsw::getAppPath ( )
staticinherited
fs::path cinder::app::AppImplMsw::getOpenFilePath ( const fs::path &  initialPath,
std::vector< std::string extensions 
)
staticinherited
fs::path cinder::app::AppImplMsw::getSaveFilePath ( const fs::path &  initialPath,
std::vector< std::string extensions 
)
staticinherited
fs::path cinder::app::AppImplMsw::getFolderPath ( const fs::path &  initialPath)
staticinherited
bool cinder::app::AppImplMsw::setupHasBeenCalled ( ) const
protectedinherited

Member Data Documentation

class AppScreenSaver* cinder::app::AppImplMswScreenSaver::mApp
protected
bool cinder::app::AppImplMswScreenSaver::mPreview
protected
bool cinder::app::AppImplMswScreenSaver::mDebugMode
protected
std::list<WindowImplMswScreenSaver*> cinder::app::AppImplMswScreenSaver::mWindows
protected
std::list<BlankingWindowRef> cinder::app::AppImplMswScreenSaver::mBlankingWindows
protected
float cinder::app::AppImplMsw::mFrameRate
protectedinherited
WindowRef cinder::app::AppImplMsw::mActiveWindow
protectedinherited
bool cinder::app::AppImplMsw::mSetupHasBeenCalled
protectedinherited
bool cinder::app::AppImplMsw::mActive
protectedinherited
ULONG_PTR cinder::app::AppImplMsw::mGdiplusToken
protectedinherited

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