| 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_SELECTRANGEDIALOG_H__533831C1_0A78_11D1_9797_006097D5770E__INCLUDED_) |
| 20 | #define AFX_SELECTRANGEDIALOG_H__533831C1_0A78_11D1_9797_006097D5770E__INCLUDED_ |
| 21 | |
| 22 | #if _MSC_VER >= 1000 |
| 23 | #pragma once |
| 24 | #endif // _MSC_VER >= 1000 |
| 25 | // SelectRangeDialog.h : header file |
| 26 | // |
| 27 | |
| 28 | ///////////////////////////////////////////////////////////////////////////// |
| 29 | // SelectRangeDialog dialog |
| 30 | |
| 31 | class SelectRangeDialog : public CDialog { |
| 32 | // Construction |
| 33 | public: |
| 34 | SelectRangeDialog(CWnd *pParent = NULL); // standard constructor |
| 35 | |
| 36 | // Dialog Data |
| 37 | //{{AFX_DATA(SelectRangeDialog) |
| 38 | enum { IDD = IDD_SELECTRANGE_DIALOG }; |
| 39 | // NOTE: the ClassWizard will add data members here |
| 40 | //}}AFX_DATA |
| 41 | |
| 42 | // Overrides |
| 43 | // ClassWizard generated virtual function overrides |
| 44 | //{{AFX_VIRTUAL(SelectRangeDialog) |
| 45 | protected: |
| 46 | virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support |
| 47 | //}}AFX_VIRTUAL |
| 48 | |
| 49 | // Implementation |
| 50 | protected: |
| 51 | // Generated message map functions |
| 52 | //{{AFX_MSG(SelectRangeDialog) |
| 53 | afx_msg void OnKillfocusLowerBoundEdit(); |
| 54 | afx_msg void OnKillfocusUpperBoundEdit(); |
| 55 | virtual void OnOK(); |
| 56 | virtual void OnCancel(); |
| 57 | afx_msg void OnSelectSlopeCheck(); |
| 58 | afx_msg void OnKillfocusSlopeEdit(); |
| 59 | afx_msg void OnInverseCheck(); |
| 60 | afx_msg void OnTextureGridCheck(); |
| 61 | afx_msg void OnRandomCheck(); |
| 62 | afx_msg void OnSelectCurTextureCheck(); |
| 63 | //}}AFX_MSG |
| 64 | DECLARE_MESSAGE_MAP() |
| 65 | |
| 66 | private: |
| 67 | int UpperBound; |
| 68 | int LowerBound; |
| 69 | int SlopeAngle; |
| 70 | }; |
| 71 | |
| 72 | //{{AFX_INSERT_LOCATION}} |
| 73 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
| 74 | |
| 75 | #endif // !defined(AFX_SELECTRANGEDIALOG_H__533831C1_0A78_11D1_9797_006097D5770E__INCLUDED_) |