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

#include <AppImplMswScreenSaver.h>

Inherits cinder::app::AppImplMsw.

List of all members.

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.
virtual WindowRef getWindowIndex (size_t index) const
 Gets a Window by index, in the range [0, getNumWindows()).
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 AppScreenSaver * mApp
bool mPreview
bool mDebugMode
std::list
< WindowImplMswScreenSaver * > 
mWindows
std::list< BlankingWindowRefmBlankingWindows
float mFrameRate
WindowRef mActiveWindow
bool mSetupHasBeenCalled
ULONG_PTR mGdiplusToken

Friends

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

Constructor & Destructor Documentation


Member Function Documentation

LRESULT cinder::app::AppImplMswScreenSaver::eventHandler ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Reimplemented from cinder::app::AppImplMsw.

Returns the number of Windows the app has open.

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

virtual void cinder::app::AppImplMswScreenSaver::closeWindow ( class WindowImplMsw windowImpl) [virtual]
class App* cinder::app::AppImplMsw::getApp ( ) [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.

void cinder::app::AppImplMsw::setWindow ( WindowRef  window) [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]
bool cinder::app::AppImplMsw::setupHasBeenCalled ( ) const [protected, inherited]

Friends And Related Function Documentation

friend class WindowImplMsw [friend, inherited]
LRESULT CALLBACK WndProc ( HWND  mWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [friend, inherited]

Reimplemented in cinder::app::AppImplMswBasic.


Member Data Documentation

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

Reimplemented from cinder::app::AppImplMsw.

float cinder::app::AppImplMsw::mFrameRate [protected, inherited]
bool cinder::app::AppImplMsw::mSetupHasBeenCalled [protected, inherited]
ULONG_PTR cinder::app::AppImplMsw::mGdiplusToken [protected, inherited]

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