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 | List of all members
idGLWidget Class Reference

#include <GLWidget.h>

Inheritance diagram for idGLWidget:
idGLConsoleWidget

Public Member Functions

 idGLWidget ()
 
void setDrawable (idGLDrawable *d)
 
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
 
virtual ~idGLWidget ()
 

Protected Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 
afx_msg void OnPaint ()
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
 
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnTimer (UINT nIDEvent)
 
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
 

Protected Attributes

idGLDrawabledrawable
 
bool initialized
 

Detailed Description

Definition at line 175 of file GLWidget.h.

Constructor & Destructor Documentation

idGLWidget::idGLWidget ( )

Definition at line 103 of file GLWidget.cpp.

idGLWidget::~idGLWidget ( )
virtual

Definition at line 109 of file GLWidget.cpp.

Member Function Documentation

BOOL idGLWidget::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
)
virtual

Definition at line 140 of file GLWidget.cpp.

BOOL idGLWidget::OnEraseBkgnd ( CDC *  pDC)
protected

Definition at line 899 of file GLWidget.cpp.

void idGLWidget::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 704 of file GLWidget.cpp.

void idGLWidget::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 715 of file GLWidget.cpp.

void idGLWidget::OnMButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 726 of file GLWidget.cpp.

void idGLWidget::OnMButtonUp ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 737 of file GLWidget.cpp.

void idGLWidget::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 748 of file GLWidget.cpp.

BOOL idGLWidget::OnMouseWheel ( UINT  nFlags,
short  zDelta,
CPoint  pt 
)
protected

Definition at line 759 of file GLWidget.cpp.

void idGLWidget::OnPaint ( )
protected

Definition at line 154 of file GLWidget.cpp.

void idGLWidget::OnRButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 779 of file GLWidget.cpp.

void idGLWidget::OnRButtonUp ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 790 of file GLWidget.cpp.

void idGLWidget::OnTimer ( UINT  nIDEvent)
protected

Definition at line 809 of file GLWidget.cpp.

BOOL idGLWidget::PreCreateWindow ( CREATESTRUCT &  cs)
protectedvirtual

Definition at line 133 of file GLWidget.cpp.

void idGLWidget::setDrawable ( idGLDrawable d)

Definition at line 801 of file GLWidget.cpp.

Member Data Documentation

idGLDrawable* idGLWidget::drawable
protected

Definition at line 203 of file GLWidget.h.

bool idGLWidget::initialized
protected

Definition at line 204 of file GLWidget.h.


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