]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/dialogs/PolygonDialog.h
reformat code! now the code is only ugly on the *inside*
[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 // Construction
34 public:
35     BOOL GetChkBool(int nID);
36
37     void EnableBorderEdit(BOOL bEnable);
38
39     void EnableBordered(BOOL bEnable);
40
41     CPolygonDialog(CWnd *pParent = NULL);     // standard constructor
42
43 // Dialog Data
44 //{{AFX_DATA(CPolygonDialog)
45     enum { IDD = IDD_POLYGON_DIALOG };
46     UINT m_nSideCount;
47     BOOL m_bInverse;
48     BOOL m_bBorder;
49     UINT m_nBorderSize;
50     BOOL m_bAlignTop;
51 //}}AFX_DATA
52
53
54 // Overrides
55 // ClassWizard generated virtual function overrides
56 //{{AFX_VIRTUAL(CPolygonDialog)
57 protected:
58     virtual void DoDataExchange(CDataExchange *pDX);      // DDX/DDV support
59 //}}AFX_VIRTUAL
60
61 // Implementation
62 protected:
63
64 // Generated message map functions
65 //{{AFX_MSG(CPolygonDialog)
66     virtual BOOL OnInitDialog();
67
68     afx_msg void OnBorderChkClicked();
69
70     afx_msg void OnInverseChkClickrd();
71
72 //}}AFX_MSG
73     DECLARE_MESSAGE_MAP()
74 };
75
76 //{{AFX_INSERT_LOCATION}}
77 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
78
79 #endif // !defined(AFX_POLYGONDIALOG_H__EF7FE400_628A_11D1_B66D_004095A18133__INCLUDED_)