📄 global.h
字号:
///////////////////////////////////////////////////////////////////////////////
// Define the global variables of the project //
///////////////////////////////////////////////////////////////////////////////
#ifndef __GLOBAL_H__
#define __GLOBAL_H__
#include"..\ucos-ii\includes.h" /* uC/OS interface */
#include "..\ucos-ii\add\osaddition.h"
#include "..\inc\drv.h"
#include "..\inc\drv\tchscr.h"
#include "..\SRC\ShortestPath.h"
#include <string.h>
// The variable to indicate the current window
extern int g_iWndLevel;
// The device context
extern PDC pdc;
// Used for store the time string
extern U16 g_strTime[10];
// Store all of the points
extern structPOINT PlacePointArray[15];
// Eight rectangles used in keyboard choosing finding path
// function to indicate which point is selected
extern structRECT PointRect[8];
// char used for displaying the distance in finding path
// function
extern char chDistance[];
extern U16 UchDistance[20];
// Two listctrls used for finding path by listbox
extern PListCtrl pStartPosListCtrl;
extern PListCtrl pEndPosListCtrl;
// Listctrl used in watching introduction function
extern PListCtrl pIntrodListCtrl;
// Store the choosed two points used in finding path
// function
extern int LB_Result[2];
// Store the strings contained in list box
extern char PosName[8][25];
// Store the bitmap names used in watching introduction
// function
extern char IntroName[8][25];
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -