comparison include/gui/dialog/settings.h @ 101:c537996cf67b

*: multitude of config changes 1. theme is now configurable from the settings menu (but you have to restart for it to apply) 2. config is now stored in an INI file, with no method of conversion from json (this repo is private-ish anyway)
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 14:06:02 -0400
parents 8043152ef9d4
children 2004b41d4a59
comparison
equal deleted inserted replaced
100:f5940a575d83 101:c537996cf67b
1 #ifndef __gui__dialog__settings_h 1 #ifndef __gui__dialog__settings_h
2 #define __gui__dialog__settings_h 2 #define __gui__dialog__settings_h
3 3
4 #include "core/anime.h" 4 #include "core/anime.h"
5 #include "core/config.h"
5 #include <QDialog> 6 #include <QDialog>
6 #include <QWidget> 7 #include <QWidget>
7 8
8 class QLabel; 9 class QLabel;
9 class QTabWidget; 10 class QTabWidget;
41 SettingsPageApplication(QWidget* parent = nullptr); 42 SettingsPageApplication(QWidget* parent = nullptr);
42 void SaveInfo() override; 43 void SaveInfo() override;
43 44
44 private: 45 private:
45 QWidget* CreateAnimeListWidget(); 46 QWidget* CreateAnimeListWidget();
47 Themes theme;
46 Anime::TitleLanguage language; 48 Anime::TitleLanguage language;
47 bool display_aired_episodes; 49 bool display_aired_episodes;
48 bool display_available_episodes; 50 bool display_available_episodes;
49 bool highlight_anime_if_available; 51 bool highlight_anime_if_available;
50 bool highlighted_anime_above_others; 52 bool highlighted_anime_above_others;