11 #include "guilib/ISliderCallback.h"    12 #include "utils/ILocalizer.h"    43   int GetID()
 const { 
return m_id; }
    44   std::shared_ptr<CSetting> GetSetting() { 
return m_pSetting; }
    78   void SetValid(
bool valid) { m_valid = valid; }
    81   virtual bool OnClick() { 
return false; }
    82   void UpdateFromControl();
    83   void UpdateFromSetting(
bool updateDisplayOnly = 
false);
    84   virtual void Clear() = 0; 
    87   std::string Localize(std::uint32_t 
code) 
const override;
    89   virtual void Update(
bool fromControl, 
bool updateDisplayOnly);
    92   std::shared_ptr<CSetting> m_pSetting;
    94   bool m_delayed = 
false;
   103                                 std::shared_ptr<CSetting> pSetting,
   107   void Select(
bool bSelect);
   110   bool OnClick() 
override;
   111   void Clear()
 override { m_pRadioButton = NULL; }
   115   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   126                                 const std::shared_ptr<CSetting>& pSetting,
   130   void Select(
bool bSelect);
   133   bool OnClick() 
override;
   134   void Clear()
 override { m_pColorButton = 
nullptr; }
   138   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   149                            std::shared_ptr<CSetting> pSetting,
   154   bool OnClick() 
override;
   155   void Clear()
 override { m_pSpin = NULL; }
   159   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   162   void FillControl(
bool updateDisplayOnly);
   163   void FillIntegerSettingControl(
bool updateValues);
   164   void FillFloatSettingControl();
   165   void FillStringSettingControl(
bool updateValues);
   174                          std::shared_ptr<CSetting> pSetting,
   179   bool OnClick() 
override;
   180   void Clear()
 override { m_pButton = NULL; }
   184   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   187   bool GetItems(
const std::shared_ptr<const CSetting>& setting,
   189                 bool updateItems) 
const;
   190   bool GetIntegerItems(
const std::shared_ptr<const CSetting>& setting,
   192                        bool updateItems) 
const;
   193   bool GetStringItems(
const std::shared_ptr<const CSetting>& setting,
   195                       bool updateItems) 
const;
   205                               std::shared_ptr<CSetting> pSetting,
   210   bool OnClick() 
override;
   211   void Clear()
 override { m_pButton = 
nullptr; }
   215   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   226                            std::shared_ptr<CSetting> pSetting,
   231   bool OnClick() 
override;
   232   void Clear()
 override { m_pButton = NULL; }
   234   static bool GetPath(
const std::shared_ptr<CSettingPath>& pathSetting, 
ILocalizer* localizer);
   238   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   252                          const std::shared_ptr<CSetting>& pSetting,
   257   bool OnClick() 
override;
   258   void Clear()
 override { m_pEdit = NULL; }
   262   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   265   static bool InputValidation(
const std::string& input, 
void* data);
   275                            std::shared_ptr<CSetting> pSetting,
   280   bool OnClick() 
override;
   281   void Clear()
 override { m_pSlider = NULL; }
   283   static std::string GetText(
const std::shared_ptr<CSetting>& setting,
   292   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   295   static bool FormatText(
const std::string& formatString,
   297                          const std::string& settingId,
   298                          std::string& formattedText);
   308                           std::shared_ptr<CSetting> pSetting,
   313   bool OnClick() 
override;
   314   void Clear()
 override { m_pSlider = NULL; }
   318   void Update(
bool fromControl, 
bool updateDisplayOnly) 
override;
   331   bool OnClick()
 override { 
return false; }
   332   void Clear()
 override { m_pImage = NULL; }
   345   bool OnClick()
 override { 
return false; }
   346   void Clear()
 override { m_pLabel = NULL; }
   357                           std::shared_ptr<CSetting> pSetting,
   362   void Clear()
 override { m_pButton = NULL; }
 Definition: GUIControlSettings.h:37
Interface class for callback from the slider dialog. 
Definition: ISliderCallback.h:24
Definition: GUIControlSettings.h:169
Definition: GUIEditControl.h:26
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:258
Definition: GUIControlSettings.h:338
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:180
Definition: GUIControlSettings.h:270
Definition: GUIControlSettings.h:200
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:332
Represents a list of files. 
Definition: FileItem.h:702
virtual void Clear()=0
Clears the attached control. 
bool IsValid() const
Returns whether the setting's value is valid or not. 
Definition: GUIControlSettings.h:76
Base class for controls. 
Definition: GUIControl.h:83
Setting base class containing all the properties which are common to all settings independent of the ...
Definition: Setting.h:46
String setting implementation. 
Definition: Setting.h:423
Definition: GUISettingsSliderControl.h:23
Definition: GUIControlSettings.h:247
Definition: GUIControlSettings.h:303
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:155
Definition: GUILabelControl.h:24
Definition: GUIControlSettings.h:352
Definition: ILocalizer.h:14
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:211
bool IsEnabled() const
Returns whether this setting is enabled or disabled This state is independent of the real enabled sta...
Definition: GUIControlSettings.cpp:301
Definition: inftrees.h:24
Definition: GUIImage.h:27
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:346
Definition: SettingPath.h:17
Definition: GUISliderControl.h:37
Definition: GUISpinControlEx.h:23
Definition: SettingControl.h:219
Definition: GUIControlSettings.h:144
bool IsDelayed() const
Returns whether this setting should have delayed update. 
Definition: GUIControlSettings.h:61
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:281
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:362
void Clear() override
Clears the attached control. 
Definition: GUIControlSettings.h:314
Definition: GUIControlSettings.h:324
void SetDelayed()
Specifies that this setting should update after a delay Useful for settings that have options to navi...
Definition: GUIControlSettings.h:54