From 348a1bfb244288b1c78d8ce3c8d8a8cb5c1bdebc Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 24 Sep 2024 20:00:16 -0500 Subject: Start app rendering. --- src/main.cpp | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5b4413e..d172586 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,9 +1,7 @@ #include #include -// #include "main_window.hpp" -#include "stb_image.h" -#include "demo.hpp" +#include "bookmouse.hpp" void setupLogging() { @@ -19,22 +17,8 @@ int main(int argc, char* argv[]) setupLogging(); - fud::String filename{"Excel Saga Vol. 01/000.jpg"}; - return bookmouse::demo(filename); - -#if 0 - bookmouse::BookmouseApp bookmouse{}; - - QCommandLineParser parser; - parser.setApplicationDescription(QApplication::translate("main", "A comic book and manga reader")); - parser.addHelpOption(); - parser.addVersionOption(); - - parser.process(app); - - return app.exec(); -#endif - return 0; + bookmouse::Bookmouse bookmouse{}; + return bookmouse.run(); } void load_levels_example() -- cgit v1.2.3