|
void | OnInitWindow () override |
| Called on window open.
|
|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed.
|
|
void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) override |
| The given setting has been activated.
|
|
bool | AllowResettingSettings () const override |
|
bool | Save () override |
|
void | SetupView () override |
|
void | InitializeSettings () override |
|
std::shared_ptr< CSettingSection > | GetSection () override |
|
void | SetupView () override |
|
CSettingsManager * | GetSettingsManager () const override |
|
std::shared_ptr< CSettingCategory > | AddCategory (const std::string &id, int label, int help=-1) |
|
std::shared_ptr< CSettingGroup > | AddGroup (const std::shared_ptr< CSettingCategory > &category, int label=-1, int help=-1, bool separatorBelowLabel=true, bool hideSeparator=false) |
|
std::shared_ptr< CSettingBool > | AddToggle (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, bool value, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddEdit (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, int minimum=0, int step=1, int maximum=0, bool verifyNewValue=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingNumber > | AddEdit (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float value, float minimum=0.0f, float step=1.0f, float maximum=0.0f, bool verifyNewValue=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddEdit (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool allowEmpty=false, bool hidden=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddIp (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool allowEmpty=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddPasswordMd5 (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool allowEmpty=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingAction > | AddButton (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &data="", bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddInfoLabelButton (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &info, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingAddon > | AddAddon (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, ADDON::AddonType addonType, bool allowEmpty=false, int heading=-1, bool hideValue=false, bool showInstalledAddons=true, bool showInstallableAddons=false, bool showMoreAddons=true, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingPath > | AddPath (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool writable=true, const std::vector< std::string > &sources=std::vector< std::string >(), bool allowEmpty=false, int heading=-1, bool hideValue=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingDate > | AddDate (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool allowEmpty=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingTime > | AddTime (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, bool allowEmpty=false, int heading=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, StringSettingOptionsFiller filler, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, int minimum, int step, int maximum, int formatLabel=-1, int minimumLabel=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, int minimum, int step, int maximum, const std::string &formatString, int minimumLabel=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const TranslatableIntegerSettingOptions &entries, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const IntegerSettingOptions &entries, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, IntegerSettingOptionsFiller filler, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingNumber > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float value, float minimum, float step, float maximum, int formatLabel=-1, int minimumLabel=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingNumber > | AddSpinner (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float value, float minimum, float step, float maximum, const std::string &formatString, int minimumLabel=-1, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingString > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, const std::string &value, StringSettingOptionsFiller filler, int heading, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingInt > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const TranslatableIntegerSettingOptions &entries, int heading, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingInt > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const IntegerSettingOptions &entries, int heading, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingInt > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, IntegerSettingOptionsFiller filler, int heading, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingList > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, std::vector< std::string > values, StringSettingOptionsFiller filler, int heading, int minimumItems=0, int maximumItems=-1, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingList > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, std::vector< int > values, const TranslatableIntegerSettingOptions &entries, int heading, int minimumItems=0, int maximumItems=-1, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingList > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, std::vector< int > values, const IntegerSettingOptions &entries, int heading, int minimumItems=0, int maximumItems=-1, bool visible=true, int help=-1, bool details=false) |
|
std::shared_ptr< CSettingList > | AddList (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, std::vector< int > values, IntegerSettingOptionsFiller filler, int heading, int minimumItems=0, int maximumItems=-1, bool visible=true, int help=-1, SettingControlListValueFormatter formatter=nullptr, bool details=false) |
|
std::shared_ptr< CSettingInt > | AddPercentageSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, int formatLabel, int step=1, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddPercentageSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const std::string &formatString, int step=1, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, int formatLabel, int minimum, int step, int maximum, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingInt > | AddSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int value, const std::string &formatString, int minimum, int step, int maximum, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingNumber > | AddSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float value, int formatLabel, float minimum, float step, float maximum, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingNumber > | AddSlider (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float value, const std::string &formatString, float minimum, float step, float maximum, int heading=-1, bool usePopup=false, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddPercentageRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int valueFormatLabel, int step=1, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddPercentageRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, const std::string &valueFormatString="{:d} %", int step=1, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, int valueFormatLabel, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, const std::string &valueFormatString="{:d}", int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float valueLower, float valueUpper, float minimum, float step, float maximum, int valueFormatLabel, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, float valueLower, float valueUpper, float minimum, float step, float maximum, const std::string &valueFormatString="{:.1f}", int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddDateRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, int valueFormatLabel, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddDateRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, const std::string &valueFormatString="", int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddTimeRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, int valueFormatLabel, int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< CSettingList > | AddTimeRange (const std::shared_ptr< CSettingGroup > &group, const std::string &id, int label, SettingLevel level, int valueLower, int valueUpper, int minimum, int step, int maximum, const std::string &valueFormatString="mm:ss", int formatLabel=21469, bool delayed=false, bool visible=true, int help=-1) |
|
std::shared_ptr< ISettingControl > | GetTitleControl (bool separatorBelowLabel=true, bool hideSeparator=false) |
|
std::shared_ptr< ISettingControl > | GetCheckmarkControl (bool delayed=false) |
|
std::shared_ptr< ISettingControl > | GetEditControl (const std::string &format, bool delayed=false, bool hidden=false, bool verifyNewValue=false, int heading=-1) |
|
std::shared_ptr< ISettingControl > | GetButtonControl (const std::string &format, bool delayed=false, int heading=-1, bool hideValue=false, bool showInstalledAddons=true, bool showInstallableAddons=false, bool showMoreAddons=true) |
|
std::shared_ptr< ISettingControl > | GetSpinnerControl (const std::string &format, bool delayed=false, int minimumLabel=-1, int formatLabel=-1, const std::string &formatString="") |
|
std::shared_ptr< ISettingControl > | GetListControl (const std::string &format, bool delayed=false, int heading=-1, bool multiselect=false, SettingControlListValueFormatter formatter=nullptr, bool details=false) |
|
std::shared_ptr< ISettingControl > | GetSliderControl (const std::string &format, bool delayed=false, int heading=-1, bool usePopup=false, int formatLabel=-1, const std::string &formatString="") |
|
std::shared_ptr< ISettingControl > | GetRangeControl (const std::string &format, bool delayed=false, int formatLabel=-1, int valueFormatLabel=-1, const std::string &valueFormatString="") |
|
std::shared_ptr< CSetting > | GetSetting (const std::string &settingId) override |
|
bool | OnOkay () override |
|
std::set< std::string > | CreateSettings () override |
|
void | FreeSettingsControls () override |
|
std::shared_ptr< ISettingControl > | CreateControl (const std::string &controlType) const override |
| Creates a new setting control of the given custom setting control type.
|
|
void | OnInitWindow () override |
| Called on window open.
|
|
void | OnTimeout () override |
|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed.
|
|
void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) override |
| The given property of the given setting has changed.
|
|
virtual int | GetSettingLevel () const |
|
virtual std::chrono::milliseconds | GetDelayMs () const |
|
virtual std::string | GetLocalizedString (uint32_t labelId) const |
|
virtual void | OnCancel () |
|
virtual void | UpdateSettings () |
|
virtual std::string | GetSettingsLabel (const std::shared_ptr< ISetting > &pSetting) |
| Get the name for the setting entry.
|
|
virtual CGUIControl * | AddSetting (const std::shared_ptr< CSetting > &pSetting, float width, int &iControlID) |
|
virtual CGUIControl * | AddSettingControl (CGUIControl *pControl, BaseSettingControlPtr pSettingControl, float width, int &iControlID) |
|
virtual void | SetupControls (bool createSettings=true) |
|
virtual void | FreeControls () |
|
virtual void | DeleteControls () |
|
virtual void | SetHeading (const CVariant &label) |
|
virtual void | SetDescription (const CVariant &label) |
|
virtual void | OnResetSettings () |
|
virtual void | OnClick (const BaseSettingControlPtr &pSettingControl) |
| A setting control has been interacted with by the user.
|
|
void | UpdateSettingControl (const std::string &settingId, bool updateDisplayOnly=false) |
|
void | UpdateSettingControl (const BaseSettingControlPtr &pSettingControl, bool updateDisplayOnly=false) |
|
void | SetControlLabel (int controlId, const CVariant &label) |
|
BaseSettingControlPtr | GetSettingControl (const std::string &setting) |
|
BaseSettingControlPtr | GetSettingControl (int controlId) |
|
CGUIControl * | AddSeparator (float width, int &iControlID) |
|
CGUIControl * | AddGroupLabel (const std::shared_ptr< CSettingGroup > &group, float width, int &iControlID) |
|
bool | Load (TiXmlElement *pRootElement) override |
| Loads the window from the given XML element.
|
|
void | SetDefaults () override |
|
void | OnWindowLoaded () override |
|
virtual void | UpdateVisibility () |
|
virtual void | Open_Internal (bool bProcessRenderLoop, const std::string ¶m="") |
|
void | OnDeinitWindow (int nextWindowID) override |
|
void | ProcessRenderLoop (bool renderOnly=false) |
|
EVENT_RESULT | OnMouseEvent (const CPoint &point, const KODI::MOUSE::CMouseEvent &event) override |
| Perform a mouse action.
|
|
virtual bool | LoadXML (const std::string &strPath, const std::string &strLowerPath) |
| Load the window XML from the given path.
|
|
virtual std::unique_ptr< TiXmlElement > | Prepare (const std::unique_ptr< TiXmlElement > &rootElement) |
| Prepare the XML for load.
|
|
bool | NeedLoad () const |
| Check if window needs a (re)load. The window need to be (re)loaded when window is not loaded or include conditions values were changed.
|
|
virtual void | OnWindowUnload () |
|
void | Close_Internal (bool forceClose=false, int nextWindowID=0, bool enableSound=true) |
|
EVENT_RESULT | OnMouseAction (const CAction &action) |
|
bool | Animate (unsigned int currentTime) override |
|
bool | CheckAnimation (ANIMATION_TYPE animType) override |
|
virtual void | SaveControlStates () |
|
virtual void | RestoreControlStates () |
|
void | OnEditChanged (int id, std::string &text) |
|
bool | SendMessage (int message, int id, int param1=0, int param2=0) |
|
void | LoadControl (TiXmlElement *pControl, CGUIControlGroup *pGroup, const CRect &rect) |
|
CPoint | GetPosition () const override |
| Grabs the window's top,left position in skin coordinates The window origin may change based on <origin> tag conditions in the skin.
|
|
bool | IsValidControl (const CGUIControl *control) const |
| Check whether a given control is valid Runs through controls and returns whether this control is valid. Only functional for controls with non-zero id.
|
|
std::pair< LookupMap::const_iterator, LookupMap::const_iterator > | GetLookupControls (int controlId) const |
|
void | AddLookup (CGUIControl *control) |
|
void | RemoveLookup (CGUIControl *control) |
|
void | RemoveLookup () |
|
const LookupMap & | GetLookup () const |
|
void | ClearLookup () |
|
virtual bool | OnMouseOver (const CPoint &point) |
| Called when the mouse is over the control. Default implementation selects the control.
|
|
virtual bool | CanFocusFromPoint (const CPoint &point) const |
| Test whether we can focus a control from a point on screen.
|
|
virtual bool | UpdateColors (const CGUIListItem *item) |
|
void | UpdateStates (ANIMATION_TYPE type, ANIMATION_PROCESS currentProcess, ANIMATION_STATE currentState) |
|
bool | SendWindowMessage (CGUIMessage &message) const |
|
| CSettingControlCreator ()=default |
|
| ~CSettingControlCreator () override=default |
|
| ILocalizer ()=default |
|
virtual | ~ITimerCallback ()=default |
|
virtual | ~ISettingCallback ()=default |
|
virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
| The value of the given setting is being changed.
|
|
virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
| The given setting needs to be updated.
|
|