Mercurial > minori
comparison src/gui/theme.cc @ 236:4d461ef7d424
HUGE UPDATE: convert build system to autotools
why? because cmake sucks :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 19 Jan 2024 00:24:02 -0500 |
parents | ff0061e75f0f |
children | 862d0d8619f6 |
comparison
equal
deleted
inserted
replaced
235:593108b3d555 | 236:4d461ef7d424 |
---|---|
131 * may or may not be a dark style itself. */ | 131 * may or may not be a dark style itself. */ |
132 QPalette pal(QApplication::style()->standardPalette()); | 132 QPalette pal(QApplication::style()->standardPalette()); |
133 #ifdef WIN32 /* fuck you Qt 6 */ | 133 #ifdef WIN32 /* fuck you Qt 6 */ |
134 pal.setColor(QPalette::Window, QColor(0xF0, 0xF0, 0xF0)); | 134 pal.setColor(QPalette::Window, QColor(0xF0, 0xF0, 0xF0)); |
135 #endif | 135 #endif |
136 pal.setColor(QPalette::WindowText, Qt::black); | |
137 pal.setColor(QPalette::ToolTipText, Qt::black); | |
138 pal.setColor(QPalette::Text, Qt::black); | |
139 pal.setColor(QPalette::ButtonText, Qt::black); | |
140 qApp->setPalette(pal); | 136 qApp->setPalette(pal); |
141 | 137 |
142 qApp->setStyleSheet(""); | 138 qApp->setStyleSheet(""); |
143 break; | 139 break; |
144 } | 140 } |