Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CTextureBundle Class Reference

#include <TextureBundle.h>

Public Member Functions

 CTextureBundle ()
 
 CTextureBundle (bool useXBT)
 
 ~CTextureBundle ()=default
 
void SetThemeBundle (bool themeBundle)
 
bool HasFile (const std::string &Filename)
 
void GetTexturesFromPath (const std::string &path, std::vector< std::string > &textures)
 
bool LoadTexture (const std::string &Filename, CBaseTexture **ppTexture, int &width, int &height)
 
int LoadAnim (const std::string &Filename, CBaseTexture ***ppTextures, int &width, int &height, int &nLoops, int **ppDelays)
 
void Close ()
 

Static Public Member Functions

static std::string Normalize (const std::string &name)
 

Constructor & Destructor Documentation

◆ CTextureBundle() [1/2]

CTextureBundle::CTextureBundle ( )

◆ CTextureBundle() [2/2]

CTextureBundle::CTextureBundle ( bool  useXBT)
explicit

◆ ~CTextureBundle()

CTextureBundle::~CTextureBundle ( )
default

Member Function Documentation

◆ Close()

void CTextureBundle::Close ( void  )

◆ GetTexturesFromPath()

void CTextureBundle::GetTexturesFromPath ( const std::string &  path,
std::vector< std::string > &  textures 
)

◆ HasFile()

bool CTextureBundle::HasFile ( const std::string &  Filename)

◆ LoadAnim()

int CTextureBundle::LoadAnim ( const std::string &  Filename,
CBaseTexture ***  ppTextures,
int &  width,
int &  height,
int &  nLoops,
int **  ppDelays 
)

◆ LoadTexture()

bool CTextureBundle::LoadTexture ( const std::string &  Filename,
CBaseTexture **  ppTexture,
int &  width,
int &  height 
)

◆ Normalize()

std::string CTextureBundle::Normalize ( const std::string &  name)
static

◆ SetThemeBundle()

void CTextureBundle::SetThemeBundle ( bool  themeBundle)

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