mainfrm.h

来自「The application wizard has created this 」· C头文件 代码 · 共 75 行

H
75
字号
// MainFrm.h : interface of the CMainFrame class
//

#pragma once
#include "LogPlayer.h" // CLogPlayer
#include "Displayer.h" // CDisplayer
#include "SoccerMonitor.h" // CSoccerMonitor 
#include "analyzer.h" // CAnalyzer
#include "StatisticDialog.h" // CStatisticDialog

class CMainFrame : public CFrameWnd
{
	
public:
	CMainFrame();
	void DisplayCycle(const cycle_info_t *pInfo);
	void WriteStatus(CString str);
	void OpenLogFile(CString strFile);
	const server_params_t* getServerParam() const ;
	const player_params_t* getPlayerParam() const ;
	const player_type_t* getPlayerType(UINT nType);
	const CAnalyzer* getAnalyzer() const;
	void addDispInfo(const dispinfo_t2* pInfo);
	void analyzeCycle(const showinfo_t2& info);
	afx_msg void OnLogplayerCommand(UINT nID);
	afx_msg void OnClose();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnUpdateLogplayerCommand(CCmdUI *pCmdUI);
	afx_msg void OnDisplayerCommand(UINT nID);
	afx_msg void OnUpdateDisplayerCommand(CCmdUI *pCmdUI);
	afx_msg void OnTypeExplorer();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnMonitorCommand(UINT nID);
	afx_msg void OnUpdateMonitorCommand(CCmdUI *pCmdUI);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected: 
	DECLARE_DYNAMIC(CMainFrame)

	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;
	CToolBar	m_wndSelectBar;
	CReBar      m_wndReBar;
	CDialogBar  m_wndDlgBar;
	CLogPlayer	m_logPlayer;
	CSoccerMonitor m_soccerMonior;
	CDisplayer  m_displayer;
	CAnalyzer	m_analyzer;
	CStatisticDialog* getStatisticDlg();
	CStatisticDialog* m_pStatisticDlg;
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	DECLARE_MESSAGE_MAP()
public:
	void cleanAllInfo();
	void showLogplay(bool value);
	afx_msg void OnObjectDetails();
	afx_msg void OnDispSelectObject(UINT nID);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnNewDoctor();
	afx_msg void OnMainFrameHide();
	afx_msg void OnDrawingtools();
	afx_msg void OnDropFiles(HDROP hDropInfo);
	afx_msg void OnAutoplayer();
	afx_msg void OnToolboxStatistics();
	afx_msg void OnToolboxPresent();
	afx_msg void OnUpdateSelectBar(CCmdUI *pCmdUI);
};


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?