📄 main.cpp
字号:
#include "MyApplication.h"#include "iostream"using namespace std;int main(int argc, char **argv ){ MyApplication app; if(app.IsDirectory(argv[1]) == false) { cout << "Wrong Path!" << endl; exit(1); } strcpy(app.NowPath,argv[1]); app.LoadTheme( "simple" ); app.InitScreen( 640, 480, 0 ); app.SetEmergencyQuit(true); app.ShowCursor(PG_Application::NONE); PmpListBox ListBox(NULL, PG_Rect(10,10,250,240)); app.MyListBox = &ListBox; ListBox.Show(); // app.Add(&ListBox); // app.GotoFirst();// PG_ListBoxItem* item; app.GetFileList(); app.ShowItem(&ListBox); app.Run(); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -