⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svgawrap.h

📁 Yet another mp3 player, but this time using SVGALib under Linux. The idea was to use a 320x240 disp
💻 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 + -