screen.h

来自「一个basic语言的解释器」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef __SCREEN.H__
#define __SCREEN.H__

#include "Const.h"
#include "Window.h"
#include "Menu.h"
#include "Type.h"

// Screen.cpp中的函数
void PrintMenu();
void PrintMessages();
void PrintChar(const int,const int,const char);
void SetColor(const int,const int);
void ShowSaved(const int);
void ShowScreen();
void ShowPosition();
void ShowInsert(const int);
void PrintText(const int);
void PrintLine(const int);
void PrePaint(const int, char *);
void SetCursor();

// 外部调用的函数
extern int LengthOf(const int);
extern void AboutCBasic();

// 外部引用的变量
extern int TextX;
extern int TextY;
extern int NowX;
extern int NowY;
extern int EndLine;

extern bool Saved;

extern bool ShowAbout;

extern bool Insert;

extern int RunLineNo;

#endif

⌨️ 快捷键说明

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