Add Miss PatchViewDlg.cpp and PatchViewDlg.h
[TortoiseGit.git] / src / TortoiseProc / PatchViewDlg.h
blob31107c4238a0f10b7646d0f9de549f32b1f7905b
1 #pragma once
2 #include "SciEdit.h"
3 #include "ProjectProperties.h"
4 // CPatchViewDlg dialog
5 class CCommitDlg;
6 class CPatchViewDlg : public CDialog
8 DECLARE_DYNAMIC(CPatchViewDlg)
10 public:
11 CPatchViewDlg(CWnd* pParent = NULL); // standard constructor
12 virtual ~CPatchViewDlg();
13 CCommitDlg *m_ParentCommitDlg;
15 // Dialog Data
16 enum { IDD = IDD_PATCH_VIEW };
18 protected:
19 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
20 void SetAStyle(int style, COLORREF fore, COLORREF back=::GetSysColor(COLOR_WINDOW), int size=-1, const char *face=0);
22 CSciEdit m_ctrlPatchView;
24 DECLARE_MESSAGE_MAP()
25 public:
26 ProjectProperties *m_pProjectProperties;
27 virtual BOOL OnInitDialog();
28 afx_msg void OnSize(UINT nType, int cx, int cy);
29 afx_msg void OnMoving(UINT fwSide, LPRECT pRect);
30 afx_msg void OnDestroy();