⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shape.h

📁 一个ascii 码值计算原代码的例子
💻 H
字号:
/* !! DO NOT REMOVE THIS COMMENT !!
 *
 * Author: Ga歱er Raj歟k
 * E-mail, updates & bugs report: gape.korn@volja.net
 *
 * Created: 21.8.2002 at 21.59
 *
 * Description: structure and prototype function for the SHAPE component source
 *
 */

# ifndef SHAPE_H
# define SHAPE_H


// structure for the SHAPE component
typedef struct SHAPE
{
	UINT InputCodePage, OutputCodePage;
	// structure for FRAME component
	struct
	{
		short x, y, Length, Height, DoubleLine, WithStatusLine;
		WORD Color;
	} FRAME;
	// structure for LINE component
	struct
	{
		short x, y, Length, Height, Horizontal, DoubleLine;
		WORD Color;
	} LINE;
	// structure for BAR component
	struct
	{
		short x, y, Length, Height;
		char Pattern;
		WORD Color;
	} BAR;
} SHAPE_COMPONENT;

// function prototypes
void FrameComponent (SHAPE_COMPONENT *Frame);
void LineComponent  (SHAPE_COMPONENT *Line);
void BarComponent   (SHAPE_COMPONENT *Bar);

# endif // SHAPE_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -