summaryrefslogtreecommitdiff
path: root/src/T2PoolView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2PoolView.h')
-rw-r--r--src/T2PoolView.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/T2PoolView.h b/src/T2PoolView.h
index fcaf1ff..7b24545 100644
--- a/src/T2PoolView.h
+++ b/src/T2PoolView.h
@@ -1,3 +1,20 @@
#pragma once
#include "common.h"
+class T2PoolView : public CFrameWnd {
+ DECLARE_DYNCREATE(T2PoolView)
+ DECLARE_MESSAGE_MAP()
+
+public:
+ T2PoolView();
+ virtual ~T2PoolView();
+ void SetPool(T2Pool *inPool);
+
+protected:
+ afx_msg BOOL OnEraseBkgnd(CDC *pDC);
+ afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
+ afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
+ void Draw(CDC *pDC, CPoint *inPt, T2PeopleTimeZoneList **outTimeZoneList, T2PeopleTypeArray **outPeopleTypeArray, int *outUnknown);
+
+ T2Pool *mPool;
+};