28 #ifndef __DIALOGTEXTURES_H
29 #define __DIALOGTEXTURES_H
44 enum {
NONE,
TEXTURES,
MATERIALS,
MODELS,
SCRIPTS,
SOUNDS,
SOUNDPARENT,
GUIS,
PARTICLES,
FX,
NUMIDS };
91 const char *
buildItemName(HTREEITEM item,
const char *rootName);
93 HTREEITEM
findItem(
const char *
name, HTREEITEM item, HTREEITEM *foundItem);
106 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
107 afx_msg
void OnSize(
UINT nType,
int cx,
int cy);
110 DECLARE_MESSAGE_MAP()
124 #endif // !defined(AFX_DIALOGTEXTURES_H__F3F3F984_E47E_11D1_B61B_00AA00A410FC__INCLUDED_)
#define IDD_DIALOG_TEXTURELIST
afx_msg void OnMaterialEdit()
void SelectCurrentItem(bool collapse, const char *name, int id)
CONST PIXELFORMATDESCRIPTOR UINT
const char * buildItemName(HTREEITEM item, const char *rootName)
void addScripts(bool rootItems)
virtual void DoDataExchange(CDataExchange *pDX)
afx_msg void OnClickTreeTextures(NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnSetFocus(CWnd *pOldWnd)
HTREEITEM findItem(const char *name, HTREEITEM item, HTREEITEM *foundItem)
idGLDrawableMaterial m_drawMaterial
afx_msg void OnMaterialInfo()
void addParticles(bool rootItems)
void addModels(bool rootItems)
afx_msg void OnSelchangedTreeTextures(NMHDR *pNMHDR, LRESULT *pResult)
static const char * TypeNames[NUMIDS]
idGLDrawableModel m_drawModel
afx_msg void OnNMRclickTreeTextures(NMHDR *pNMHDR, LRESULT *pResult)
idHashTable< HTREEITEM > quickTree
idGLDrawable m_testDrawable
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)
afx_msg void OnCheckHideroot()
bool loadTree(HTREEITEM item, const idStr &name, CWaitDlg *dlg)
const idMaterial * editMaterial
CDialogTextures(CWnd *pParent=NULL)
void CollapseChildren(HTREEITEM parent)
void addStrList(const char *root, const idStrList &list, int id)
virtual BOOL PreCreateWindow(CREATESTRUCT &cs)
afx_msg void OnSize(UINT nType, int cx, int cy)
virtual BOOL OnInitDialog()
void addSounds(bool rootItems)
void addGuis(bool rootItems)
virtual BOOL PreTranslateMessage(MSG *pMsg)
afx_msg void OnDblclkTreeTextures(NMHDR *pNMHDR, LRESULT *pResult)
void addMaterials(bool rootItems)