chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
1 parent
2b0c2055ff
commit
164968b62e
6171 files changed
+191244
-191243
No files matched your search
@@ -1,16 +1,16 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "tchbasedlg.h"
|
||||
#include <vector>
|
||||
#include "Resource.h"
|
||||
|
||||
typedef struct CLegendData
|
||||
{
|
||||
CString sKind; //类别
|
||||
CString sItem; //名称
|
||||
CString sDrawing;//块ID序号
|
||||
CString sKind; //类别
|
||||
CString sItem; //名称
|
||||
CString sDrawing;//块ID序号
|
||||
|
||||
//图例块名字可以一样,但是块ID序号肯定不一样,所以
|
||||
//ID序号一样,则认为两个对象是一样的
|
||||
//图例块名字可以一样,但是块ID序号肯定不一样,所以
|
||||
//ID序号一样,则认为两个对象是一样的
|
||||
bool operator == (const CLegendData& tem) const
|
||||
{
|
||||
bool bRe = false;
|
||||
@@ -25,7 +25,7 @@ typedef struct CLegendData
|
||||
|
||||
typedef std::vector<LEGENDDATA> S_VEC;
|
||||
|
||||
// 图例列表处理类(LayerFiltration.txt)
|
||||
// 图例列表处理类(LayerFiltration.txt)
|
||||
class CLegendFiltrationFileOperator
|
||||
{
|
||||
public:
|
||||
@@ -80,19 +80,19 @@ protected:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual void DoDataExchange(CDataExchange* pDX);
|
||||
|
||||
bool LoadDBFFile(LPCTSTR szName);//读取TK文件数据
|
||||
bool LoadDBFFile(LPCTSTR szName);//读取TK文件数据
|
||||
void ShowPic(int index);
|
||||
bool IsItemExist(S_VEC &vec,LEGENDDATA &tem);//选择项在图例列表是否存在
|
||||
bool IsItemExist(S_VEC &vec,LEGENDDATA &tem);//选择项在图例列表是否存在
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
S_VEC m_vecLegendSel;//图例选择数据队列
|
||||
static S_VEC s_vecLegendLst;//图例列表数据队列
|
||||
S_VEC m_vecLegendSel;//图例选择数据队列
|
||||
static S_VEC s_vecLegendLst;//图例列表数据队列
|
||||
|
||||
int m_iSelectLstCurSel;
|
||||
int m_iDragBeginItem;//拖拽起始项
|
||||
int m_iDragEndItem; //拖拽结束项
|
||||
int m_iDragFlag; //-1,无;0,开始拖拽;1结束拖拽
|
||||
int m_iDragBeginItem;//拖拽起始项
|
||||
int m_iDragEndItem; //拖拽结束项
|
||||
int m_iDragFlag; //-1,无;0,开始拖拽;1结束拖拽
|
||||
|
||||
CImageDC m_ShowPicDC;
|
||||
|
||||
|
||||
Reference in new issue
Block a user