blob: 3813a1852324e4060e5b66cd044289aebb3daed9 (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
#pragma once
#include "AviFile.h"
class CAviPlotterWnd : public CStatic
{
DECLARE_DYNCREATE(CAviPlotterWnd)
private:
CDC m_dc;
CBitmap m_bm;
CAtlArray<int> m_chunkdist;
public:
CAviPlotterWnd();
bool Create(CAviFile* pAF, CRect r, CWnd* pParentWnd);
int GetChunkDist(int x) {
return (x >= 0 && (size_t)x < m_chunkdist.GetCount()) ? m_chunkdist[x] : 0;
}
DECLARE_MESSAGE_MAP()
afx_msg void OnPaint();
};
class CAviReportWnd : public CWnd
{
DECLARE_DYNCREATE(CAviReportWnd)
protected:
CFont m_font;
CStatic m_message;
CButton m_checkbox;
CAviPlotterWnd m_graph;
unsigned int m_nChunks;
REFERENCE_TIME m_rtDur;
public:
CAviReportWnd();
bool DoModal(CAviFile* pAF, bool fHideChecked, bool fShowWarningText);
DECLARE_MESSAGE_MAP()
afx_msg void OnClose();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};
|