Win32Window Class Reference

Windows Window Driver. More...

#include <Win32Window.h>

Inheritance diagram for Win32Window:

Inheritance graph
[legend]
Collaboration diagram for Win32Window:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Win32Window ()
virtual ~Win32Window ()
virtual bool MakeWindow (const char *title, int width, int height, int bits, bool fullscreen)
virtual bool MakeRender (const char *title, int width, int height, int bits, bool fullscreenflag, RendererType brt)
virtual void DestroyWindowAndRender ()
virtual bool RestoreDevice ()
virtual void DestroyWindow ()
virtual bool MakeRenderCurrent ()
virtual bool Update (const float dTime)
virtual bool HasFocus ()
virtual unsigned char * GetBackDirectBuffer ()

Protected Member Functions

virtual void SwapBuffersInternal ()

Private Attributes

RendererType m_brt
WNDCLASS m_win
DWORD m_extendedStyle
DWORD m_style
RECT m_rect
HGLRC m_hRC
HDC m_hDC
HINSTANCE m_hInstance
MSG m_message
unsigned char * m_BackBuffer
HDC m_compatDC
HBITMAP m_hbm

Detailed Description

Windows Window Driver.

Definition at line 10 of file Win32Window.h.


Constructor & Destructor Documentation

Win32Window::Win32Window (  ) 

Definition at line 17 of file Win32Window.cpp.

Win32Window::~Win32Window (  )  [virtual]

Definition at line 34 of file Win32Window.cpp.


Member Function Documentation

bool Win32Window::MakeWindow ( const char *  title,
int  width,
int  height,
int  bits,
bool  fullscreen 
) [virtual]

Implements MercuryWindow.

Definition at line 60 of file Win32Window.cpp.

bool Win32Window::MakeRender ( const char *  title,
int  width,
int  height,
int  bits,
bool  fullscreenflag,
RendererType  brt 
) [virtual]

Implements MercuryWindow.

Definition at line 150 of file Win32Window.cpp.

void Win32Window::DestroyWindowAndRender (  )  [virtual]

Implements MercuryWindow.

Definition at line 331 of file Win32Window.cpp.

bool Win32Window::RestoreDevice (  )  [virtual]

Implements MercuryWindow.

Definition at line 256 of file Win32Window.cpp.

void Win32Window::DestroyWindow (  )  [virtual]

Implements MercuryWindow.

Definition at line 304 of file Win32Window.cpp.

bool Win32Window::MakeRenderCurrent (  )  [virtual]

Implements MercuryWindow.

Definition at line 194 of file Win32Window.cpp.

bool Win32Window::Update ( const float  dTime  )  [virtual]

Implements MercuryWindow.

Definition at line 40 of file Win32Window.cpp.

bool Win32Window::HasFocus (  )  [virtual]

Reimplemented from MercuryWindow.

Definition at line 347 of file Win32Window.cpp.

unsigned char * Win32Window::GetBackDirectBuffer (  )  [virtual]

Reimplemented from MercuryWindow.

Definition at line 365 of file Win32Window.cpp.

void Win32Window::SwapBuffersInternal (  )  [protected, virtual]

Implements MercuryWindow.

Definition at line 352 of file Win32Window.cpp.


Member Data Documentation

RendererType Win32Window::m_brt [private]

Definition at line 27 of file Win32Window.h.

WNDCLASS Win32Window::m_win [private]

Definition at line 28 of file Win32Window.h.

DWORD Win32Window::m_extendedStyle [private]

Definition at line 29 of file Win32Window.h.

DWORD Win32Window::m_style [private]

Definition at line 30 of file Win32Window.h.

RECT Win32Window::m_rect [private]

Definition at line 31 of file Win32Window.h.

HGLRC Win32Window::m_hRC [private]

Definition at line 32 of file Win32Window.h.

HDC Win32Window::m_hDC [private]

Definition at line 33 of file Win32Window.h.

HINSTANCE Win32Window::m_hInstance [private]

Definition at line 34 of file Win32Window.h.

MSG Win32Window::m_message [private]

Definition at line 35 of file Win32Window.h.

unsigned char* Win32Window::m_BackBuffer [private]

Definition at line 37 of file Win32Window.h.

HDC Win32Window::m_compatDC [private]

Definition at line 38 of file Win32Window.h.

HBITMAP Win32Window::m_hbm [private]

Definition at line 39 of file Win32Window.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo