Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::GUILIB::GUIINFO::CGUIInfoColor Class Reference

#include <GUIInfoColor.h>

Public Member Functions

constexpr CGUIInfoColor (UTILS::COLOR::Color color=0)
 
constexpr CGUIInfoColor (UTILS::COLOR::Color color, int info)
 
constexpr operator KODI::UTILS::COLOR::Color () const
 
bool Update (const CGUIListItem *item=nullptr)
 
void Parse (const std::string &label, int context)
 
bool HasInfo () const
 Check if the infocolor has an info condition bound to its color definition (or otherwise, if it's constant color)
 

Constructor & Destructor Documentation

◆ CGUIInfoColor() [1/2]

KODI::GUILIB::GUIINFO::CGUIInfoColor::CGUIInfoColor ( UTILS::COLOR::Color color = 0)
inlineconstexpr

◆ CGUIInfoColor() [2/2]

KODI::GUILIB::GUIINFO::CGUIInfoColor::CGUIInfoColor ( UTILS::COLOR::Color color,
int info )
inlineconstexpr

Member Function Documentation

◆ HasInfo()

bool KODI::GUILIB::GUIINFO::CGUIInfoColor::HasInfo ( ) const
inline

Check if the infocolor has an info condition bound to its color definition (or otherwise, if it's constant color)

Returns
true if the color depends on an info condition, false otherwise

◆ operator KODI::UTILS::COLOR::Color()

KODI::GUILIB::GUIINFO::CGUIInfoColor::operator KODI::UTILS::COLOR::Color ( ) const
inlineconstexpr

◆ Parse()

void CGUIInfoColor::Parse ( const std::string & label,
int context )

◆ Update()

bool CGUIInfoColor::Update ( const CGUIListItem * item = nullptr)

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