📄 mdocwin.h
字号:
#if !defined(MDOCWIN_H)
#define MDOCWIN_H
#include"\sunshine\include\mwindow.h"
#include"\sunshine\include\mapp.h"
#include"\sunshine\include\mlistite.h"
#define CLIENT_Y 78
#define CLIENT_W (getmaxx()-17)
#define CLIENT_H (getmaxy()-21)
class MWindow : public MWindowObj
{
private:
char *topic;
void far *rscreen;
void far *mscreen;
char *ClientName;
protected:
int bkcolor;
int ac;
int saveflag;
public:
MWindow(int x,int y,int w,int h,char *topic=NULL,char *idname="MWIN");
virtual ~MWindow();
void SetPos(int x,int y);
void SetAc(int act=1);
int GetAc(){return ac;}
void Move();
void SetBkcolor(int bk){bkcolor=bk;}
void Cls();
void Redraw();
void SetClientId(char *idname){ClientName=idname;}
void LightTopic();
virtual void UnFocus();
virtual void GetFocus();
virtual int Process();
virtual STATE Save();
virtual void Restore();
virtual char far *Nameof(){return "mwindow";}
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -