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

#include <AppImplMswBasic.h>

Inherits cinder::app::AppImplMsw.

Public Member Functions

 AppImplMswBasic (AppMsw *app, const AppMsw::Settings &settings)
 
void run ()
 
AppMswgetApp ()
 
void quit () override
 
void setFrameRate (float frameRate) override
 
void disableFrameRate ()
 
bool isFrameRateEnabled () const
 
size_t getNumWindows () const
 
WindowRef getWindowIndex (size_t index)
 
WindowRef getForegroundWindow () const
 
void setupBlankingWindows (DisplayRef fullScreenDisplay)
 
void destroyBlankingWindows ()
 
float getFrameRate () const
 
virtual WindowRef getWindow () const
 
void setWindow (WindowRef window)
 

Static Public Member Functions

static void hideCursor ()
 
static void showCursor ()
 
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

float mFrameRate
 
WindowRef mActiveWindow
 
bool mSetupHasBeenCalled
 
bool mNeedsToRefreshDisplays
 
bool mActive
 
ULONG_PTR mGdiplusToken
 

Friends

class AppMsw
 
LRESULT CALLBACK WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Constructor & Destructor Documentation

cinder::app::AppImplMswBasic::AppImplMswBasic ( AppMsw app,
const AppMsw::Settings settings 
)

Member Function Documentation

void cinder::app::AppImplMswBasic::run ( )
AppMsw* cinder::app::AppImplMswBasic::getApp ( )
void cinder::app::AppImplMswBasic::quit ( )
overridevirtual
void cinder::app::AppImplMswBasic::setFrameRate ( float  frameRate)
overridevirtual
void cinder::app::AppImplMswBasic::disableFrameRate ( )
bool cinder::app::AppImplMswBasic::isFrameRateEnabled ( ) const
size_t cinder::app::AppImplMswBasic::getNumWindows ( ) const
WindowRef cinder::app::AppImplMswBasic::getWindowIndex ( size_t  index)
WindowRef cinder::app::AppImplMswBasic::getForegroundWindow ( ) const
void cinder::app::AppImplMswBasic::setupBlankingWindows ( DisplayRef  fullScreenDisplay)
void cinder::app::AppImplMswBasic::destroyBlankingWindows ( )
float cinder::app::AppImplMsw::getFrameRate ( ) const
inherited
virtual WindowRef cinder::app::AppImplMsw::getWindow ( ) const
virtualinherited
void cinder::app::AppImplMsw::setWindow ( WindowRef  window)
inherited
void cinder::app::AppImplMsw::hideCursor ( )
staticinherited
void cinder::app::AppImplMsw::showCursor ( )
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

Friends And Related Function Documentation

friend class AppMsw
friend
LRESULT CALLBACK WndProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
friend

Member Data Documentation

float cinder::app::AppImplMsw::mFrameRate
protectedinherited
WindowRef cinder::app::AppImplMsw::mActiveWindow
protectedinherited
bool cinder::app::AppImplMsw::mSetupHasBeenCalled
protectedinherited
bool cinder::app::AppImplMsw::mNeedsToRefreshDisplays
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: