Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpovaddict <povaddict@users.sourceforge.net>2010-02-10 02:16:44 +0300
committerpovaddict <povaddict@users.sourceforge.net>2010-02-10 02:16:44 +0300
commit726a91b12a7524e45e7a901c9e4883af5b1bffe6 (patch)
treef5d25e3b2e84c92f4901280c73d5d3d7e6c3cd19 /src/filters/parser/AviSplitter/AviReportWnd.h
parent02183f6e47ad4ea1057de9950482f291f2ae4290 (diff)
Rename several directories to use MixedCase instead of lowercase.
They now mostly match the case used in #includes, and they're consistent with the names of the .h files they contain. git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1648 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/AviSplitter/AviReportWnd.h')
-rw-r--r--src/filters/parser/AviSplitter/AviReportWnd.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/filters/parser/AviSplitter/AviReportWnd.h b/src/filters/parser/AviSplitter/AviReportWnd.h
new file mode 100644
index 000000000..cd5c3b331
--- /dev/null
+++ b/src/filters/parser/AviSplitter/AviReportWnd.h
@@ -0,0 +1,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 && 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;
+
+ 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);
+};
+
+