#include "SciEdit.h"\r
\r
#include "GitBlameLogList.h"\r
+#include "Balloon.h"\r
\r
const COLORREF black = RGB(0,0,0);\r
const COLORREF white = RGB(0xff,0xff,0xff);\r
\r
// Generated message map functions\r
protected:\r
+ BOOL PreTranslateMessage(MSG* pMsg);\r
afx_msg void OnFilePrintPreview();\r
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);\r
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);\r
afx_msg void OnLButtonDown(UINT nFlags,CPoint point);\r
afx_msg void OnRButtonDown(UINT nFlags,CPoint point){OnLButtonDown(nFlags,point);CView::OnRButtonDown(nFlags,point);};\r
afx_msg void OnSciGetBkColor(NMHDR*, LRESULT*);\r
+ afx_msg void OnMouseHover(UINT nFlags, CPoint point);\r
+ afx_msg void OnMouseMove(UINT nFlags, CPoint point);\r
DECLARE_MESSAGE_MAP()\r
\r
public:\r
void FocusOn(GitRev *pRev);\r
\r
CSciEdit m_TextView;\r
+ CBalloon m_ToolTip;\r
\r
HINSTANCE hInstance;\r
HINSTANCE hResource;\r
void SetSelectedLine(LONG line) { m_SelectedLine=line;};\r
\r
LONG m_mouserev;\r
- CString m_MouseHash;\r
+ LONG m_MouseLine;\r
LONG m_selectedrev;\r
LONG m_selectedorigrev;\r
CString m_SelectedHash;\r