blob: 368ad62b387cbd726ddad5deac9da0f42f662c76 (
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
33
34
35
|
#ifndef T2DLL_CPILEDMULTIBARCHARTVIEW_H
#define T2DLL_CPILEDMULTIBARCHARTVIEW_H
#include "../common.h"
class AFX_CLASS_EXPORT CPiledMultiBarChartView : public CWnd {
public:
struct GraphData {
int piles, bars;
int *data;
};
static CPiledMultiBarChartView* CreateCPiledMultiBarChartViewStream(T2Archive* inStream);
CPiledMultiBarChartView(T2Archive* inStream);
virtual ~CPiledMultiBarChartView();
void SetGraphData(const GraphData* inData);
void SetPixelPerValue(int inPixelPerValue, BOOL inRefresh);
void SetColorOfPiles(int inCount, const COLORREF* inColors, BOOL inRefresh);
void Refresh();
void DrawSelf();
protected:
BOOL mSkipDrawing;
int mPiles;
int mBars;
int mBarWidth;
int mBarInterval;
int mXOffset;
int mLines;
int mLineInterval;
int mLineLength;
int mPixelPerValue;
COLORREF *mColorOfPiles;
const GraphData *mGraphData;
};
#endif
|