mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-07 00:20:43 +08:00
添加文本转换器代码
This commit is contained in:
14
others/C++/text converter/src/Main.cpp
Normal file
14
others/C++/text converter/src/Main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "../include/MainWindow.hpp"
|
||||
#include "../include/Config.hpp"
|
||||
#include <FL/Fl.H>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
// 创建主窗口
|
||||
MainWindow window(Config::WINDOW_WIDTH, Config::WINDOW_HEIGHT, Config::WINDOW_TITLE);
|
||||
|
||||
// 显示窗口
|
||||
window.show(argc, argv);
|
||||
|
||||
// 运行FLTK主循环
|
||||
return Fl::run();
|
||||
}
|
||||
Reference in New Issue
Block a user