bytestracer.h
来自「完整的MP3播放器源码」· C头文件 代码 · 共 81 行
H
81 行
// BytesTracer.h : header file
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_)
#define AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CBytesTracer window
class CBytesTracer : public CWnd
{
// Construction
public:
CBytesTracer();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBytesTracer)
//}}AFX_VIRTUAL
// Implementation
public:
void SetPick(int value);
void SetLimits(int min, int max);
void PaintThread(CDC* pdc);
BOOL CreatWndw();
static BOOL CreateTracer();
virtual ~CBytesTracer();
BOOL CreatWndw(UINT pPlaceHolder, CWnd* pParent);
// Generated message map functions
protected:
//{{AFX_MSG(CBytesTracer)
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
typedef enum {HORIZONTAL,VERTICAL}E_POS;
static LPCSTR m_pWndName;
CRITICAL_SECTION ms_cs;
BOOL m_noClose;
double m_pick;
int m_dropStep;
COLORREF m_backColor;
COLORREF m_overColor;
COLORREF m_endColor;
COLORREF m_startColor;
int m_mLeduri;
E_POS m_position;
HANDLE m_hThread;
private:
static int PaintProc(LPVOID pvData);
HDC m_hdc;
CBrush m_cbr;
CBrush* m_pcbr;
double m_scaleVert;
double m_clrscale ;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?