forked from len0rd/rockbox
qeditor: add better fallback mecanism for icons
Change-Id: Ib87406c95fc6c579f108b81246350d12de428ba4
This commit is contained in:
parent
b200cd7e4a
commit
235cdeca73
2 changed files with 57 additions and 17 deletions
|
|
@ -732,11 +732,12 @@ public:
|
|||
QIcon GetIcon(IconType it);
|
||||
|
||||
protected:
|
||||
void Render(IconType type);
|
||||
QIcon GetFallbackIcon(IconType it);
|
||||
|
||||
static YIconManager *m_singleton; // single instance
|
||||
QIcon m_icon[MaxIcon]; /* list add icon */
|
||||
QIcon m_icon[MaxIcon]; /* cache icons */
|
||||
QString m_icon_name[MaxIcon]; /* icon name from theme */
|
||||
QStyle::StandardPixmap m_icon_fallback[MaxIcon]; /* icon from style */
|
||||
};
|
||||
|
||||
class Misc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue