-
Notifications
You must be signed in to change notification settings - Fork 170
/
Copy pathChartingContainer.h
31 lines (24 loc) · 959 Bytes
/
ChartingContainer.h
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
#pragma once
#include <vector>
#include "ChartControls.h"
#include "ChartRealTimeTreeView.h"
#include "ChartViewPort.h"
#include "ChartDataView.h"
// CChartingContainer contains the view, tree, and controls for the mechanics of
// selecting and viewing a chart.
class CChartingContainer {
public:
explicit CChartingContainer(void);
~CChartingContainer(void);
CChartRealTimeTreeView *GetTreeView( void ) { return &m_TreeView; };
protected:
void CreateNewViewPort( void );
void HandleCreateNewViewPort( CChartControls *pControls );
void HandleSelectActiveViewPort( CChartViewPort *pViewPort );
void HandleSelectDataView( CChartDataView *pDataView );
CChartControls m_ChartControls; // not sure if I'll end up using this, meant to be used for mouse gestures on the chart and such
CChartRealTimeTreeView m_TreeView;
size_t m_ixActiveViewPort;
std::vector<CChartViewPort *> m_vViewPorts;
private:
};