"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSEngine/Src/OSX/LSEWindow.h

00001 
00016 #ifndef __LSE_WINDOW_H__
00017 #define __LSE_WINDOW_H__
00018 
00019 #include "../LSEEngine.h"
00020 
00021 #if defined( LSE_OSX )
00022 
00023 #include "../Game/LSEGame.h"
00024 
00025 namespace lse {
00026 
00032         class CWindow {
00033         public :
00034                 // == Various constructors.
00035                 LSE_INLINE LSE_CALL                                     CWindow();
00036                 LSE_INLINE LSE_CALL                                     ~CWindow();
00037 
00038 
00039                 // == Functions.
00045                 LSVOID LSE_CALL                                         SetGamePointer( CGame * _pgGame );
00046                 
00056                 LSVOID LSE_CALL                                         SetDefaultWindowDimensions( LSINT32 _i32WinWidth, LSINT32 _i32WinHeight, LSINT32 _i32FullWidth, LSINT32 _i32FullHeight );
00057                 
00068                 LSBOOL LSE_CALL                                         CreateRenderWindow( LSINT32 _i32Width, LSINT32 _i32Height, LSBOOL _bFullScreen, LSUINT32 _ui32Bits, const LSCHAR * _pcTitle );
00069 
00075                 //LSINT32 LSE_CALL                                      Run();
00076 
00080                 //LSBOOL LSE_CALL                                               ToggleFullScreen();
00081 
00082 
00083 
00084         protected :
00085                 // == Members.
00089                 CGame *                                                         m_pgGame;
00090                 
00094                 LSVOID *                                                        m_pvWindow;
00095                 
00099                 LSVOID *                                                        m_pvView;
00100                 
00104                 LSINT32                                                         m_i32Width, m_i32Height;
00105 
00109                 LSINT32                                                         m_i32WindowedWidth, m_i32WindowedHeight;
00110 
00114                 LSINT32                                                         m_i32FullWidth, m_i32FullHeight;
00115 
00119                 LSUINT32                                                        m_ui32Depth;
00120 
00121         
00122                 // == Functions.
00123         };
00124 
00125 
00126         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00127         // DEFINITIONS
00128         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00134         LSE_INLINE LSVOID LSE_CALL CWindow::SetGamePointer( CGame * _pgGame ) {
00135                 m_pgGame = _pgGame;
00136         }
00137 
00138 }       // namespace lse
00139 
00140 #endif  // #if defined( LSE_OSX )
00141 
00142 #endif  // __LSE_WINDOW_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator