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
CSurfaceDlg Class Reference

#include <SurfaceDlg.h>

Inheritance diagram for CSurfaceDlg:

Public Types

enum  { IDD = IDD_SURFACE }
 

Public Member Functions

 CSurfaceDlg (CWnd *pParent=NULL)
 
void SetTexMods ()
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 

Public Attributes

CEdit m_wndRotateEdit
 
CEdit m_wndVert
 
CEdit m_wndHorz
 
CSliderCtrl m_wndVerticalSubdivisions
 
CSliderCtrl m_wndHorzSubdivisions
 
CSpinButtonCtrl m_wndWidth
 
CSpinButtonCtrl m_wndHeight
 
CSpinButtonCtrl m_wndVShift
 
CSpinButtonCtrl m_wndVScale
 
CSpinButtonCtrl m_wndRotate
 
CSpinButtonCtrl m_wndHShift
 
CSpinButtonCtrl m_wndHScale
 
int m_nHorz
 
int m_nVert
 
float m_horzScale
 
float m_horzShift
 
float m_rotate
 
float m_vertScale
 
float m_vertShift
 
CString m_strMaterial
 
BOOL m_subdivide
 
float m_fHeight
 
float m_fWidth
 
BOOL m_absolute
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 
void UpdateSpinners (int nScrollCode, int nPos, CScrollBar *pBar)
 
void UpdateSpinners (bool bUp, int nID)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
afx_msg void OnApply ()
 
virtual void OnOK ()
 
afx_msg void OnClose ()
 
virtual void OnCancel ()
 
afx_msg void OnDestroy ()
 
afx_msg void OnBtnCancel ()
 
afx_msg void OnBtnColor ()
 
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
 
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
afx_msg void OnDeltaPosSpin (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBtnPatchdetails ()
 
afx_msg void OnBtnPatchnatural ()
 
afx_msg void OnBtnPatchreset ()
 
afx_msg void OnBtnAxial ()
 
afx_msg void OnBtnBrushfit ()
 
afx_msg void OnBtnFacefit ()
 
afx_msg void OnCheckSubdivide ()
 
afx_msg void OnChangeEditHorz ()
 
afx_msg void OnChangeEditVert ()
 
afx_msg void OnSetfocusHscale ()
 
afx_msg void OnKillfocusHscale ()
 
afx_msg void OnKillfocusVscale ()
 
afx_msg void OnSetfocusVscale ()
 
afx_msg void OnKillfocusEditWidth ()
 
afx_msg void OnSetfocusEditWidth ()
 
afx_msg void OnKillfocusEditHeight ()
 
afx_msg void OnSetfocusEditHeight ()
 
afx_msg void OnBtnFlipx ()
 
afx_msg void OnBtnFlipy ()
 
afx_msg void OnKillfocusRotate ()
 
afx_msg void OnSetfocusRotate ()
 

Private Attributes

bool m_bPatchMode
 
CWnd * focusControl
 

Detailed Description

Definition at line 40 of file SurfaceDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 52 of file SurfaceDlg.h.

Constructor & Destructor Documentation

CSurfaceDlg::CSurfaceDlg ( CWnd *  pParent = NULL)

Definition at line 49 of file SurfaceDlg.cpp.

Member Function Documentation

void CSurfaceDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 68 of file SurfaceDlg.cpp.

afx_msg void CSurfaceDlg::OnApply ( )
protected
void CSurfaceDlg::OnBtnAxial ( )
protected

Definition at line 482 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnBrushfit ( )
protected

Definition at line 485 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnCancel ( )
protected

Definition at line 418 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnColor ( )
protected

Definition at line 432 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnFacefit ( )
protected

Definition at line 490 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnFlipx ( )
protected

Definition at line 611 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnFlipy ( )
protected

Definition at line 616 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnPatchdetails ( )
protected

Definition at line 460 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnPatchnatural ( )
protected

Definition at line 466 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnBtnPatchreset ( )
protected

Definition at line 474 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnCancel ( )
protectedvirtual

Definition at line 399 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnChangeEditHorz ( )
protected

Definition at line 519 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnChangeEditVert ( )
protected

Definition at line 534 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnCheckSubdivide ( )
protected

Definition at line 511 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnClose ( )
protected

Definition at line 394 of file SurfaceDlg.cpp.

int CSurfaceDlg::OnCreate ( LPCREATESTRUCT  lpCreateStruct)
protected

Definition at line 440 of file SurfaceDlg.cpp.

HBRUSH CSurfaceDlg::OnCtlColor ( CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor 
)
protected

Definition at line 435 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnDeltaPosSpin ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 454 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnDestroy ( )
protected

Definition at line 407 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnHScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
)
protected

Definition at line 352 of file SurfaceDlg.cpp.

BOOL CSurfaceDlg::OnInitDialog ( )
protectedvirtual

Definition at line 327 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
protected

Definition at line 371 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKillfocusEditHeight ( )
protected

Definition at line 601 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKillfocusEditWidth ( )
protected

Definition at line 591 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKillfocusHscale ( )
protected

Definition at line 576 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKillfocusRotate ( )
protected

Definition at line 621 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnKillfocusVscale ( )
protected

Definition at line 581 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnOK ( )
protectedvirtual

Definition at line 382 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnSetfocusEditHeight ( )
protected

Definition at line 606 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnSetfocusEditWidth ( )
protected

Definition at line 596 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnSetfocusHscale ( )
protected

Definition at line 571 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnSetfocusRotate ( )
protected

Definition at line 626 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnSetfocusVscale ( )
protected

Definition at line 586 of file SurfaceDlg.cpp.

void CSurfaceDlg::OnVScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
)
protected

Definition at line 376 of file SurfaceDlg.cpp.

BOOL CSurfaceDlg::PreCreateWindow ( CREATESTRUCT &  cs)
protectedvirtual

Definition at line 447 of file SurfaceDlg.cpp.

BOOL CSurfaceDlg::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 549 of file SurfaceDlg.cpp.

void CSurfaceDlg::SetTexMods ( )

Definition at line 164 of file SurfaceDlg.cpp.

void CSurfaceDlg::UpdateSpinners ( int  nScrollCode,
int  nPos,
CScrollBar *  pBar 
)
protected

Definition at line 241 of file SurfaceDlg.cpp.

void CSurfaceDlg::UpdateSpinners ( bool  bUp,
int  nID 
)
protected

Definition at line 211 of file SurfaceDlg.cpp.

Member Data Documentation

CWnd* CSurfaceDlg::focusControl
private

Definition at line 43 of file SurfaceDlg.h.

BOOL CSurfaceDlg::m_absolute

Definition at line 76 of file SurfaceDlg.h.

bool CSurfaceDlg::m_bPatchMode
private

Definition at line 42 of file SurfaceDlg.h.

float CSurfaceDlg::m_fHeight

Definition at line 74 of file SurfaceDlg.h.

float CSurfaceDlg::m_fWidth

Definition at line 75 of file SurfaceDlg.h.

float CSurfaceDlg::m_horzScale

Definition at line 67 of file SurfaceDlg.h.

float CSurfaceDlg::m_horzShift

Definition at line 68 of file SurfaceDlg.h.

int CSurfaceDlg::m_nHorz

Definition at line 65 of file SurfaceDlg.h.

int CSurfaceDlg::m_nVert

Definition at line 66 of file SurfaceDlg.h.

float CSurfaceDlg::m_rotate

Definition at line 69 of file SurfaceDlg.h.

CString CSurfaceDlg::m_strMaterial

Definition at line 72 of file SurfaceDlg.h.

BOOL CSurfaceDlg::m_subdivide

Definition at line 73 of file SurfaceDlg.h.

float CSurfaceDlg::m_vertScale

Definition at line 70 of file SurfaceDlg.h.

float CSurfaceDlg::m_vertShift

Definition at line 71 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndHeight

Definition at line 59 of file SurfaceDlg.h.

CEdit CSurfaceDlg::m_wndHorz

Definition at line 55 of file SurfaceDlg.h.

CSliderCtrl CSurfaceDlg::m_wndHorzSubdivisions

Definition at line 57 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndHScale

Definition at line 64 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndHShift

Definition at line 63 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndRotate

Definition at line 62 of file SurfaceDlg.h.

CEdit CSurfaceDlg::m_wndRotateEdit

Definition at line 53 of file SurfaceDlg.h.

CEdit CSurfaceDlg::m_wndVert

Definition at line 54 of file SurfaceDlg.h.

CSliderCtrl CSurfaceDlg::m_wndVerticalSubdivisions

Definition at line 56 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndVScale

Definition at line 61 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndVShift

Definition at line 60 of file SurfaceDlg.h.

CSpinButtonCtrl CSurfaceDlg::m_wndWidth

Definition at line 58 of file SurfaceDlg.h.


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