|
LMMS
|
Functions | |
| auto | getIconPixmap (std::string_view name, int width, int height, const char *const *xpm) -> QPixmap |
| auto | getText (std::string_view name) -> QString |
| auto | logicalSize (const QPixmap &pixmap) noexcept |
| Temporary shim for QPixmap::deviceIndependentSize. | |
| auto LMMS_EXPORT lmms::embed::getIconPixmap | ( | std::string_view | name, |
| int | width = -1, | ||
| int | height = -1, | ||
| const char *const * | xpm = nullptr ) -> QPixmap |
Return an image for the icon pixmap cache.
| name | Identifier for the pixmap. If it is not in the icon pixmap cache, it will be loaded from the artwork QDir search paths (exceptions are compiled-in XPMs, you need to provide xpm for loading them). |
| xpm | Must be XPM data if the source should be raw XPM data instead of a file |
| auto LMMS_EXPORT lmms::embed::getText | ( | std::string_view | name | ) | -> QString |
|
inlinenoexcept |
Temporary shim for QPixmap::deviceIndependentSize.
| pixmap | The pixmap to get the size of. |