]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/prtview/ConfigDialog.h
transfer from internal tree r5311 branches/1.4-gpl
[xonotic/netradiant.git] / contrib / prtview / ConfigDialog.h
1 /*\r
2 PrtView plugin for GtkRadiant\r
3 Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com\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_CONFIGDIALOG_H__E484E672_2088_11D4_BFFA_204C4F4F5020__INCLUDED_)\r
21 #define AFX_CONFIGDIALOG_H__E484E672_2088_11D4_BFFA_204C4F4F5020__INCLUDED_\r
22 \r
23 #if _MSC_VER >= 1000\r
24 #pragma once\r
25 #endif // _MSC_VER >= 1000\r
26 // ConfigDialog.h : header file\r
27 //\r
28 \r
29 /////////////////////////////////////////////////////////////////////////////\r
30 // CConfigDialog dialog\r
31 \r
32 #ifdef GTK_PLUGIN\r
33 \r
34 void DoConfigDialog ();\r
35 \r
36 #else\r
37 \r
38 class CConfigDialog : public CDialog\r
39 {\r
40 // Construction\r
41 public:\r
42         CConfigDialog(CWnd* pParent = NULL);   // standard constructor\r
43 \r
44 // Dialog Data\r
45         //{{AFX_DATA(CConfigDialog)\r
46         enum { IDD = IDD_CONFIG };\r
47         CButton m_clip_ctrl;\r
48         CStatic m_cubic_ctrl;\r
49         CScrollBar      m_scroll_cubic_ctrl;\r
50         CButton m_line_ctrl;\r
51         CScrollBar      m_scroll_3d_trans_ctrl;\r
52         CStatic m_3d_trans_ctrl;\r
53         CButton m_poly_ctrl;\r
54         CButton m_fog_ctrl;\r
55         CComboBox       m_z_ctrl;\r
56         CScrollBar      m_scroll_3d_width_ctrl;\r
57         CButton m_aa_3d_ctrl;\r
58         CStatic m_3d_width_ctrl;\r
59         CButton m_aa_2d_ctrl;\r
60         CScrollBar      m_scroll_2d_width_ctrl;\r
61         CStatic m_2d_width_ctrl;\r
62         CButton m_3d_ctrl;\r
63         CButton m_2d_ctrl;\r
64         //}}AFX_DATA\r
65 \r
66 \r
67 // Overrides\r
68         // ClassWizard generated virtual function overrides\r
69         //{{AFX_VIRTUAL(CConfigDialog)\r
70         protected:\r
71         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
72         //}}AFX_VIRTUAL\r
73 \r
74 // Implementation\r
75 protected:\r
76 \r
77         void Set2DText();\r
78         void Set3DText();\r
79         void Set3DTransText();\r
80         void SetClipText();\r
81 \r
82         // Generated message map functions\r
83         //{{AFX_MSG(CConfigDialog)\r
84         virtual qboolean OnInitDialog();\r
85         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);\r
86         afx_msg void OnAntiAlias2d();\r
87         afx_msg void OnConfig2d();\r
88         afx_msg void OnConfig3d();\r
89         afx_msg void OnColor2d();\r
90         afx_msg void OnAntiAlias3d();\r
91         afx_msg void OnColor3d();\r
92         afx_msg void OnColorFog();\r
93         afx_msg void OnFog();\r
94         afx_msg void OnSelchangeZbuffer();\r
95         afx_msg void OnPoly();\r
96         afx_msg void OnLines();\r
97         afx_msg void OnClip();\r
98         //}}AFX_MSG\r
99         DECLARE_MESSAGE_MAP()\r
100 };\r
101 \r
102 #endif // GTK_PLUGIN\r
103 \r
104 //{{AFX_INSERT_LOCATION}}\r
105 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.\r
106 \r
107 #endif // !defined(AFX_CONFIGDIALOG_H__E484E672_2088_11D4_BFFA_204C4F4F5020__INCLUDED_)\r