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 f260a88bac v2_04_06_src
Former-commit-id: 91f17dc67c3b955350280809333f442ac6afb059
2017-03-06 11:49:27 -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();
};