-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathEditorDialog.h
More file actions
48 lines (41 loc) · 1.16 KB
/
EditorDialog.h
File metadata and controls
48 lines (41 loc) · 1.16 KB
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
#pragma once
#include "Firmware.h"
#include "PicturesDialog.h"
#include "FontsDialog.h"
#include "StringDialog.h"
#include "OTFDialog.h"
#include "LayoutDialog.h"
#include "afxwin.h"
#include "afxcmn.h"
// CEditorDialog dialog
class CEditorDialog : public CDialog
{
DECLARE_DYNAMIC(CEditorDialog)
public:
CEditorDialog(CWnd* pParent = NULL); // standard constructor
virtual ~CEditorDialog();
// Dialog Data
enum { IDD = IDD_EDITOR_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
CTabCtrl m_PropsTab;
void SetFirmware(CFirmware *pFirmware);
void UpdatePages(BOOL bFonts = FALSE);
CPicturesDialog m_PicsDialog;
CFontsDialog m_FontsDialog;
CStringDialog m_StringDialog;
COTFDialog m_OTFDialog;
CLayoutDialog m_LayoutDialog;
BOOL bFonts,bOTFCreate;
void SetPreviewButton(CWnd *pWnd);
CWnd *m_pThemePreview;
protected:
virtual void OnOK();
CFirmware *m_pFirmware;
public:
afx_msg void OnTcnSelchangePropTab(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg LRESULT OnSwitchFontSystem(WPARAM wParam, LPARAM lParam);
};