📄 fontodlg.h
字号:
// fontoDlg.h : header file
//
#if !defined(AFX_FONTODLG_H__CACC2408_F7AB_4026_975F_F8BBCF60C060__INCLUDED_)
#define AFX_FONTODLG_H__CACC2408_F7AB_4026_975F_F8BBCF60C060__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CFontoDlg dialog
class CFontoDlg : public CDialog
{
// Construction
public:
int m_nActualWidth;
int m_nBytesPerLine;
unsigned char CharBitmap[80][160];
CBrush mHollowBrush;
int DrawFont_ZoomIn(CDC *pDC);
int DrawFontView(CDC *pDC);
LOGFONT m_lfFont;
CFontoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFontoDlg)
enum { IDD = IDD_FONTO_DIALOG };
CString m_sHZCode;
int m_nWidth;
int m_nHeight;
CString m_sOutputCode;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFontoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CFontoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnChangeEditHz();
virtual void OnOK();
afx_msg void OnButtonSelfont();
afx_msg void OnChangeEDITWidth();
afx_msg void OnChangeEDITHeight();
afx_msg void OnButtonGenall();
afx_msg void OnButton_32x24_all();
afx_msg void OnButton_ASC_16x24_all();
afx_msg void OnButton_ASC_16x16_All_CCode();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FONTODLG_H__CACC2408_F7AB_4026_975F_F8BBCF60C060__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -