| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #if !defined(AFX_DALLASTEXTUREDLG_H__68211402_B2C7_11D2_A4E0_00A0C96ED60D__INCLUDED_) |
| 20 | #define AFX_DALLASTEXTUREDLG_H__68211402_B2C7_11D2_A4E0_00A0C96ED60D__INCLUDED_ |
| 21 | |
| 22 | #if _MSC_VER > 1000 |
| 23 | #pragma once |
| 24 | #endif // _MSC_VER > 1000 |
| 25 | // DallasTextureDlg.h : header file |
| 26 | // |
| 27 | |
| 28 | ///////////////////////////////////////////////////////////////////////////// |
| 29 | // CDallasTextureDlg dialog |
| 30 | |
| 31 | class CDallasTextureDlg : public CDialog { |
| 32 | // Construction |
| 33 | public: |
| 34 | CString m_TextureName; |
| 35 | int m_TextureIndex; |
| 36 | |
| 37 | CDallasTextureDlg(CWnd *pParent = NULL); // standard constructor |
| 38 | |
| 39 | void FillTextureList(void); |
| 40 | |
| 41 | // Dialog Data |
| 42 | //{{AFX_DATA(CDallasTextureDlg) |
| 43 | enum { IDD = IDD_DALLAS_TEXTURE_DIALOG }; |
| 44 | CListBox m_TextureList; |
| 45 | //}}AFX_DATA |
| 46 | |
| 47 | // Overrides |
| 48 | // ClassWizard generated virtual function overrides |
| 49 | //{{AFX_VIRTUAL(CDallasTextureDlg) |
| 50 | protected: |
| 51 | virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support |
| 52 | //}}AFX_VIRTUAL |
| 53 | |
| 54 | // Implementation |
| 55 | protected: |
| 56 | // Generated message map functions |
| 57 | //{{AFX_MSG(CDallasTextureDlg) |
| 58 | virtual BOOL OnInitDialog(); |
| 59 | virtual void OnOK(); |
| 60 | virtual void OnCancel(); |
| 61 | //}}AFX_MSG |
| 62 | DECLARE_MESSAGE_MAP() |
| 63 | }; |
| 64 | |
| 65 | //{{AFX_INSERT_LOCATION}} |
| 66 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
| 67 | |
| 68 | #endif // !defined(AFX_DALLASTEXTUREDLG_H__68211402_B2C7_11D2_A4E0_00A0C96ED60D__INCLUDED_) |