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