summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-23 22:47:28 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-23 22:47:28 -0500
commitcae8b633fc8723bcc35944298335ad48844d2bf0 (patch)
tree84896426c35270d7e07891851ef8a8a44cda1b20 /src/main.cpp
parent500e1f9892dd41419663e9f72cf47bab5b2aca0b (diff)
Work on standing up gui.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f933426..90aef42 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,9 @@
#include <spdlog/spdlog.h>
// #include "main_window.hpp"
+#include "stb_image.h"
+#include "demo.hpp"
+
void setupLogging()
{
spdlog::cfg::load_env_levels();
@@ -16,6 +19,9 @@ int main(int argc, char* argv[])
setupLogging();
+ fud::String filename{"Excel Saga Vol. 01/000.jpg"};
+ return bookworm::demo(filename);
+
#if 0
bookmouse::BookmouseApp bookmouse{};
@@ -31,7 +37,8 @@ int main(int argc, char* argv[])
return 0;
}
-void load_levels_example() {
+void load_levels_example()
+{
// Set the log level to "info" and mylogger to "trace":
// SPDLOG_LEVEL=info,mylogger=trace && ./example
spdlog::cfg::load_env_levels();