📄 dirview.h
字号:
/* dirview.h Directory view 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 DIRVIEW_DOT_H#define DIRVIEW_DOT_H#include "dirb.h"#include "objview.h"#include "svgawrap.h"#include "playlist.h"class CDirView : public CObjectView { int PAGE_MAX; // Size of the directory page; CDirBrowser g_db; CPlayList* g_pl; public: CDirView( vgaw* d, CPlayList* pl ): PAGE_MAX(15) { PAGE_TOP = 30; PAGE_LEFT = 10; g_pl = pl; g_db.start_processing(); // cwd default. g_db.ScrollOn( 18, true,6 ); // some nice effects vga = d; // remember where the device object is. } ~CDirView() {} int ProcessMessages(); // Check for keyboard input Paint(); // Update the display for this view.};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -