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

#include <LightDlg.h>

Inheritance diagram for CLightDlg:

Public Types

enum  { IDD = IDD_DIALOG_LIGHT }
 

Public Member Functions

 CLightDlg (CWnd *pParent=NULL)
 
 ~CLightDlg ()
 
void UpdateDialogFromLightInfo (void)
 
void UpdateDialog (bool updateChecks)
 
void UpdateLightInfoFromDialog (void)
 
void UpdateColor (float r, float g, float b, float a)
 
void SetSpecifics ()
 
void EnableControls ()
 
void LoadLightTextures ()
 
void ColorButtons ()
 
void SaveLightInfo (const idDict *differences)
 
virtual BOOL DestroyWindow ()
 

Public Attributes

idGLWidget m_wndPreview
 
CComboBox m_wndLights
 
CSliderCtrl m_wndFalloff
 
BOOL m_bEqualRadius
 
BOOL m_bExplicitFalloff
 
BOOL m_bPointLight
 
BOOL m_bCheckProjected
 
float m_fFallloff
 
int m_nFalloff
 
BOOL m_bRotate
 
BOOL m_bShadows
 
BOOL m_bSpecular
 
BOOL m_bDiffuse
 
float m_fEndX
 
float m_fEndY
 
float m_fEndZ
 
float m_fRadiusX
 
float m_fRadiusY
 
float m_fRadiusZ
 
float m_fRightX
 
float m_fRightY
 
float m_fRightZ
 
float m_fRotate
 
float m_fStartX
 
float m_fStartY
 
float m_fStartZ
 
float m_fTargetX
 
float m_fTargetY
 
float m_fTargetZ
 
float m_fUpX
 
float m_fUpY
 
float m_fUpZ
 
BOOL m_hasCenter
 
float m_centerX
 
float m_centerY
 
float m_centerZ
 
BOOL m_bIsParallel
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnDestroy ()
 
afx_msg void OnBtnTexture ()
 
afx_msg void OnCheckEqualradius ()
 
afx_msg void OnCheckExplicitfalloff ()
 
afx_msg void OnCheckPoint ()
 
afx_msg void OnCheckProjected ()
 
afx_msg void OnRadioFalloff ()
 
virtual void OnOK ()
 
afx_msg void OnApply ()
 
afx_msg void OnBtnColor ()
 
afx_msg void OnBtnFog ()
 
afx_msg void OnCheckFog ()
 
afx_msg void OnCheckRotate ()
 
afx_msg void OnCheckStrobe ()
 
virtual void OnCancel ()
 
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
 
afx_msg void OnSelchangeComboTexture ()
 
afx_msg void OnCheckCenter ()
 
afx_msg void OnCheckParallel ()
 
afx_msg void OnApplyDifferences ()
 

Private Attributes

CBitmap colorBitmap
 
CBitmap fogBitmap
 
CLightInfo lightInfo
 
CLightInfo lightInfoOriginal
 
idVec3 color
 
idGLDrawableMaterialm_drawMaterial
 

Detailed Description

Definition at line 80 of file LightDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 97 of file LightDlg.h.

Constructor & Destructor Documentation

CLightDlg::CLightDlg ( CWnd *  pParent = NULL)

Definition at line 279 of file LightDlg.cpp.

CLightDlg::~CLightDlg ( )

Definition at line 321 of file LightDlg.cpp.

Member Function Documentation

void CLightDlg::ColorButtons ( )

Definition at line 611 of file LightDlg.cpp.

BOOL CLightDlg::DestroyWindow ( )
virtual

Definition at line 885 of file LightDlg.cpp.

void CLightDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 325 of file LightDlg.cpp.

void CLightDlg::EnableControls ( )

Definition at line 406 of file LightDlg.cpp.

void CLightDlg::LoadLightTextures ( )

Definition at line 632 of file LightDlg.cpp.

void CLightDlg::OnApply ( )
protected

Definition at line 839 of file LightDlg.cpp.

void CLightDlg::OnApplyDifferences ( )
protected

Definition at line 943 of file LightDlg.cpp.

void CLightDlg::OnBtnColor ( )
protected

Definition at line 860 of file LightDlg.cpp.

afx_msg void CLightDlg::OnBtnFog ( )
protected
void CLightDlg::OnBtnTexture ( )
protected

Definition at line 671 of file LightDlg.cpp.

void CLightDlg::OnCancel ( )
protectedvirtual

Definition at line 874 of file LightDlg.cpp.

void CLightDlg::OnCheckCenter ( )
protected

Definition at line 911 of file LightDlg.cpp.

void CLightDlg::OnCheckEqualradius ( )
protected

Definition at line 677 of file LightDlg.cpp.

void CLightDlg::OnCheckExplicitfalloff ( )
protected

Definition at line 683 of file LightDlg.cpp.

afx_msg void CLightDlg::OnCheckFog ( )
protected
void CLightDlg::OnCheckParallel ( )
protected

Definition at line 926 of file LightDlg.cpp.

void CLightDlg::OnCheckPoint ( )
protected

Definition at line 689 of file LightDlg.cpp.

void CLightDlg::OnCheckProjected ( )
protected

Definition at line 696 of file LightDlg.cpp.

afx_msg void CLightDlg::OnCheckRotate ( )
protected
afx_msg void CLightDlg::OnCheckStrobe ( )
protected
HBRUSH CLightDlg::OnCtlColor ( CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor 
)
protected

Definition at line 878 of file LightDlg.cpp.

void CLightDlg::OnDestroy ( )
protected

Definition at line 664 of file LightDlg.cpp.

BOOL CLightDlg::OnInitDialog ( )
protectedvirtual

Definition at line 646 of file LightDlg.cpp.

void CLightDlg::OnOK ( )
protectedvirtual

Definition at line 707 of file LightDlg.cpp.

void CLightDlg::OnRadioFalloff ( )
protected

Definition at line 703 of file LightDlg.cpp.

void CLightDlg::OnSelchangeComboTexture ( )
protected

Definition at line 896 of file LightDlg.cpp.

void CLightDlg::SaveLightInfo ( const idDict differences)

Definition at line 571 of file LightDlg.cpp.

void CLightDlg::SetSpecifics ( )

Definition at line 389 of file LightDlg.cpp.

void CLightDlg::UpdateColor ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 850 of file LightDlg.cpp.

void CLightDlg::UpdateDialog ( bool  updateChecks)

Definition at line 724 of file LightDlg.cpp.

void CLightDlg::UpdateDialogFromLightInfo ( void  )

Definition at line 443 of file LightDlg.cpp.

void CLightDlg::UpdateLightInfoFromDialog ( void  )

Definition at line 504 of file LightDlg.cpp.

Member Data Documentation

idVec3 CLightDlg::color
private

Definition at line 181 of file LightDlg.h.

CBitmap CLightDlg::colorBitmap
private

Definition at line 177 of file LightDlg.h.

CBitmap CLightDlg::fogBitmap
private

Definition at line 178 of file LightDlg.h.

CLightInfo CLightDlg::lightInfo
private

Definition at line 179 of file LightDlg.h.

CLightInfo CLightDlg::lightInfoOriginal
private

Definition at line 180 of file LightDlg.h.

BOOL CLightDlg::m_bCheckProjected

Definition at line 104 of file LightDlg.h.

BOOL CLightDlg::m_bDiffuse

Definition at line 110 of file LightDlg.h.

BOOL CLightDlg::m_bEqualRadius

Definition at line 101 of file LightDlg.h.

BOOL CLightDlg::m_bExplicitFalloff

Definition at line 102 of file LightDlg.h.

BOOL CLightDlg::m_bIsParallel

Definition at line 134 of file LightDlg.h.

BOOL CLightDlg::m_bPointLight

Definition at line 103 of file LightDlg.h.

BOOL CLightDlg::m_bRotate

Definition at line 107 of file LightDlg.h.

BOOL CLightDlg::m_bShadows

Definition at line 108 of file LightDlg.h.

BOOL CLightDlg::m_bSpecular

Definition at line 109 of file LightDlg.h.

float CLightDlg::m_centerX

Definition at line 131 of file LightDlg.h.

float CLightDlg::m_centerY

Definition at line 132 of file LightDlg.h.

float CLightDlg::m_centerZ

Definition at line 133 of file LightDlg.h.

idGLDrawableMaterial* CLightDlg::m_drawMaterial
private

Definition at line 182 of file LightDlg.h.

float CLightDlg::m_fEndX

Definition at line 111 of file LightDlg.h.

float CLightDlg::m_fEndY

Definition at line 112 of file LightDlg.h.

float CLightDlg::m_fEndZ

Definition at line 113 of file LightDlg.h.

float CLightDlg::m_fFallloff

Definition at line 105 of file LightDlg.h.

float CLightDlg::m_fRadiusX

Definition at line 114 of file LightDlg.h.

float CLightDlg::m_fRadiusY

Definition at line 115 of file LightDlg.h.

float CLightDlg::m_fRadiusZ

Definition at line 116 of file LightDlg.h.

float CLightDlg::m_fRightX

Definition at line 117 of file LightDlg.h.

float CLightDlg::m_fRightY

Definition at line 118 of file LightDlg.h.

float CLightDlg::m_fRightZ

Definition at line 119 of file LightDlg.h.

float CLightDlg::m_fRotate

Definition at line 120 of file LightDlg.h.

float CLightDlg::m_fStartX

Definition at line 121 of file LightDlg.h.

float CLightDlg::m_fStartY

Definition at line 122 of file LightDlg.h.

float CLightDlg::m_fStartZ

Definition at line 123 of file LightDlg.h.

float CLightDlg::m_fTargetX

Definition at line 124 of file LightDlg.h.

float CLightDlg::m_fTargetY

Definition at line 125 of file LightDlg.h.

float CLightDlg::m_fTargetZ

Definition at line 126 of file LightDlg.h.

float CLightDlg::m_fUpX

Definition at line 127 of file LightDlg.h.

float CLightDlg::m_fUpY

Definition at line 128 of file LightDlg.h.

float CLightDlg::m_fUpZ

Definition at line 129 of file LightDlg.h.

BOOL CLightDlg::m_hasCenter

Definition at line 130 of file LightDlg.h.

int CLightDlg::m_nFalloff

Definition at line 106 of file LightDlg.h.

CSliderCtrl CLightDlg::m_wndFalloff

Definition at line 100 of file LightDlg.h.

CComboBox CLightDlg::m_wndLights

Definition at line 99 of file LightDlg.h.

idGLWidget CLightDlg::m_wndPreview

Definition at line 98 of file LightDlg.h.


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