Mercurial > minori
diff src/gui/dialog/settings.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 | 9b2b41f83a5e |
children | 2004b41d4a59 |
line wrap: on
line diff
--- a/src/gui/dialog/settings.cc Fri Nov 03 14:06:02 2023 -0400 +++ b/src/gui/dialog/settings.cc Fri Nov 03 21:32:52 2023 -0400 @@ -20,10 +20,12 @@ font.setWeight(QFont::Bold); page_title->setFont(font); - QPalette pal = page_title->palette(); - pal.setColor(QPalette::Window, QColor(0xAB, 0xAB, 0xAB)); - pal.setColor(QPalette::WindowText, Qt::white); - page_title->setPalette(pal); + { + QPalette pal = page_title->palette(); + pal.setColor(QPalette::Window, QColor(0xAB, 0xAB, 0xAB)); + pal.setColor(QPalette::WindowText, Qt::white); + page_title->setPalette(pal); + } page_title->setAutoFillBackground(true); page_title->setFixedHeight(23);