Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

EntityListDlg.cpp File Reference

#include "stdafx.h"
#include "Radiant.h"
#include "EntityListDlg.h"

Include dependency graph for EntityListDlg.cpp:

Include dependency graph

Go to the source code of this file.

Functions

 BEGIN_MESSAGE_MAP (CEntityListDlg, CDialog) ON_BN_CLICKED(IDSELECT
OnSelect OnDblclkTreeEntity END_MESSAGE_MAP () void CEntityListDlg
OnSelect ON_NOTIFY (TVN_SELCHANGED, IDC_TREE_ENTITY, OnSelchangedTreeEntity) ON_NOTIFY(NM_DBLCLK

Variables

OnSelect IDC_TREE_ENTITY


Function Documentation

BEGIN_MESSAGE_MAP CEntityListDlg  ,
CDialog 
 

OnSelect OnDblclkTreeEntity END_MESSAGE_MAP  ) 
 

Definition at line 63 of file EntityListDlg.cpp.

References entity_t::brushes, Select_Brush(), Select_Deselect(), Sys_UpdateWindows(), and W_ALL.

00069 {
00070   HTREEITEM hItem = m_treeEntity.GetSelectedItem();
00071   if (hItem)
00072   {
00073     entity_t* pEntity = reinterpret_cast<entity_t*>(m_treeEntity.GetItemData(hItem));
00074     if (pEntity)
00075     {
00076       Select_Deselect();
00077         Select_Brush (pEntity->brushes.onext);
00078     }
00079     }
00080   Sys_UpdateWindows(W_ALL);
00081 }

Here is the call graph for this function:

OnSelect ON_NOTIFY TVN_SELCHANGED  ,
IDC_TREE_ENTITY  ,
OnSelchangedTreeEntity 
 


Variable Documentation

OnSelect IDC_TREE_ENTITY
 

Definition at line 61 of file EntityListDlg.cpp.


Generated on Thu Aug 25 17:36:14 2005 for Quake III Arena by  doxygen 1.3.9.1