Keep the font size of 8 for the explorer property page
[TortoiseGit.git] / src / TortoiseGitBlame / MainFrm.h
bloba2fb32e7011ed37dc176d46aa96b66deb04b35d2
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011, 2013, 2016-2017 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 // MainFrm.h : interface of the CMainFrame class
24 #pragma once
25 #include "OutputWnd.h"
26 #include "PropertiesWnd.h"
28 class CMainFrame : public CFrameWndEx
30 protected: // create from serialization only
31 CMainFrame();
32 DECLARE_DYNCREATE(CMainFrame)
33 virtual void OnUpdateFrameTitle(BOOL bAddToTitle) override
35 CFrameWndEx::OnUpdateFrameTitle( bAddToTitle);
38 public:
39 virtual BOOL PreCreateWindow(CREATESTRUCT& cs) override;
40 virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = nullptr, CCreateContext* pContext = nullptr) override;
42 // Implementation
43 public:
44 virtual ~CMainFrame();
45 #ifdef _DEBUG
46 virtual void AssertValid() const override;
47 virtual void Dump(CDumpContext& dc) const override;
48 #endif
50 COutputWnd m_wndOutput;
51 CPropertiesWnd m_wndProperties;
52 CMFCStatusBar m_wndStatusBar;
53 protected: // control bar embedded members
54 CMFCMenuBar m_wndMenuBar;
55 CMFCToolBar m_wndToolBar;
56 CMFCToolBarImages m_UserImages;
58 // Generated message map functions
59 protected:
60 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
61 afx_msg void OnUpdateHelpFinder(CCmdUI *pCmdUI);
62 afx_msg void OnViewCustomize();
63 afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp);
64 afx_msg LRESULT OnTaskbarButtonCreated(WPARAM wParam, LPARAM lParam);
65 DECLARE_MESSAGE_MAP()
67 BOOL CreateDockingWindows();
68 void SetDockingWindowIcons(BOOL bHiColorIcons);