summaryrefslogtreecommitdiff
path: root/src/T2PoolView.h
blob: 7b2454556429817443add2008a0fca1f49103866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
};