#include <GUIControlSettings.h>
◆ CGUIControlBaseSetting()
CGUIControlBaseSetting::CGUIControlBaseSetting |
( |
int |
id, |
|
|
std::shared_ptr< CSetting > |
pSetting, |
|
|
ILocalizer * |
localizer |
|
) |
| |
◆ ~CGUIControlBaseSetting()
CGUIControlBaseSetting::~CGUIControlBaseSetting |
( |
| ) |
|
|
overridedefault |
◆ Clear()
virtual void CGUIControlBaseSetting::Clear |
( |
| ) |
|
|
pure virtual |
◆ GetControl()
virtual CGUIControl * CGUIControlBaseSetting::GetControl |
( |
| ) |
|
|
inlinevirtual |
◆ GetID()
int CGUIControlBaseSetting::GetID |
( |
| ) |
const |
|
inline |
◆ GetSetting()
std::shared_ptr< CSetting > CGUIControlBaseSetting::GetSetting |
( |
| ) |
|
|
inline |
◆ IsDelayed()
bool CGUIControlBaseSetting::IsDelayed |
( |
| ) |
const |
|
inline |
Returns whether this setting should have delayed update.
- Returns
- true if the setting's update should be delayed
- See also
- SetDelayed()
◆ IsEnabled()
bool CGUIControlBaseSetting::IsEnabled |
( |
| ) |
const |
Returns whether this setting is enabled or disabled This state is independent of the real enabled state of a setting control but represents the enabled state of the setting itself based on specific conditions.
- Returns
- true if the setting is enabled otherwise false
- See also
- SetEnabled()
◆ IsValid()
bool CGUIControlBaseSetting::IsValid |
( |
| ) |
const |
|
inline |
Returns whether the setting's value is valid or not.
◆ Localize()
std::string CGUIControlBaseSetting::Localize |
( |
std::uint32_t |
code | ) |
const |
|
overrideprotectedvirtual |
◆ OnClick()
virtual bool CGUIControlBaseSetting::OnClick |
( |
| ) |
|
|
inlinevirtual |
◆ SetDelayed()
void CGUIControlBaseSetting::SetDelayed |
( |
| ) |
|
|
inline |
Specifies that this setting should update after a delay Useful for settings that have options to navigate through and may take a while, or require additional input to update once the final setting is chosen. Settings default to updating instantly.
- See also
- IsDelayed()
◆ SetValid()
void CGUIControlBaseSetting::SetValid |
( |
bool |
valid | ) |
|
|
inline |
◆ Update()
void CGUIControlBaseSetting::Update |
( |
bool |
updateDisplayOnly = false | ) |
|
|
virtual |
◆ m_delayed
bool CGUIControlBaseSetting::m_delayed |
|
protected |
◆ m_id
int CGUIControlBaseSetting::m_id |
|
protected |
◆ m_localizer
◆ m_pSetting
std::shared_ptr<CSetting> CGUIControlBaseSetting::m_pSetting |
|
protected |
◆ m_valid
bool CGUIControlBaseSetting::m_valid |
|
protected |
The documentation for this class was generated from the following files: