?? svgawrap.h
字號:
/* svgawrap.h SVGA wrapper class This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, www.gnu.org. Copyright (C) 2000 Simon Harrison (email smh@N_O_S_P_A_M@dr.com)*/#ifndef SVGAWRAP_DOT_H#define SVGAWRAP_DOT_H#include "font5x7.h"class vgaw { font5x7* font; font5x7* highfont; font5x7* warnfont; int VGAMODE; unsigned char* vscr; // virtual screen. unsigned char* rscr; // real screen. unsigned char* scr; // visualisation screen. int vsfd; public: static const int KCurLeft; static const int KCurRight; static const int KCurUp; static const int KCurDown; static const int KEnter; static const int KPgDn; static const int KPgUp; public: vgaw(); ~vgaw(); setPalette(int i,int r,int g,int b); PaletteInit(); FontNormal(); FontHigh(); FontWarn(); void spaced_gl_write( int x, int y, char * text ); int getkey(); updatevis(); updatereal(); protected: int GetBgCol(); int GetFgCol(); int GetHighCol();};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -