diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-11-01 16:20:53 +0100 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-11-01 16:20:53 +0100 |
| commit | 73842ee245a09fe4ead0e1a2a5f778d89f0a8039 (patch) | |
| tree | b0e805c0d7c5f0ef7ef3edd49db81a08966b0c76 /src/settings.h | |
| parent | 122744454c9befc06b582a8f0feb03bfbb85aa71 (diff) | |
Added ability to change color of conflict and plugin highlighting from the settings.
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index c49edfcb..8fe053e8 100644 --- a/src/settings.h +++ b/src/settings.h @@ -29,6 +29,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QSettings> #include <QString> #include <QVariant> +#include <QColor> #include <QtGlobal> //for uint @@ -42,6 +43,7 @@ class QSpinBox; class QListWidget; class QWidget; class QLabel; +class QPushButton; struct ServerInfo; @@ -217,6 +219,15 @@ public: */ int crashDumpsMax() const; + QColor modlistOverwrittenLooseColor() const; + + QColor modlistOverwritingLooseColor() const; + + QColor modlistContainsPluginColor() const; + + QColor pluginListContainedColor() const; + + /** * @brief set the nexus login information * @@ -346,7 +357,8 @@ public: public slots: void managedGameChanged(MOBase::IPluginGame const *gamePlugin); - +public: + static QColor getIdealTextColor(const QColor& rBackgroundColor); private: static QString obfuscate(const QString &password); @@ -387,6 +399,10 @@ private: QCheckBox *m_compactBox; QCheckBox *m_showMetaBox; QCheckBox *m_usePrereleaseBox; + QPushButton *m_overwritingBtn; + QPushButton *m_overwrittenBtn; + QPushButton *m_containsBtn; + QPushButton *m_containedBtn; }; class PathsTab : public SettingsTab |
