kodi
Public Member Functions | Protected Member Functions | List of all members
CGUIControlRangeSetting Class Reference
Inheritance diagram for CGUIControlRangeSetting:
Inheritance graph
[legend]
Collaboration diagram for CGUIControlRangeSetting:
Collaboration graph
[legend]

Public Member Functions

 CGUIControlRangeSetting (CGUISettingsSliderControl *pSlider, int id, std::shared_ptr< CSetting > pSetting, ILocalizer *localizer)
 
CGUIControlGetControl () override
 
bool OnClick () override
 
void Clear () override
 Clears the attached control.
 
- Public Member Functions inherited from CGUIControlBaseSetting
 CGUIControlBaseSetting (int id, std::shared_ptr< CSetting > pSetting, ILocalizer *localizer)
 
int GetID () const
 
std::shared_ptr< CSettingGetSetting ()
 
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.
 
void SetValid (bool valid)
 
void UpdateFromControl ()
 
void UpdateFromSetting (bool updateDisplayOnly=false)
 

Protected Member Functions

void Update (bool fromControl, bool updateDisplayOnly) override
 
- Protected Member Functions inherited from CGUIControlBaseSetting
std::string Localize (std::uint32_t code) const override
 

Additional Inherited Members

- Protected Attributes inherited from CGUIControlBaseSetting
int m_id
 
std::shared_ptr< CSettingm_pSetting
 
ILocalizerm_localizer
 
bool m_delayed = false
 
bool m_valid = true
 

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