Drop unused icon
[TortoiseGit.git] / src / TortoiseGitBlame / MainFrm.h
blobb5e2141de9841952e8a364ef87362d6d7d2e3dd7
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011, 2013, 2016 - 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)
35 CFrameWndEx::OnUpdateFrameTitle( bAddToTitle);
38 public:
39 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
40 virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = nullptr, CCreateContext* pContext = nullptr);
42 // Implementation
43 public:
44 virtual ~CMainFrame();
45 #ifdef _DEBUG
46 virtual void AssertValid() const;
47 virtual void Dump(CDumpContext& dc) const;
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 void OnApplicationLook(UINT id);
65 afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI);
66 afx_msg LRESULT OnTaskbarButtonCreated(WPARAM wParam, LPARAM lParam);
67 DECLARE_MESSAGE_MAP()
69 BOOL CreateDockingWindows();
70 void SetDockingWindowIcons(BOOL bHiColorIcons);