Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

76 lines
1.9 KiB
C++

#if !defined(AFX_CHARDLG_H__C295B65B_281E_48C1_9A9F_3C52CB75C6F4__INCLUDED_)
#define AFX_CHARDLG_H__C295B65B_281E_48C1_9A9F_3C52CB75C6F4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CharDlg.h : header file
//
#include "resource.h"
#include "InsTextDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CCharDlg dialog
class CCharDlg : public CDialog
{
// Construction
public:
CCharDlg(CWnd* pParent = NULL); // standard constructor
~CCharDlg();
// Dialog Data
//{{AFX_DATA(CCharDlg)
enum { IDD = IDD_DIALOG_CHAR };
//CEdit m_edit_char;
CComboBox m_combo_type;
CString m_character;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCharDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCharDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnSelchangeComboType();
virtual void OnCancel();
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void drawPane();
void writechar(char m_char[][3],int count);
void drawSmallPane();
void delSmallPane();
BOOL Check(CPoint point);
static char m_charGreece[][3];
static char m_charMath[][3];
static char m_charSerial[][3];
static char m_charRomaSerial[][3];
static char m_charSpecific[][3];
static char m_charInterpunction[][3];
CPen m_pen;
int m_left, m_top;
int m_wndWidth, m_wndHeight;
int m_Hdistance,m_Vdistance;
int m_countChar,m_indexCombo;
CFont *m_pFont;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHARDLG_H__C295B65B_281E_48C1_9A9F_3C52CB75C6F4__INCLUDED_)