Color.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
- // Color.h: interface for the CColor class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_COLOR_H__13FD8B63_C4BF_11D7_B7C5_00E01808A228__INCLUDED_)
- #define AFX_COLOR_H__13FD8B63_C4BF_11D7_B7C5_00E01808A228__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CColor
- {
- public:
- CColor();
- virtual ~CColor();
- public:
- /******Point color*****/
- CBrush * crRed;
- CBrush * crGreen;
- CBrush * crBlue;
- CBrush * crYellow;
- CBrush * crCyan;
- CBrush * crWhite;
- CBrush * crBlack;
- CBrush * crAqua;
- CBrush * crOrange;
- CBrush * crPurple;
- CBrush * crThinBlue;
- CBrush * crThinYellow;
- CBrush * ColorArray[10];
- /*******Map Color******/
- CPen * Blue;
- CPen * Red;
- CPen * Purple;
- CPen * PurpleR; //紫红色
- CPen * Yellow;
- CPen * Green;
- CPen * Cyan; //草绿色
- CPen * ThinBlue;
- CPen * ThinYellow;
- CPen * MapColor[9];
- /*******Road Color******/
- CPen * rYellow;
- CPen * rRed;
- CPen * rGreen;
- CPen * rGray;
- CPen * rPurple;
- CPen * rWhite;
- CPen * RoadColor[6];
- /*
- //画点颜色值
- #define ColorRed 0
- #define ColorGreen 1
- #define ColorBlue 2
- #define BkgndColor 1 //背景色值
- #define RiverColor 8 //河流颜色值
- */
- };
- #endif // !defined(AFX_COLOR_H__13FD8B63_C4BF_11D7_B7C5_00E01808A228__INCLUDED_)