mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-27 07:54:51 +01:00
79 lines
2.2 KiB
C++
79 lines
2.2 KiB
C++
/* Copyright (c) 2002-2012 Croteam Ltd.
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of version 2 of the GNU General Public License as published by
|
|
the Free Software Foundation
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
|
|
|
// DlgPreferences.h : header file
|
|
//
|
|
#ifndef DLGPREFERENCES_H
|
|
#define DLGPREFERENCES_H 1
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgPreferences dialog
|
|
|
|
class CDlgPreferences : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDlgPreferences(CWnd* pParent = NULL); // standard constructor
|
|
void InitTextureCombos();
|
|
CAppPrefs m_Prefs;
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDlgPreferences)
|
|
enum { IDD = IDD_PREFERENCES };
|
|
CComboBox m_ctrlGfxApi;
|
|
CColoredButton m_colorDefaultAmbientColor;
|
|
CColoredButton m_MappingWinBcgColor;
|
|
CButton m_OkButton;
|
|
CComboBox m_ComboWinBcgTexture;
|
|
CColoredButton m_MappingPaper;
|
|
CColoredButton m_ModelPaper;
|
|
CColoredButton m_ModelInk;
|
|
CColoredButton m_MappingInactiveInk;
|
|
CColoredButton m_MappingActiveInk;
|
|
BOOL m_AllwaysLamp;
|
|
BOOL m_PrefsCopy;
|
|
BOOL m_AutoMaximize;
|
|
BOOL m_SetDefaultColors;
|
|
BOOL m_WindowFit;
|
|
BOOL m_bIsFloorVisibleByDefault;
|
|
float m_fDefaultBanking;
|
|
float m_fDefaultHeading;
|
|
float m_fDefaultPitch;
|
|
float m_fDefaultFOW;
|
|
BOOL m_bIsBcgVisibleByDefault;
|
|
BOOL m_bAllowSoundLock;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDlgPreferences)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDlgPreferences)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnAddWorkingTexture();
|
|
afx_msg void OnRemoveWorkingTexture();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
#endif // DLGPREFERENCES_H
|