types.h
来自「用于机器人自动低分辨路的地图测绘程序。用于机器人控制测绘。分为远端控制端和本地控」· C头文件 代码 · 共 36 行
H
36 行
/*
Robot Interface Remote Client
(C) 2006 Jason Hunt
nulluser@gmail.com
file: types.h
*/
#ifndef TYPES_H
#define TYPES_H
#define program_name "Robot Client (C) 2006 Jason Hunt"
#define MAX_MESSAGE 1024
typedef unsigned char byte;
// Interface to windows colors
typedef struct color_type
{
unsigned char b, g, r, pad;
};
// Basic color defines
const color_type black = {0, 0, 0, 0};
const color_type white = {255, 255, 255, 0};
const color_type red = {0, 0, 255, 0};
const color_type green = {0, 255, 0, 0};
const color_type blue = {255, 0, 0, 0};
const color_type blue1 = {230, 30, 30, 0};
const color_type blue2 = {180, 10, 10, 0};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?