Mercurial > hg > svgui
comparison widgets/IconLoader.h @ 1045:f535f6e5dbb0 alignment-simple
Merge in from SV 3.0-integration branches
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2016 17:25:27 +0000 |
parents | 4b5efd76a55c |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
976:f2c63ec85901 | 1045:f535f6e5dbb0 |
---|---|
23 public: | 23 public: |
24 IconLoader() { } | 24 IconLoader() { } |
25 virtual ~IconLoader() { } | 25 virtual ~IconLoader() { } |
26 | 26 |
27 QIcon load(QString name); | 27 QIcon load(QString name); |
28 QPixmap loadPixmap(QString name); | 28 |
29 private: | |
30 bool shouldInvert() const; | |
31 bool shouldAutoInvert(QString) const; | |
32 QPixmap loadPixmap(QString, int); | |
33 QPixmap loadScalable(QString, int); | |
34 QPixmap invertPixmap(QPixmap); | |
35 QString makeScalableFilename(QString, bool); | |
36 QString makeNonScalableFilename(QString, int, bool); | |
29 }; | 37 }; |
30 | 38 |
31 #endif | 39 #endif |
32 | 40 |
33 | 41 |