]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/dialogs/PolygonDialog.h
eol style
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / PolygonDialog.h
1 /*
2 BobToolz plugin for GtkRadiant
3 Copyright (C) 2001 Gordon Biggans
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library 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 GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19
20 #if !defined(AFX_POLYGONDIALOG_H__EF7FE400_628A_11D1_B66D_004095A18133__INCLUDED_)
21 #define AFX_POLYGONDIALOG_H__EF7FE400_628A_11D1_B66D_004095A18133__INCLUDED_
22
23 #if _MSC_VER > 1000
24 #pragma once
25 #endif // _MSC_VER > 1000
26 // PolygonDialog.h : header file
27 //
28
29 /////////////////////////////////////////////////////////////////////////////
30 // CPolygonDialog dialog
31
32 class CPolygonDialog : public CDialog
33 {
34 // Construction
35 public:
36         BOOL GetChkBool(int nID);
37         void EnableBorderEdit(BOOL bEnable);
38         void EnableBordered(BOOL bEnable);
39         CPolygonDialog(CWnd* pParent = NULL);   // standard constructor
40
41 // Dialog Data
42         //{{AFX_DATA(CPolygonDialog)
43         enum { IDD = IDD_POLYGON_DIALOG };
44         UINT    m_nSideCount;
45         BOOL    m_bInverse;
46         BOOL    m_bBorder;
47         UINT    m_nBorderSize;
48         BOOL    m_bAlignTop;
49         //}}AFX_DATA
50
51
52 // Overrides
53         // ClassWizard generated virtual function overrides
54         //{{AFX_VIRTUAL(CPolygonDialog)
55         protected:
56         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
57         //}}AFX_VIRTUAL
58
59 // Implementation
60 protected:
61
62         // Generated message map functions
63         //{{AFX_MSG(CPolygonDialog)
64         virtual BOOL OnInitDialog();
65         afx_msg void OnBorderChkClicked();
66         afx_msg void OnInverseChkClickrd();
67         //}}AFX_MSG
68         DECLARE_MESSAGE_MAP()
69 };
70
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
73
74 #endif // !defined(AFX_POLYGONDIALOG_H__EF7FE400_628A_11D1_B66D_004095A18133__INCLUDED_)