Merge branch 'master' of git://github.com/Jopie64/tortoisegit
[TortoiseGit.git] / src / TortoiseGitBlame / OutputWnd.h
blobf33ec27dd98391114cfb6e4337546d73d4b267e4
2 #pragma once
4 #include "GitBlameLogList.h"
5 /////////////////////////////////////////////////////////////////////////////
6 // COutputList window
8 class COutputList : public CListBox
10 // Construction
11 public:
12 COutputList();
14 // Implementation
15 public:
16 virtual ~COutputList();
18 protected:
19 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
20 afx_msg void OnEditCopy();
21 afx_msg void OnEditClear();
22 afx_msg void OnViewOutput();
24 DECLARE_MESSAGE_MAP()
27 class COutputWnd;
29 class CGitMFCTabCtrl: public CMFCTabCtrl
31 protected:
32 DECLARE_MESSAGE_MAP()
33 afx_msg void OnLvnItemchangedLoglist(NMHDR *pNMHDR, LRESULT *pResult);
35 DECLARE_DYNCREATE(CGitMFCTabCtrl);
38 class COutputWnd : public CDockablePane
40 DECLARE_DYNAMIC(COutputWnd)
41 // Construction
42 public:
43 COutputWnd();
45 // Attributes
46 public:
47 CFont m_Font;
49 CGitMFCTabCtrl m_wndTabs;
51 CGitBlameLogList m_LogList;
52 // COutputList m_wndOutputBuild;
53 // COutputList m_wndOutputDebug;
54 // COutputList m_wndOutputFind;
56 protected:
57 void FillBuildWindow();
58 void FillDebugWindow();
59 void FillFindWindow();
61 void AdjustHorzScroll(CListBox& wndListBox);
63 // Implementation
64 public:
65 virtual ~COutputWnd();
66 afx_msg void OnLvnItemchangedLoglist(NMHDR *pNMHDR, LRESULT *pResult);
67 int LoadHistory(CString filename);
69 protected:
70 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
71 afx_msg void OnSize(UINT nType, int cx, int cy);
73 DECLARE_MESSAGE_MAP()