📄 credits.h
字号:
// credits.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCredits dialog
class CCredits : public CDialog
{
// Construction
public:
CCredits(CWnd* pParent = NULL); // standard constructor
#define DISPLAY_TIMER_ID 150 // timer id
RECT m_ScrollRect,r; // rect of Static Text frame
int nArrIndex,nCounter; // work ints
CString m_szWork; // holds display line
BOOL m_bFirstTime;
BOOL m_bDrawText;
int nClip;
int nCurrentFontHeight;
CWnd* m_pDisplayFrame;
CBitmap m_bmpWork; // bitmap holder
CBitmap* pBmpOld; // other bitmap work members
CBitmap* m_bmpCurrent;
HBITMAP m_hBmpOld;
CSize m_size; // drawing helpers
CPoint m_pt;
BITMAP m_bmpInfo;
CDC m_dcMem;
BOOL m_bProcessingBitmap;
int number;
// Dialog Data
//{{AFX_DATA(CCredits)
enum { IDD = IDD_UIABOUT };
CString m_total;
CString m_freedisk;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCredits)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCredits)
virtual void OnOK();
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -