doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
rvGEViewer Class Reference

#include <GEViewer.h>

Public Member Functions

 rvGEViewer ()
 
bool Create (HWND parent)
 
bool Destroy (void)
 
bool OpenFile (const char *filename)
 
void RunFrame (void)
 
HWND GetWindow (void)
 

Protected Member Functions

void Render (HDC dc)
 
void Play (void)
 
void Pause (void)
 
LRESULT HandlePaint (WPARAM wParam, LPARAM lParam)
 

Protected Attributes

HWND mWnd
 
int mWindowWidth
 
int mWindowHeight
 
int mToolbarHeight
 
idUserInterfaceLocalmInterface
 
bool mPaused
 
HWND mToolbar
 
int mLastTime
 
int mTime
 

Private Member Functions

bool SetupPixelFormat (void)
 

Static Private Member Functions

static LRESULT CALLBACK WndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 

Detailed Description

Definition at line 32 of file GEViewer.h.

Constructor & Destructor Documentation

rvGEViewer::rvGEViewer ( )

Definition at line 38 of file GEViewer.cpp.

Member Function Documentation

bool rvGEViewer::Create ( HWND  parent)

Definition at line 45 of file GEViewer.cpp.

bool rvGEViewer::Destroy ( void  )

Definition at line 109 of file GEViewer.cpp.

ID_INLINE HWND rvGEViewer::GetWindow ( void  )

Definition at line 71 of file GEViewer.h.

LRESULT rvGEViewer::HandlePaint ( WPARAM  wParam,
LPARAM  lParam 
)
protected

Definition at line 429 of file GEViewer.cpp.

bool rvGEViewer::OpenFile ( const char *  filename)

Definition at line 117 of file GEViewer.cpp.

void rvGEViewer::Pause ( void  )
protected

Definition at line 91 of file GEViewer.cpp.

void rvGEViewer::Play ( void  )
protected

Definition at line 73 of file GEViewer.cpp.

void rvGEViewer::Render ( HDC  dc)
protected

Definition at line 473 of file GEViewer.cpp.

void rvGEViewer::RunFrame ( void  )

Definition at line 543 of file GEViewer.cpp.

bool rvGEViewer::SetupPixelFormat ( void  )
private

Definition at line 450 of file GEViewer.cpp.

LRESULT CALLBACK rvGEViewer::WndProc ( HWND  hwnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate

Definition at line 229 of file GEViewer.cpp.

Member Data Documentation

idUserInterfaceLocal* rvGEViewer::mInterface
protected

Definition at line 56 of file GEViewer.h.

int rvGEViewer::mLastTime
protected

Definition at line 59 of file GEViewer.h.

bool rvGEViewer::mPaused
protected

Definition at line 57 of file GEViewer.h.

int rvGEViewer::mTime
protected

Definition at line 60 of file GEViewer.h.

HWND rvGEViewer::mToolbar
protected

Definition at line 58 of file GEViewer.h.

int rvGEViewer::mToolbarHeight
protected

Definition at line 55 of file GEViewer.h.

int rvGEViewer::mWindowHeight
protected

Definition at line 54 of file GEViewer.h.

int rvGEViewer::mWindowWidth
protected

Definition at line 53 of file GEViewer.h.

HWND rvGEViewer::mWnd
protected

Definition at line 52 of file GEViewer.h.


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