You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
743 B
C++
25 lines
743 B
C++
#pragma once
|
|
#include "GlobalDefine.h"
|
|
|
|
class CFontType
|
|
{
|
|
public:
|
|
CFontType(void);
|
|
virtual ~CFontType(void);
|
|
virtual void Initialize(){};
|
|
virtual void CreatCharVec(char *pChar,vector<PointType> &m_PonitVec){};
|
|
virtual int GetCurFontNameIdx(){return m_CurFontNameIdx;};
|
|
public:
|
|
virtual CString GetFontType(){return "";};
|
|
void UpdateFontNameComb(CComboBox &Comb);
|
|
void SetCurFontNameIdx(int idx){m_CurFontNameIdx = idx;};
|
|
CString GetCurFontName();
|
|
bool SetCurFontByName(CString FontName);
|
|
protected:
|
|
void AddTypeName(CString s){m_FontNameVec.push_back(s);};
|
|
protected:
|
|
int m_CurFontNameIdx;//当前选择的字体名字索引值
|
|
vector<CString> m_FontNameVec;//字体名字的容器
|
|
};
|
|
|