displaywindow.h
来自「MONA是为数不多的C++语言编写的一个很小的操作系统」· C头文件 代码 · 共 49 行
H
49 行
/*!
\file DisplayWindow.h
\brief display one line shell window
Copyright (c) 2002-2004 shadow
All rights reserved.<BR>
\b License NYSL<BR>
\b Create 2004/04/04
\author shadow
$Revision: 1.4 $
$Date: 2004/05/08 06:39:41 $
*/
#ifndef _DISPLAY_WINDOW_
#define _DISPLAY_WINDOW_
#include <monapi.h>
#include <monapi/CString.h>
#include <sys/types.h>
#include "Command.h"
using namespace MonAPI;
class DisplayWindow{
private:
int posX;
int posY;
int width;
int height;
int mode;
Screen commandWindow;
public:
DisplayWindow();
~DisplayWindow();
int SetWindowPos(int x, int y, int w, int h);
int DrawCommandLine(const CString c);
int ClearCommandLine();
int DrawCommandWindow();
int ClearCommandWindow();
int DrawCursor(int pos);
int DrawMessageLine(const CString c);
int ClearMessageLine();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?