mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-06 16:10:42 +08:00
15 lines
347 B
C++
15 lines
347 B
C++
#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();
|
|
}
|