![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIControlSettings.h>
Public Member Functions | |
CGUIControlEditSetting (CGUIEditControl *pButton, int id, std::shared_ptr< CSetting > pSetting, ILocalizer *localizer) | |
~CGUIControlEditSetting () override | |
CGUIControl * | GetControl () override |
bool | OnClick () override |
void | Update (bool updateDisplayOnly=false) override |
void | Clear () override |
Clears the attached control. More... | |
![]() | |
CGUIControlBaseSetting (int id, std::shared_ptr< CSetting > pSetting, ILocalizer *localizer) | |
~CGUIControlBaseSetting () override=default | |
int | GetID () const |
std::shared_ptr< CSetting > | GetSetting () |
void | SetDelayed () |
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. More... | |
bool | IsDelayed () const |
Returns whether this setting should have delayed update. More... | |
bool | 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. More... | |
bool | IsValid () const |
Returns whether the setting's value is valid or not. More... | |
void | SetValid (bool valid) |
Additional Inherited Members | |
![]() | |
std::string | Localize (std::uint32_t code) const override |
![]() | |
ILocalizer ()=default | |
virtual | ~ILocalizer ()=default |
![]() | |
int | m_id |
std::shared_ptr< CSetting > | m_pSetting |
ILocalizer * | m_localizer |
bool | m_delayed |
bool | m_valid |
CGUIControlEditSetting::CGUIControlEditSetting | ( | CGUIEditControl * | pButton, |
int | id, | ||
std::shared_ptr< CSetting > | pSetting, | ||
ILocalizer * | localizer | ||
) |
|
overridedefault |
|
inlineoverridevirtual |
Clears the attached control.
Implements CGUIControlBaseSetting.
|
inlineoverridevirtual |
Reimplemented from CGUIControlBaseSetting.
|
overridevirtual |
Reimplemented from CGUIControlBaseSetting.
|
overridevirtual |
Reimplemented from CGUIControlBaseSetting.