00001
00007 #pragma once
00008
00009 #include "OpenGLControl.hpp"
00010
00012 class PlayerDialog : public CDialog
00013 {
00014 DECLARE_DYNAMIC(PlayerDialog)
00015
00016 public:
00017 PlayerDialog(CWnd* pParent = NULL);
00018 virtual ~PlayerDialog();
00019
00020
00021 enum { IDD = IDD_DIALOG_PLAYER };
00022
00023 void setOpenGLControl(COpenGLControl *gl);
00024 void setFlowData(FlowData *newdata);
00025
00026 protected:
00027 CSliderCtrl m_slider_frame;
00028 CStatic m_static_frame;
00029 COpenGLControl *opengl;
00030 FlowData *flowdata;
00031 int id;
00032
00033 virtual void DoDataExchange(CDataExchange* pDX);
00034
00035 DECLARE_MESSAGE_MAP()
00036 afx_msg void OnBnClickedButtonPrevFrame();
00037 afx_msg void OnBnClickedButtonNextFrame();
00038 afx_msg void OnBnClickedButtonPlay();
00039 afx_msg void OnBnClickedButtonStop();
00040 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00041 afx_msg void OnTimer(UINT nIDEvent);
00042 };