mirror of
https://github.com/86Box/86Box.git
synced 2026-02-25 04:45:31 -07:00
31 lines
524 B
C++
31 lines
524 B
C++
#ifndef QT_ICONINDICATORS_HPP
|
|
#define QT_ICONINDICATORS_HPP
|
|
|
|
#include <QPixmap>
|
|
#include <QIcon>
|
|
|
|
enum IconIndicator {
|
|
None,
|
|
Active,
|
|
WriteActive,
|
|
ReadWriteActive,
|
|
Disabled,
|
|
WriteProtected,
|
|
WriteProtectedActive,
|
|
New,
|
|
Browse,
|
|
WriteProtectedBrowse,
|
|
Export,
|
|
Eject,
|
|
Play,
|
|
Pause,
|
|
PlayActive,
|
|
PauseActive,
|
|
Record,
|
|
RecordWriteActive
|
|
};
|
|
|
|
QPixmap getIconWithIndicator(const QIcon &icon, const QSize &size, QIcon::Mode iconMode, IconIndicator indicator);
|
|
|
|
#endif
|