LMMS
Loading...
Searching...
No Matches
lmms::PixmapLoader Class Reference

#include <embed.h>

Public Member Functions

 PixmapLoader ()=default
 PixmapLoader (std::string name, const char *const *xpm=nullptr)
virtual ~PixmapLoader ()=default
auto pixmap (int width=-1, int height=-1) const -> QPixmap
auto pixmapName () const -> const std::string &

Private Attributes

std::string m_name
const char *constm_xpm = nullptr

Constructor & Destructor Documentation

◆ PixmapLoader() [1/2]

lmms::PixmapLoader::PixmapLoader ( )
default

◆ PixmapLoader() [2/2]

lmms::PixmapLoader::PixmapLoader ( std::string name,
const char *const * xpm = nullptr )
inlineexplicit

◆ ~PixmapLoader()

virtual lmms::PixmapLoader::~PixmapLoader ( )
virtualdefault

Member Function Documentation

◆ pixmap()

auto lmms::PixmapLoader::pixmap ( int width = -1,
int height = -1 ) const -> QPixmap
inline

◆ pixmapName()

auto lmms::PixmapLoader::pixmapName ( ) const -> const std::string &
inline

Member Data Documentation

◆ m_name

std::string lmms::PixmapLoader::m_name
private

◆ m_xpm

const char* const* lmms::PixmapLoader::m_xpm = nullptr
private

The documentation for this class was generated from the following file: