|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
Class handling application support for skin management. More...
#include <ApplicationSkinHandling.h>
Public Member Functions | |
| CApplicationSkinHandling (IMsgTargetCallback *msgCb, IWindowManagerCallback *wCb, bool &bInitializing) | |
| void | UnloadSkin () |
| void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed. | |
| void | ReloadSkin (bool confirm=false) |
| bool | LoadSkin (const std::string &skinID) |
Public Member Functions inherited from IApplicationComponent | |
| virtual | ~IApplicationComponent ()=default |
Public Member Functions inherited from ISettingCallback | |
| virtual | ~ISettingCallback ()=default |
| virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
| The value of the given setting is being changed. | |
| virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
| The given setting has been activated. | |
| virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
| The given setting needs to be updated. | |
| virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed. | |
Protected Member Functions | |
| bool | LoadCustomWindows () |
| void | ProcessSkin () const |
| Called by the application main/render thread for processing operations belonging to the skin. | |
| void | ProcessPendingSkinReload () |
| Run a skin reload that was deferred out of a nested render loop. | |
Protected Attributes | |
| bool | m_saveSkinOnUnloading = true |
| bool | m_confirmSkinChange = true |
| bool | m_ignoreSkinSettingChanges = false |
| bool | m_pendingSkinReload = false |
| bool | m_pendingSkinReloadConfirm = false |
| IMsgTargetCallback * | m_msgCb |
| IWindowManagerCallback * | m_wCb |
| bool & | m_bInitializing |
Friends | |
| class | CApplication |
Class handling application support for skin management.
| CApplicationSkinHandling::CApplicationSkinHandling | ( | IMsgTargetCallback * | msgCb, |
| IWindowManagerCallback * | wCb, | ||
| bool & | bInitializing ) |
|
protected |
| bool CApplicationSkinHandling::LoadSkin | ( | const std::string & | skinID | ) |
|
overridevirtual |
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.
|
protected |
Run a skin reload that was deferred out of a nested render loop.
Does nothing unless a reload is pending and the render loop has unwound.
|
protected |
Called by the application main/render thread for processing operations belonging to the skin.
| void CApplicationSkinHandling::UnloadSkin | ( | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |