OSDN Git Service

Create TortoiseGitBlame
[tortoisegit/TortoiseGitJp.git] / src / TortoiseGitBlame / OutputWnd.h
1 \r
2 #pragma once\r
3 \r
4 /////////////////////////////////////////////////////////////////////////////\r
5 // COutputList window\r
6 \r
7 class COutputList : public CListBox\r
8 {\r
9 // Construction\r
10 public:\r
11         COutputList();\r
12 \r
13 // Implementation\r
14 public:\r
15         virtual ~COutputList();\r
16 \r
17 protected:\r
18         afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);\r
19         afx_msg void OnEditCopy();\r
20         afx_msg void OnEditClear();\r
21         afx_msg void OnViewOutput();\r
22 \r
23         DECLARE_MESSAGE_MAP()\r
24 };\r
25 \r
26 class COutputWnd : public CDockablePane\r
27 {\r
28 // Construction\r
29 public:\r
30         COutputWnd();\r
31 \r
32 // Attributes\r
33 protected:\r
34         CFont m_Font;\r
35 \r
36         CMFCTabCtrl     m_wndTabs;\r
37 \r
38         COutputList m_wndOutputBuild;\r
39         COutputList m_wndOutputDebug;\r
40         COutputList m_wndOutputFind;\r
41 \r
42 protected:\r
43         void FillBuildWindow();\r
44         void FillDebugWindow();\r
45         void FillFindWindow();\r
46 \r
47         void AdjustHorzScroll(CListBox& wndListBox);\r
48 \r
49 // Implementation\r
50 public:\r
51         virtual ~COutputWnd();\r
52 \r
53 protected:\r
54         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);\r
55         afx_msg void OnSize(UINT nType, int cx, int cy);\r
56 \r
57         DECLARE_MESSAGE_MAP()\r
58 };\r
59 \r