1
0
mirror of https://github.com/DxWnd/DxWnd.reloaded synced 2024-12-30 09:25:35 +01:00
DxWnd.reloaded/host/CGlobalSettings.h
gho tik fa59792b6d v2_03_97_srcfx4
Former-commit-id: 0a0c6e9745c65c643a8087714bb50dd885f36bbf
2017-03-06 11:48:16 -05:00

60 lines
1.0 KiB
C++

#include "specialedit.h"
#pragma once
typedef struct {
int iLabelResourceId;
char *sLabel;
int iComboResourceId;
char *sIniLabel;
int iComboSelection;
} Key_Type;
typedef struct {
DWORD dwVKeyCode;
char *sVKeyLabel;
} KeyCombo_Type;
// CGlobalSettings dialog
class CGlobalSettings : public CDialog
{
DECLARE_DYNAMIC(CGlobalSettings)
public:
CGlobalSettings(CWnd* pParent = NULL); // standard constructor
virtual ~CGlobalSettings();
// Dialog Data
enum { IDD = IDD_GLOBAL_CONFIG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
BOOL m_DebugMode;
BOOL m_UpdatePaths;
BOOL m_AutoHideMode;
BOOL m_CheckAdminRights;
BOOL m_NameFromFolder;
BOOL m_MultiHooks;
BOOL m_WarnOnExit;
int m_TexMinX;
int m_TexMinY;
int m_TexMaxX;
int m_TexMaxY;
int m_DefaultCoordinates;
int m_DefaultPosX;
int m_DefaultPosY;
int m_DefaultSizX;
int m_DefaultSizY;
DECLARE_MESSAGE_MAP()
public:
public:
virtual BOOL OnInitDialog();
protected:
CSpecialEdit m_EditPosX;
CSpecialEdit m_EditPosY;
virtual void OnOK();
};