aboutsummaryrefslogtreecommitdiff
path: root/src/qt/platformstyle.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-07 09:29:57 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-01 15:07:02 +0300
commitce17861dc419b0d1fc1d933000f484dd08bacf5b (patch)
tree8cf6544f13fb48dad48f895ec10b596f36eae6c4 /src/qt/platformstyle.h
parentd22e7ee93313b13365bd14a5fffeb055cff4dcd2 (diff)
downloadbitcoin-ce17861dc419b0d1fc1d933000f484dd08bacf5b.tar.xz
qt: Make PlatformStyle aware of runtime palette change
This change is a prerequisite to support changeable appearance on macOS.
Diffstat (limited to 'src/qt/platformstyle.h')
-rw-r--r--src/qt/platformstyle.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/qt/platformstyle.h b/src/qt/platformstyle.h
index 53632e56e2..9df0a1f985 100644
--- a/src/qt/platformstyle.h
+++ b/src/qt/platformstyle.h
@@ -21,8 +21,8 @@ public:
bool getImagesOnButtons() const { return imagesOnButtons; }
bool getUseExtraSpacing() const { return useExtraSpacing; }
- QColor TextColor() const { return textColor; }
- QColor SingleColor() const { return singleColor; }
+ QColor TextColor() const;
+ QColor SingleColor() const;
/** Colorize an image (given filename) with the icon color */
QImage SingleColorImage(const QString& filename) const;
@@ -43,9 +43,6 @@ private:
bool imagesOnButtons;
bool colorizeIcons;
bool useExtraSpacing;
- QColor singleColor;
- QColor textColor;
- /* ... more to come later */
};
#endif // BITCOIN_QT_PLATFORMSTYLE_H