Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CTextureBundleXBT Class Reference

#include <TextureBundleXBT.h>

Classes

struct  Animation
 
struct  Texture
 

Public Member Functions

 CTextureBundleXBT ()
 
 CTextureBundleXBT (bool themeBundle)
 
 ~CTextureBundleXBT ()
 
void SetThemeBundle (bool themeBundle)
 
bool HasFile (const std::string &Filename)
 
std::vector< std::string > GetTexturesFromPath (const std::string &path)
 
std::optional< TextureLoadTexture (const std::string &filename)
 See CTextureBundle::LoadTexture.
 
std::optional< AnimationLoadAnim (const std::string &filename)
 See CTextureBundle::LoadAnim.
 
void CloseBundle ()
 

Static Public Member Functions

static std::string Normalize (std::string name)
 
static std::vector< 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()

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

◆ HasFile()

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

◆ LoadAnim()

std::optional< CTextureBundleXBT::Animation > CTextureBundleXBT::LoadAnim ( const std::string & filename)

◆ LoadTexture()

std::optional< CTextureBundleXBT::Texture > CTextureBundleXBT::LoadTexture ( const std::string & filename)

◆ Normalize()

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

◆ SetThemeBundle()

void CTextureBundleXBT::SetThemeBundle ( bool themeBundle)

◆ UnpackFrame()

std::vector< uint8_t > CTextureBundleXBT::UnpackFrame ( const CXBTFReader & reader,
const CXBTFFrame & frame )
static
Todo
Change return to std::optional<std::vector<uint8_t>>> when c++17 is allowed

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