xbmc
|
Public Member Functions | |
void | SetRecording (const std::shared_ptr< CPVRRecording > &recording) |
![]() | |
CGUIDialogSettingsManualBase (int windowId, const std::string &xmlFile) | |
![]() | |
CGUIDialogSettingsManagerBase (int windowId, const std::string &xmlFile) | |
![]() | |
CGUIDialogSettingsBase (int windowId, const std::string &xmlFile) | |
bool | OnMessage (CGUIMessage &message) override |
bool | OnAction (const CAction &action) override |
bool | OnBack (int actionID) override |
void | DoProcess (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
virtual bool | IsConfirmed () const |
std::string | Localize (std::uint32_t code) const override |
![]() | |
CGUIDialog (int id, const std::string &xmlFile, DialogModalityType modalityType=DialogModalityType::MODAL) | |
void | Render () override |
void | Open (const std::string ¶m="") |
void | Open (bool bProcessRenderLoop, const std::string ¶m="") |
bool | IsDialogRunning () const override |
bool | IsDialog () const override |
bool | IsModalDialog () const override |
virtual DialogModalityType | GetModalityType () const |
void | SetAutoClose (unsigned int timeoutMs) |
void | ResetAutoClose (void) |
void | CancelAutoClose (void) |
bool | IsAutoClosed (void) const |
void | SetSound (bool OnOff) |
bool | IsSoundEnabled () const override |
![]() | |
CGUIWindow (int id, const std::string &xmlFile) | |
bool | Initialize () |
bool | Load (const std::string &strFileName, bool bContainsPath=false) |
void | CenterWindow () |
void | DoRender () override |
Main render function, called every frame. Window classes should override this only if they need to alter how something is rendered. General updating on a per-frame basis should be handled in FrameMove instead, as DoRender is not necessarily re-entrant. More... | |
void | AfterRender () |
Do any post render activities. Check if window closing animation is finished and finalize window closing. | |
virtual void | FrameMove () |
Main update function, called every frame prior to rendering Any window that requires updating on a frame by frame basis (such as to maintain timers and the like) should override this function. | |
void | Close (bool forceClose=false, int nextWindowID=0, bool enableSound=true, bool bWait=true) |
virtual bool | OnInfo (int actionID) |
virtual void | ClearBackground () |
Clear the background (if necessary) prior to rendering the window. | |
bool | OnMove (int fromControl, int moveAction) |
bool | ControlGroupHasFocus (int groupID, int controlID) |
void | SetID (int id) override |
virtual bool | HasID (int controlID) const |
const std::vector< int > & | GetIDRange () const |
int | GetPreviousWindow () |
CRect | GetScaledBounds () const |
void | ClearAll () override |
virtual void | AllocResources (bool forceLoad=false) |
void | FreeResources (bool forceUnLoad=false) override |
void | DynamicResourceAlloc (bool bOnOff) override |
virtual bool | IsMediaWindow () const |
virtual bool | HasListItems () const |
virtual CFileItemPtr | GetCurrentListItem (int offset=0) |
virtual int | GetViewContainerID () const |
virtual int | GetViewCount () const |
virtual bool | CanBeActivated () const |
virtual bool | IsActive () const |
void | SetCoordsRes (const RESOLUTION_INFO &res) |
const RESOLUTION_INFO & | GetCoordsRes () const |
void | SetLoadType (LOAD_TYPE loadType) |
LOAD_TYPE | GetLoadType () |
int | GetRenderOrder () |
void | SetInitialVisibility () override |
bool | IsVisible () const override |
virtual bool | HasVisibleControls () |
bool | IsAnimating (ANIMATION_TYPE animType) override |
bool | IsCustom () const |
Return if the window is a custom window. More... | |
void | SetCustom (bool custom) |
Mark this window as custom window. More... | |
void | DisableAnimations () |
virtual void | ResetControlStates () |
void | UpdateControlStats () override |
void | SetRunActionsManually () |
void | RunLoadActions () const |
void | RunUnloadActions () const |
void | SetProperty (const std::string &key, const CVariant &value) |
Set a property Sets the value of a property referenced by a key. More... | |
CVariant | GetProperty (const std::string &key) const |
Retrieve a property. More... | |
void | ClearProperties () |
Clear a all the window's properties. More... | |
bool | HasSaveLastControl () const |
![]() | |
CGUIControlGroup (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControlGroup (const CGUIControlGroup &from) | |
CGUIControlGroup * | Clone () const override |
void | Process (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
void | RenderEx () override |
virtual bool | SendControlMessage (CGUIMessage &message) |
bool | HasFocus () const override |
void | AllocResources () override |
bool | CanFocus () const override |
void | AssignDepth () override |
EVENT_RESULT | SendMouseEvent (const CPoint &point, const KODI::MOUSE::CMouseEvent &event) override |
React to a mouse event. More... | |
void | UnfocusFromPoint (const CPoint &point) override |
Unfocus the control if the given point on screen is not within it's boundary. More... | |
bool | HasAnimation (ANIMATION_TYPE anim) override |
void | QueueAnimation (ANIMATION_TYPE anim) override |
void | ResetAnimation (ANIMATION_TYPE anim) override |
void | ResetAnimations () override |
int | GetFocusedControlID () const |
CGUIControl * | GetFocusedControl () const |
virtual CGUIControl * | GetFirstFocusableControl (int id) |
virtual void | AddControl (CGUIControl *control, int position=-1) |
bool | InsertControl (CGUIControl *control, const CGUIControl *insertPoint) |
virtual bool | RemoveControl (const CGUIControl *control) |
void | SetDefaultControl (int id, bool always) |
void | SetRenderFocusedLast (bool renderLast) |
void | SaveStates (std::vector< CControlState > &states) override |
bool | IsGroup () const override |
![]() | |
CGUIControlLookup (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControlLookup (const CGUIControlLookup &from) | |
CGUIControl * | GetControl (int id, std::vector< CGUIControl *> *idCollector=nullptr) override |
![]() | |
CGUIControl (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControl (const CGUIControl &) | |
bool | HasProcessed () const |
Returns whether or not we have processed. | |
virtual void | OnUp () |
virtual void | OnDown () |
virtual void | OnLeft () |
virtual void | OnRight () |
virtual bool | OnBack () |
virtual bool | OnInfo () |
virtual void | OnNextControl () |
virtual void | OnPrevControl () |
virtual void | OnFocus () |
virtual void | OnUnFocus () |
virtual bool | HitTest (const CPoint &point) const |
Used to test whether the point is inside a control. More... | |
virtual int | GetID (void) const |
int | GetParentID () const |
virtual bool | IsDynamicallyAllocated () |
bool | IsVisibleFromSkin () const |
virtual bool | IsDisabled () const |
virtual void | SetPosition (float posX, float posY) |
virtual void | SetHitRect (const CRect &rect, const KODI::UTILS::COLOR::Color &color) |
virtual void | SetCamera (const CPoint &camera) |
virtual void | SetStereoFactor (const float &factor) |
bool | SetColorDiffuse (const KODI::GUILIB::GUIINFO::CGUIInfoColor &color) |
CPoint | GetRenderPosition () const |
virtual float | GetXPosition () const |
virtual float | GetYPosition () const |
virtual float | GetWidth () const |
virtual float | GetHeight () const |
void | MarkDirtyRegion (const unsigned int dirtyState=DIRTY_STATE_CONTROL) |
bool | IsControlDirty () const |
const CRect & | GetRenderRegion () const |
return the render region in screen coordinates of this control | |
virtual CRect | CalcRenderRegion () const |
calculate the render region in parentcontrol coordinates of this control Called during process to update m_renderRegion | |
void | SetActions (const ActionMap &actions) |
void | SetAction (int actionID, const CGUIAction &action, bool replace=true) |
Set actions to perform on navigation Navigations are set if replace is true or if there is no previously set action. More... | |
CGUIAction | GetAction (int actionID) const |
Get an action the control can be perform. More... | |
bool | Navigate (int direction) const |
Start navigating in given direction. | |
virtual void | SetFocus (bool focus) |
virtual void | SetWidth (float width) |
virtual void | SetHeight (float height) |
virtual void | SetVisible (bool bVisible, bool setVisState=false) |
void | SetVisibleCondition (const std::string &expression, const std::string &allowHiddenFocus="") |
bool | HasVisibleCondition () const |
void | SetEnableCondition (const std::string &expression) |
virtual void | UpdateVisibility (const CGUIListItem *item) |
virtual void | SetEnabled (bool bEnable) |
virtual void | SetInvalid () |
virtual void | SetPulseOnSelect (bool pulse) |
virtual std::string | GetDescription () const |
virtual std::string | GetDescriptionByIndex (int index) const |
void | SetAnimations (const std::vector< CAnimation > &animations) |
const std::vector< CAnimation > & | GetAnimations () const |
CAnimation * | GetAnimation (ANIMATION_TYPE type, bool checkConditions=true) |
virtual void | UpdateInfo (const CGUIListItem *item=NULL) |
virtual void | SetPushUpdates (bool pushUpdates) |
virtual bool | IsContainer () const |
virtual bool | GetCondition (int condition, int data) const |
void | SetParentControl (CGUIControl *control) |
CGUIControl * | GetParentControl (void) const |
void | SetControlStats (GUICONTROLSTATS *controlStats) |
GUICONTROLTYPES | GetControlType () const |
bool | IsControlRenderable () |
Test whether the control is "drawable" (not a group or similar) More... | |
![]() | |
std::shared_ptr< ISettingControl > | CreateControl (const std::string &controlType) const override |
Creates a new setting control of the given custom setting control type. More... | |
Static Public Member Functions | |
static bool | CanEditRecording (const CFileItem &item) |
Protected Member Functions | |
bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) override |
The value of the given setting is being changed. More... | |
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
The value of the given setting has changed. More... | |
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. More... | |
![]() | |
void | OnInitWindow () override |
Called on window open. More... | |
void | OnTimeout () override |
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
The value of the given setting has changed. More... | |
void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) override |
The given property of the given setting has changed. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual bool | LoadXML (const std::string &strPath, const std::string &strLowerPath) |
Load the window XML from the given path. More... | |
virtual std::unique_ptr< TiXmlElement > | Prepare (const std::unique_ptr< TiXmlElement > &rootElement) |
Prepare the XML for load. More... | |
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. More... | |
![]() | |
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. More... | |
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. More... | |
virtual bool | CanFocusFromPoint (const CPoint &point) const |
Test whether we can focus a control from a point on screen. More... | |
virtual bool | UpdateColors (const CGUIListItem *item) |
void | UpdateStates (ANIMATION_TYPE type, ANIMATION_PROCESS currentProcess, ANIMATION_STATE currentState) |
bool | SendWindowMessage (CGUIMessage &message) const |
![]() | |
virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
The given setting has been activated. More... | |
virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
The given setting needs to be updated. More... | |
Additional Inherited Members | |
![]() | |
enum | LOAD_TYPE { LOAD_EVERY_TIME, LOAD_ON_GUI_INIT, KEEP_IN_MEMORY } |
![]() | |
enum | GUICONTROLTYPES { GUICONTROL_UNKNOWN, GUICONTAINER_EPGGRID, GUICONTAINER_FIXEDLIST, GUICONTAINER_LIST, GUICONTAINER_PANEL, GUICONTAINER_WRAPLIST, GUICONTROL_BORDEREDIMAGE, GUICONTROL_BUTTON, GUICONTROL_COLORBUTTON, GUICONTROL_EDIT, GUICONTROL_FADELABEL, GUICONTROL_GAME, GUICONTROL_GAMECONTROLLER, GUICONTROL_GAMECONTROLLERLIST, GUICONTROL_GROUP, GUICONTROL_GROUPLIST, GUICONTROL_IMAGE, GUICONTROL_LABEL, GUICONTROL_LISTGROUP, GUICONTROL_LISTLABEL, GUICONTROL_MOVER, GUICONTROL_MULTI_IMAGE, GUICONTROL_PROGRESS, GUICONTROL_RADIO, GUICONTROL_RANGES, GUICONTROL_RENDERADDON, GUICONTROL_RESIZE, GUICONTROL_RSS, GUICONTROL_SCROLLBAR, GUICONTROL_SETTINGS_SLIDER, GUICONTROL_SLIDER, GUICONTROL_SPIN, GUICONTROL_SPINEX, GUICONTROL_TEXTBOX, GUICONTROL_TOGGLEBUTTON, GUICONTROL_VIDEO, GUICONTROL_VISUALISATION } |
enum | GUIVISIBLE { HIDDEN = 0, DELAYED, VISIBLE } |
enum | GUISCROLLVALUE { FOCUS = 0, NEVER, ALWAYS } |
typedef std::map< int, CGUIAction > | ActionMap |
Set actions to perform on navigation. More... | |
![]() | |
typedef std::vector< CGUIControl * >::iterator | iControls |
typedef std::vector< CGUIControl * >::const_iterator | ciControls |
typedef std::vector< CGUIControl * >::reverse_iterator | rControls |
typedef std::vector< CGUIControl * >::const_reverse_iterator | crControls |
![]() | |
typedef std::multimap< int, CGUIControl * > | LookupMap |
![]() | |
std::vector< std::shared_ptr< CSettingCategory > > | m_categories |
std::vector< BaseSettingControlPtr > | m_settingControls |
int | m_iSetting = 0 |
int | m_iCategory = 0 |
std::shared_ptr< CSettingAction > | m_resetSetting |
std::shared_ptr< CSettingCategory > | m_dummyCategory |
CGUISpinControlEx * | m_pOriginalSpin |
CGUISettingsSliderControl * | m_pOriginalSlider |
CGUIRadioButtonControl * | m_pOriginalRadioButton |
CGUIColorButtonControl * | m_pOriginalColorButton = nullptr |
CGUIButtonControl * | m_pOriginalCategoryButton |
CGUIButtonControl * | m_pOriginalButton |
CGUIEditControl * | m_pOriginalEdit |
CGUIImage * | m_pOriginalImage |
CGUILabelControl * | m_pOriginalGroupTitle |
bool | m_newOriginalEdit = false |
BaseSettingControlPtr | m_delayedSetting |
Current delayed setting. More... | |
CTimer | m_delayedTimer |
Delayed setting timer. | |
bool | m_confirmed = false |
int | m_focusedControl = 0 |
int | m_fadedControl = 0 |
![]() | |
bool | m_wasRunning |
true if we were running during the last DoProcess() | |
bool | m_autoClosing |
bool | m_enableSound |
unsigned int | m_showStartTime |
unsigned int | m_showDuration |
bool | m_bAutoClosed |
DialogModalityType | m_modalityType |
![]() | |
std::vector< int > | m_idRange |
RESOLUTION_INFO | m_coordsRes |
bool | m_needsScaling |
bool | m_windowLoaded |
LOAD_TYPE | m_loadType |
bool | m_dynamicResourceAlloc |
bool | m_closing |
bool | m_active |
KODI::GUILIB::GUIINFO::CGUIInfoColor | m_clearBackground |
int | m_renderOrder |
std::vector< COrigin > | m_origins |
int | m_lastControlID |
std::vector< CControlState > | m_controlStates |
int | m_previousWindow |
bool | m_animationsEnabled |
CGUIAction | m_loadActions |
CGUIAction | m_unloadActions |
std::unique_ptr< TiXmlElement > | m_windowXMLRootElement |
window root xml definition after resolving any skin includes. Stored to avoid parsing the XML every time the window is loaded. | |
bool | m_manualRunActions |
int | m_exclusiveMouseControl |
id of child control that wishes to receive all mouse events More... | |
int | m_menuControlID |
int | m_menuLastFocusedControlID |
bool | m_custom |
![]() | |
std::vector< CGUIControl * > | m_children |
int | m_defaultControl |
bool | m_defaultAlways |
int | m_focusedControl |
bool | m_renderFocusedLast |
![]() | |
ActionMap | m_actions |
float | m_posX |
float | m_posY |
float | m_height |
float | m_width |
CRect | m_hitRect |
KODI::UTILS::COLOR::Color | m_hitColor = 0xffffffff |
KODI::GUILIB::GUIINFO::CGUIInfoColor | m_diffuseColor |
int | m_controlID |
int | m_parentID |
bool | m_bHasFocus |
bool | m_bInvalidated |
bool | m_bAllocated |
bool | m_pulseOnSelect |
GUICONTROLTYPES | ControlType |
GUICONTROLSTATS * | m_controlStats |
CGUIControl * | m_parentControl |
INFO::InfoPtr | m_visibleCondition |
GUIVISIBLE | m_visible |
bool | m_visibleFromSkinCondition |
bool | m_forceHidden |
KODI::GUILIB::GUIINFO::CGUIInfoBool | m_allowHiddenFocus |
bool | m_hasProcessed |
INFO::InfoPtr | m_enableCondition |
bool | m_enabled |
bool | m_pushedUpdates |
std::vector< CAnimation > | m_animations |
CPoint | m_camera |
bool | m_hasCamera |
float | m_stereo |
TransformMatrix | m_transform |
TransformMatrix | m_cachedTransform |
bool | m_isCulled {true} |
unsigned int | m_controlDirtyState |
CRect | m_renderRegion |
![]() | |
static const unsigned int | DIRTY_STATE_CONTROL = 1 |
static const unsigned int | DIRTY_STATE_CHILD = 2 |
|
overrideprotectedvirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
|
overrideprotectedvirtual |
The value of the given setting is being changed.
This callback is triggered whenever the value of a setting is being changed. The given CSetting already contains the new value and the handler of the callback has the possibility to allow or revert changing the value of the setting. In case of a revert OnSettingChanging() is called again to inform all listeners that the value change has been reverted.
setting | The setting whose value is being changed (already containing the changed value) |
Reimplemented from ISettingCallback.