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