📄 globaldata.h
字号:
#ifndef _VCADDINTOOLS_GLOBALDATA_INCLUDEFILE_
#define _VCADDINTOOLS_GLOBALDATA_INCLUDEFILE_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define COR_BLACK RGB(0, 0, 0)
#define COR_RED RGB(255, 0, 0)
#define COR_BLUE RGB(0, 0, 255)
#define COR_GREEN RGB(0, 255, 0)
#define COR_YELLOW RGB(255, 255, 0)
#define COR_WHITE RGB(255, 255, 255)
#define COR_GRAY RGB(122, 122, 122)
#define COR_NUM0 RGB(0, 0, 0)
#define COR_NUM1 RGB(120, 120, 0)
#define COR_NUM2 RGB(125, 0, 125)
#define COR_NUM3 RGB(0, 0, 200)
#define COR_NUM4 RGB(0, 155, 0)
#define COR_NUM5 RGB(25, 255, 0)
#define COR_NUM6 RGB(255, 25, 25)
#define COR_NUM7 RGB(230, 12, 0)
#define COR_NUM8 RGB(34, 56, 78)
#define COR_NUM9 RGB(0, 123, 255)
#define COR_NUM10 RGB(0, 25, 0)
#define COR_NUM11 RGB(25, 25, 0)
#define COR_NUM12 RGB(25, 0, 0)
#define COR_NUM13 RGB(0, 110, 10)
#define COR_NUM14 RGB(234, 10, 20)
#define COR_NUM15 RGB(0, 0, 255)
class CWellDataProcessView;
class CCurveCompareView;
class CGmgsAnalyseWnd;
class CCurveComposeWnd;
extern CCurveComposeWnd* g_pCurveComWnd;
extern CGmgsAnalyseWnd* g_pAnalyseWnd;
extern CWellDataProcessView* g_pGmgsView;
extern CCurveCompareView* g_pCompareView;
extern CString GetAppPath();
extern void DrawRect(CDC *pDC, CRect rect, COLORREF color);
extern void DrawDragRect(CDC* pDC,CRect rect);
extern void DrawDragLine(BOOL b, CDC *pDC, CPoint pt1, CPoint pt2, COLORREF color, int nWidth);
extern void DrawInterpretFlag(CDC* pDC, int x1, int x2, int y);
extern void DrawRectBottomLine(CDC *pDC, CRect rect);
extern void EraseRect(CDC* pDC,CRect rect,COLORREF color);
extern void PutText(bool b, int x, int y, \
int nSizeWord, int nAngle, CString str, CDC *pDC);
extern float *conv(float *x,int n1,float *y,int n2);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -