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

#include <SettingControl.h>

Inheritance diagram for CSettingControlSlider:
ISettingControl

Public Member Functions

 CSettingControlSlider ()=default
 
 ~CSettingControlSlider () override=default
 
std::string GetType () const override
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
bool SetFormat (const std::string &format) override
 
int GetHeading () const
 
void SetHeading (int heading)
 
bool UsePopup () const
 
void SetPopup (bool popup)
 
int GetFormatLabel () const
 
void SetFormatLabel (int formatLabel)
 
const std::string & GetFormatString () const
 
void SetFormatString (const std::string &formatString)
 
std::string GetDefaultFormatString () const
 
const SettingControlSliderFormatterGetFormatter () const
 
void SetFormatter (SettingControlSliderFormatter formatter)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 

Protected Attributes

int m_heading = -1
 
bool m_popup = false
 
int m_formatLabel = -1
 
std::string m_formatString
 
SettingControlSliderFormatter m_formatter = nullptr
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 

Additional Inherited Members

- Static Protected Attributes inherited from ISettingControl
static Logger s_logger
 

Constructor & Destructor Documentation

◆ CSettingControlSlider()

CSettingControlSlider::CSettingControlSlider ( )
default

◆ ~CSettingControlSlider()

CSettingControlSlider::~CSettingControlSlider ( )
overridedefault

Member Function Documentation

◆ Deserialize()

bool CSettingControlSlider::Deserialize ( const TiXmlNode * node,
bool update = false )
overridevirtual

Reimplemented from ISettingControl.

◆ GetDefaultFormatString()

std::string CSettingControlSlider::GetDefaultFormatString ( ) const

◆ GetFormatLabel()

int CSettingControlSlider::GetFormatLabel ( ) const
inline

◆ GetFormatString()

const std::string & CSettingControlSlider::GetFormatString ( ) const
inline

◆ GetFormatter()

const SettingControlSliderFormatter & CSettingControlSlider::GetFormatter ( ) const
inline

◆ GetHeading()

int CSettingControlSlider::GetHeading ( ) const
inline

◆ GetType()

std::string CSettingControlSlider::GetType ( ) const
inlineoverridevirtual

Implements ISettingControl.

◆ SetFormat()

bool CSettingControlSlider::SetFormat ( const std::string & format)
overridevirtual

Reimplemented from ISettingControl.

◆ SetFormatLabel()

void CSettingControlSlider::SetFormatLabel ( int formatLabel)
inline

◆ SetFormatString()

void CSettingControlSlider::SetFormatString ( const std::string & formatString)
inline

◆ SetFormatter()

void CSettingControlSlider::SetFormatter ( SettingControlSliderFormatter formatter)
inline

◆ SetHeading()

void CSettingControlSlider::SetHeading ( int heading)
inline

◆ SetPopup()

void CSettingControlSlider::SetPopup ( bool popup)
inline

◆ UsePopup()

bool CSettingControlSlider::UsePopup ( ) const
inline

Member Data Documentation

◆ m_formatLabel

int CSettingControlSlider::m_formatLabel = -1
protected

◆ m_formatString

std::string CSettingControlSlider::m_formatString
protected

◆ m_formatter

SettingControlSliderFormatter CSettingControlSlider::m_formatter = nullptr
protected

◆ m_heading

int CSettingControlSlider::m_heading = -1
protected

◆ m_popup

bool CSettingControlSlider::m_popup = false
protected

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