-
Notifications
You must be signed in to change notification settings - Fork 0
/
LauncherDlg.h
84 lines (69 loc) · 2.1 KB
/
LauncherDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// LauncherDlg.h : header file
//
#if !defined(AFX_LAUNCHERDLG_H__5B7FC6D5_4D7B_4D82_BCA0_D2D5143B9160__INCLUDED_)
#define AFX_LAUNCHERDLG_H__5B7FC6D5_4D7B_4D82_BCA0_D2D5143B9160__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TabCommLine.h"
#include "TabHelp.h"
#include "TabMOD.h"
#include "TabRegOptions.h"
#include "TabVideo.h"
#include "TabSound.h"
#include "TabSpeech.h"
#include "TabNetwork.h"
/////////////////////////////////////////////////////////////////////////////
// CLauncherDlg dialog
class CLauncherDlg : public CDialog
{
// Construction
public:
CLauncherDlg(CWnd* pParent = NULL); // standard constructor
void TabSelected(int selected_tab = 0);
void ExeSelected(char *exe_path);
static void Redraw();
// Dialog Data
//{{AFX_DATA(CLauncherDlg)
enum { IDD = IDD_LAUNCHER_DIALOG };
CTabCtrl m_tabctrl;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLauncherDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
static CLauncherDlg *singleton;
int currently_selected_tab;
BOOL InitTabControl();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLauncherDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnApply();
afx_msg void OnSelchangeHolder(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRun();
afx_msg void OnBrowse();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
// char m_exe_path[MAX_PATH];
};
extern CTabCommLine tab_comm_line;
extern CTabHelp tab_help;
extern CTabMOD tab_mod;
extern CTabRegOptions tab_reg_options;
extern CTabVideo tab_video;
extern CTabSound tab_sound;
extern CTabSpeech tab_speech;
extern CTabNetwork tab_network;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LAUNCHERDLG_H__5B7FC6D5_4D7B_4D82_BCA0_D2D5143B9160__INCLUDED_)