📄 displaywindow.h
字号:
/*!
\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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -