Page principale   Liste des namespaces   Hiérarchie des classes   Liste par ordre alphabétique   Liste des composants   Liste des fichiers   Membres des namespaces   Composants   Déclarations  

Référence de la classe CAsc2MapDlg

#include <Asc2MapDlg.h>


Types Publics

enum  { IDD = IDD_ASC2MAP_DIALOG }

Membres publics

 CAsc2MapDlg (CWnd *pParent=NULL)

Membres protégés

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg void OnPaint ()
afx_msg HCURSOR OnQueryDragIcon ()
 DECLARE_MESSAGE_MAP () public

Attributs Protégés

HICON m_hIcon


Documentation des énumérations imbriquées

anonymous enum
 

Éléments énumérés:
IDD 

Définition à la ligne 22 du fichier Asc2MapDlg.h.

00022 { IDD = IDD_ASC2MAP_DIALOG };


Documentation des contructeurs et destructeurs

CAsc2MapDlg CWnd *    pParent = NULL
 


Documentation des méthodes

DECLARE_MESSAGE_MAP   [inline, protected]
 

Définition à la ligne 37 du fichier Asc2MapDlg.h.

00038       :
00039         CString m_SAscFileName;
00040         CString m_SMapFile;
00041         
00042         FILE                    *AscFile;
00043         FILE                    *MapFile;
00044         bool                    FindAllTexture; 
00045         afx_msg void OnBnClickedOk();
00046         afx_msg void OnBnClickedButbrowseasc();
00047         afx_msg void OnBnClickedButbrowsetexttop();
00048         afx_msg void OnBnClickedButbrowsetextbottom();
00049         afx_msg void OnBnClickedButbrowsetextfront();
00050         afx_msg void OnBnClickedButbrowsetextback();
00051         afx_msg void OnBnClickedButbrowsetextleft();
00052         afx_msg void OnBnClickedButbrowsetextright();
00053         CEdit m_CAscFile;
00054 
00055         CString m_STextureName;
00056         CString m_STextureNameBottom;
00057         CString m_STextureNameFront;
00058         CString m_STextureNameBack;
00059         CString m_STextureNameLeft;
00060         CString m_STextureNameRight;
00061         afx_msg void OnBnClickedButbrowsemapfile();
00062         void CreateMapFile(void);
00063 
00064         struct SVertex
00065         {
00066                 double x,y,z,u,v;
00067         };

void DoDataExchange CDataExchange *    pDX [protected, virtual]
 

Définition à la ligne 61 du fichier Asc2MapDlg.cpp.

Références IDC_EDIT4, IDC_EDIT5, IDC_EDIT6, IDC_EDIT8, IDC_EDITASCFILE, IDC_EDITMAPFILE, et IDC_EDITTEXTURE.

00063 {
00064         CDialog::DoDataExchange(pDX);
00065         DDX_Text(pDX, IDC_EDITASCFILE, m_SAscFileName);
00066         DDX_Text(pDX, IDC_EDITMAPFILE, m_SMapFile);
00067         DDX_Text(pDX, IDC_EDITTEXTURE, m_STextureName);
00068         DDX_Control(pDX, IDC_EDITASCFILE, m_CAscFile);
00069         DDX_Text(pDX, IDC_EDIT4, m_STextureNameBottom);
00070         DDX_Text(pDX, IDC_EDIT5, m_STextureNameFront);
00071         DDX_Text(pDX, IDC_EDIT6, m_STextureNameBack);
00072         DDX_Text(pDX, IDC_EDIT7, m_STextureNameLeft);
00073         DDX_Text(pDX, IDC_EDIT8, m_STextureNameRight);

virtual BOOL OnInitDialog   [protected, virtual]
 

void OnPaint   [protected]
 

Définition à la ligne 143 du fichier Asc2MapDlg.cpp.

Références m_hIcon.

00145 {
00146         if (IsIconic())
00147         {
00148                 CPaintDC dc(this); // contexte de périphérique pour la peinture
00149 
00150                 SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0);
00151 
00152                 // Centrer l'icône dans le rectangle client
00153                 int cxIcon = GetSystemMetrics(SM_CXICON);
00154                 int cyIcon = GetSystemMetrics(SM_CYICON);
00155                 CRect rect;
00156                 GetClientRect(&rect);
00157                 int x = (rect.Width() - cxIcon + 1) / 2;
00158                 int y = (rect.Height() - cyIcon + 1) / 2;
00159 
00160                 // Dessiner l'icône
00161                 dc.DrawIcon(x, y, m_hIcon);
00162         }
00163         else
00164         {
00165                 CDialog::OnPaint();
00166         }

HCURSOR OnQueryDragIcon   [protected]
 

Définition à la ligne 170 du fichier Asc2MapDlg.cpp.

00172 {
00173         return static_cast<HCURSOR>(m_hIcon);

void OnSysCommand UINT    nID,
LPARAM    lParam
[protected]
 

Définition à la ligne 126 du fichier Asc2MapDlg.cpp.

00128 {
00129         if ((nID & 0xFFF0) == IDM_ABOUTBOX)
00130         {
00131                 CAboutDlg dlgAbout;
00132                 dlgAbout.DoModal();
00133         }
00134         else
00135         {
00136                 CDialog::OnSysCommand(nID, lParam);
00137         }


Documentation des données imbriquées

HICON m_hIcon [protected]
 

Définition à la ligne 30 du fichier Asc2MapDlg.h.

Référencé par OnPaint().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Dec 10 18:18:22 2002 pour ExNihilo par doxygen1.3-rc1