summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2BalloonWnd.h
blob: b53eed7616a8d85c47484074982f19ebe7bf7a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef T2DLL_T2BALLOONWND_H
#define T2DLL_T2BALLOONWND_H
#include "../common.h"

class AFX_CLASS_EXPORT T2BalloonWnd : public CFrameWnd {
    DECLARE_DYNCREATE(T2BalloonWnd)
    DECLARE_MESSAGE_MAP()

public:
	T2BalloonWnd();
	virtual ~T2BalloonWnd();
	void Show(int inX, int inY, const CString& inText, BOOL inIsPause);

protected:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();

    CFont mFont;
    CString mWndClass;
    CRect mRect1;
    CRect mRect2;
    int mDirection;
    CRgn mRgn;
    BOOL mVisible;
    POINT mStartCursorPos;
    BOOL mIsPause;
};
#endif