Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Moteur3D::Window Class Reference

#include <Window.h>

List of all members.

Public Member Functions

 Window (WindowsWindowParams *params, IEventManager *manager)
 ~Window ()
bool Init (int width, int height, int bitsPerPixel, int bufferBits, char *name, bool fullScreen)
bool InitFullScreen (char *name)
void Show ()
void Hide ()
bool IsVisible ()
void SwitchToFullScreen ()
void SwitchToWindowed ()
bool IsFullScreen ()
bool IsSwitching ()
void SetWindowTitle (char *newTitle)
char * GetWindowTitle ()
void MainLoop ()
void Stop ()
UserInterfaceGetUI ()
void SetUI (UserInterface *ui)

Private Member Functions

void Destroy (bool keepGLRC)
LRESULT OnReceiveMessage (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)

Private Attributes

bool m_isWindowVisible
bool m_isFullScreen
bool m_isSwitching
char * m_WindowTitle
int m_devMode
int m_Width
int m_Height
int m_BitsPerPixel
int m_BufferBits
WindowsWindowParamsm_WindowParams
IEventManagerm_EventManager
UserInterfacem_UserInterface
LPARAM m_MouseLParam
WPARAM m_MouseWParam
HWND m_hWnd
HDC m_hDeviceContext
HGLRC m_hRenderContext
MouseInformations m_MouseInfo

Static Private Attributes

static bool s_WindowRegistered

Friends

LRESULT CALLBACK MainProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)


Constructor & Destructor Documentation

Moteur3D::Window::Window WindowsWindowParams params,
IEventManager manager
 

Moteur3D::Window::~Window  ) 
 


Member Function Documentation

void Moteur3D::Window::Destroy bool  keepGLRC  )  [private]
 

UserInterface* Moteur3D::Window::GetUI  )  [inline]
 

char* Moteur3D::Window::GetWindowTitle  ) 
 

void Moteur3D::Window::Hide  ) 
 

bool Moteur3D::Window::Init int  width,
int  height,
int  bitsPerPixel,
int  bufferBits,
char *  name,
bool  fullScreen
 

bool Moteur3D::Window::InitFullScreen char *  name  ) 
 

bool Moteur3D::Window::IsFullScreen  ) 
 

bool Moteur3D::Window::IsSwitching  ) 
 

bool Moteur3D::Window::IsVisible  ) 
 

void Moteur3D::Window::MainLoop  ) 
 

LRESULT Moteur3D::Window::OnReceiveMessage HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
[private]
 

void Moteur3D::Window::SetUI UserInterface ui  )  [inline]
 

void Moteur3D::Window::SetWindowTitle char *  newTitle  ) 
 

void Moteur3D::Window::Show  ) 
 

void Moteur3D::Window::Stop  ) 
 

void Moteur3D::Window::SwitchToFullScreen  ) 
 

void Moteur3D::Window::SwitchToWindowed  ) 
 


Friends And Related Function Documentation

LRESULT CALLBACK MainProc HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
[friend]
 


Member Data Documentation

int Moteur3D::Window::m_BitsPerPixel [private]
 

int Moteur3D::Window::m_BufferBits [private]
 

int Moteur3D::Window::m_devMode [private]
 

IEventManager* Moteur3D::Window::m_EventManager [private]
 

HDC Moteur3D::Window::m_hDeviceContext [private]
 

int Moteur3D::Window::m_Height [private]
 

HGLRC Moteur3D::Window::m_hRenderContext [private]
 

HWND Moteur3D::Window::m_hWnd [private]
 

bool Moteur3D::Window::m_isFullScreen [private]
 

bool Moteur3D::Window::m_isSwitching [private]
 

bool Moteur3D::Window::m_isWindowVisible [private]
 

MouseInformations Moteur3D::Window::m_MouseInfo [private]
 

LPARAM Moteur3D::Window::m_MouseLParam [private]
 

WPARAM Moteur3D::Window::m_MouseWParam [private]
 

UserInterface* Moteur3D::Window::m_UserInterface [private]
 

int Moteur3D::Window::m_Width [private]
 

WindowsWindowParams* Moteur3D::Window::m_WindowParams [private]
 

char* Moteur3D::Window::m_WindowTitle [private]
 

bool Moteur3D::Window::s_WindowRegistered [static, private]
 


The documentation for this class was generated from the following file:
Generated on Sat Oct 15 15:05:52 2005 for Moteur3D by  doxygen 1.4.4