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

#include <NewTexWnd.h>

Inheritance diagram for CNewTexWnd:

Public Member Functions

 CNewTexWnd ()
 
void UpdateFilter (const char *pFilter)
 
void UpdatePrefs ()
 
void FocusEdit ()
 
virtual BOOL DestroyWindow ()
 
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
 
void EnsureTextureIsVisible (const char *name)
 
void LoadMaterials ()
 
virtual ~CNewTexWnd ()
 
BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
int OnToolHitTest (CPoint point, TOOLINFO *pTI)
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 
afx_msg void OnSetFocus (CWnd *pOldWnd)
 

Protected Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 
const idMaterialNextPos ()
 
const idMaterialgetMaterialAtPoint (CPoint point)
 
void InitPos ()
 
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnParentNotify (UINT message, LPARAM lParam)
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnPaint ()
 
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonUp (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 OnShaderClick ()
 

Protected Attributes

bool m_bNeedRange
 
HGLRC hglrcTexture
 
CDC * hdcTexture
 
CPoint cursor
 
CPoint origin
 
CPoint draw
 
CPoint drawRow
 
CPoint current
 
CRect rectClient
 
int currentRow
 
int currentIndex
 
idList< const idMaterial * > materialList
 

Private Member Functions

 DECLARE_DYNCREATE (CNewTexWnd)
 

Detailed Description

Definition at line 42 of file NewTexWnd.h.

Constructor & Destructor Documentation

CNewTexWnd::CNewTexWnd ( )

Definition at line 60 of file NewTexWnd.cpp.

CNewTexWnd::~CNewTexWnd ( )
virtual

Definition at line 72 of file NewTexWnd.cpp.

Member Function Documentation

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

Definition at line 435 of file NewTexWnd.cpp.

CNewTexWnd::DECLARE_DYNCREATE ( CNewTexWnd  )
private
BOOL CNewTexWnd::DestroyWindow ( )
virtual

Definition at line 425 of file NewTexWnd.cpp.

void CNewTexWnd::EnsureTextureIsVisible ( const char *  name)

Definition at line 828 of file NewTexWnd.cpp.

void CNewTexWnd::FocusEdit ( )
const idMaterial * CNewTexWnd::getMaterialAtPoint ( CPoint  point)
protected

Definition at line 453 of file NewTexWnd.cpp.

void CNewTexWnd::InitPos ( )
protected
void CNewTexWnd::LoadMaterials ( )

Definition at line 621 of file NewTexWnd.cpp.

const idMaterial * CNewTexWnd::NextPos ( )
protected

Definition at line 194 of file NewTexWnd.cpp.

int CNewTexWnd::OnCreate ( LPCREATESTRUCT  lpCreateStruct)
protected

Definition at line 128 of file NewTexWnd.cpp.

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

Definition at line 178 of file NewTexWnd.cpp.

void CNewTexWnd::OnKeyUp ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
protected

Definition at line 186 of file NewTexWnd.cpp.

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

Definition at line 484 of file NewTexWnd.cpp.

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

Definition at line 525 of file NewTexWnd.cpp.

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

Definition at line 507 of file NewTexWnd.cpp.

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

Definition at line 534 of file NewTexWnd.cpp.

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

Definition at line 552 of file NewTexWnd.cpp.

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

Definition at line 890 of file NewTexWnd.cpp.

void CNewTexWnd::OnPaint ( )
protected

Definition at line 249 of file NewTexWnd.cpp.

void CNewTexWnd::OnParentNotify ( UINT  message,
LPARAM  lParam 
)
protected

Definition at line 159 of file NewTexWnd.cpp.

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

Definition at line 516 of file NewTexWnd.cpp.

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

Definition at line 542 of file NewTexWnd.cpp.

void CNewTexWnd::OnSetFocus ( CWnd *  pOldWnd)

Definition at line 917 of file NewTexWnd.cpp.

afx_msg void CNewTexWnd::OnShaderClick ( )
protected
void CNewTexWnd::OnSize ( UINT  nType,
int  cx,
int  cy 
)
protected

Definition at line 149 of file NewTexWnd.cpp.

int CNewTexWnd::OnToolHitTest ( CPoint  point,
TOOLINFO *  pTI 
)

Definition at line 881 of file NewTexWnd.cpp.

BOOL CNewTexWnd::OnToolTipNotify ( UINT  id,
NMHDR *  pNMHDR,
LRESULT *  pResult 
)

Definition at line 865 of file NewTexWnd.cpp.

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

Definition at line 380 of file NewTexWnd.cpp.

BOOL CNewTexWnd::PreCreateWindow ( CREATESTRUCT &  cs)
protectedvirtual

Definition at line 100 of file NewTexWnd.cpp.

BOOL CNewTexWnd::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 901 of file NewTexWnd.cpp.

void CNewTexWnd::UpdateFilter ( const char *  pFilter)
void CNewTexWnd::UpdatePrefs ( )

Definition at line 167 of file NewTexWnd.cpp.

Member Data Documentation

CPoint CNewTexWnd::current
protected

Definition at line 87 of file NewTexWnd.h.

int CNewTexWnd::currentIndex
protected

Definition at line 90 of file NewTexWnd.h.

int CNewTexWnd::currentRow
protected

Definition at line 89 of file NewTexWnd.h.

CPoint CNewTexWnd::cursor
protected

Definition at line 83 of file NewTexWnd.h.

CPoint CNewTexWnd::draw
protected

Definition at line 85 of file NewTexWnd.h.

CPoint CNewTexWnd::drawRow
protected

Definition at line 86 of file NewTexWnd.h.

CDC* CNewTexWnd::hdcTexture
protected

Definition at line 82 of file NewTexWnd.h.

HGLRC CNewTexWnd::hglrcTexture
protected

Definition at line 81 of file NewTexWnd.h.

bool CNewTexWnd::m_bNeedRange
protected

Definition at line 80 of file NewTexWnd.h.

idList<const idMaterial*> CNewTexWnd::materialList
protected

Definition at line 91 of file NewTexWnd.h.

CPoint CNewTexWnd::origin
protected

Definition at line 84 of file NewTexWnd.h.

CRect CNewTexWnd::rectClient
protected

Definition at line 88 of file NewTexWnd.h.


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