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

#include <TextureBundleXBT.h>

Public Member Functions

 CTextureBundleXBT ()
 
 CTextureBundleXBT (bool themeBundle)
 
 ~CTextureBundleXBT ()
 
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 CloseBundle ()
 

Static Public Member Functions

static std::string Normalize (const std::string &name)
 
static uint8_tUnpackFrame (const CXBTFReader &reader, const CXBTFFrame &frame)
 

Constructor & Destructor Documentation

◆ CTextureBundleXBT() [1/2]

CTextureBundleXBT::CTextureBundleXBT ( )

◆ CTextureBundleXBT() [2/2]

CTextureBundleXBT::CTextureBundleXBT ( bool  themeBundle)
explicit

◆ ~CTextureBundleXBT()

CTextureBundleXBT::~CTextureBundleXBT ( void  )

Member Function Documentation

◆ CloseBundle()

void CTextureBundleXBT::CloseBundle ( )

◆ GetTexturesFromPath()

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

◆ HasFile()

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

◆ LoadAnim()

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

◆ LoadTexture()

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

◆ Normalize()

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

◆ SetThemeBundle()

void CTextureBundleXBT::SetThemeBundle ( bool  themeBundle)

◆ UnpackFrame()

uint8_t * CTextureBundleXBT::UnpackFrame ( const CXBTFReader reader,
const CXBTFFrame frame 
)
static

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