AviReportWnd.h

00001 #pragma once
00002 
00003 #include <afxtempl.h>
00004 #include "AviFile.h"
00005 
00006 class CAviPlotterWnd : public CStatic
00007 {
00008         DECLARE_DYNCREATE(CAviPlotterWnd)
00009 
00010 private:
00011         CDC m_dc;
00012         CBitmap m_bm;
00013 
00014         CArray<int> m_chunkdist;
00015 
00016 public:
00017         CAviPlotterWnd();
00018         bool Create(CAviFile* pAF, CRect r, CWnd* pParentWnd);
00019 
00020         int GetChunkDist(int x) {return x >= 0 && x < m_chunkdist.GetSize() ? m_chunkdist[x] : 0;}
00021 
00022         DECLARE_MESSAGE_MAP()
00023         afx_msg void OnPaint();
00024 };
00025 
00026 class CAviReportWnd : public CWnd
00027 {
00028         DECLARE_DYNCREATE(CAviReportWnd)
00029 
00030 protected:
00031         CFont m_font;
00032         CStatic m_message;
00033         CButton m_checkbox;
00034         CAviPlotterWnd m_graph;
00035 
00036         int m_nChunks;
00037         REFERENCE_TIME m_rtDur;
00038 
00039 public:
00040         CAviReportWnd();
00041         bool DoModal(CAviFile* pAF, bool fHideChecked, bool fShowWarningText);
00042 
00043         DECLARE_MESSAGE_MAP()
00044         afx_msg void OnClose();
00045         afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00046 };
00047 
00048 

Generated on Tue Dec 13 14:47:10 2005 for guliverkli by  doxygen 1.4.5