diff src/gui/window.cc @ 102:b315f3759c56

*: big patch 1. use a wrapper for mINI that enables case sensitivity (personal preference) 2. rename dark_theme.cc to theme.cc and change it to be a class 3. include the "dep" folder so we don't have stupidity in json.h or ini.h 4. I think the graph was also tweaked a lot in this, nothing is constexpr and size is found at runtime...
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 21:32:52 -0400
parents d02fdf1d6708
children 621084cc542c
line wrap: on
line diff
--- a/src/gui/window.cc	Fri Nov 03 14:06:02 2023 -0400
+++ b/src/gui/window.cc	Fri Nov 03 21:32:52 2023 -0400
@@ -3,7 +3,7 @@
 #include "core/config.h"
 #include "core/session.h"
 #include "core/strings.h"
-#include "gui/dark_theme.h"
+#include "gui/theme.h"
 #include "gui/dialog/about.h"
 #include "gui/dialog/settings.h"
 #include "gui/pages/anime_list.h"
@@ -106,8 +106,6 @@
 		page->SetPlaying(Anime::db.items[id], elements);
 	});
 	timer->start(5000);
-
-	DarkTheme::SetTheme(session.config.theme);
 }
 
 void MainWindow::CreateBars() {