![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIWindow.h>
Classes | |
struct | icompare |
Public Member Functions | |
CGUIWindow (int id, const std::string &xmlFile) | |
~CGUIWindow (void) override | |
bool | Initialize () |
bool | Load (const std::string &strFileName, bool bContainsPath=false) |
void | CenterWindow () |
void | DoProcess (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
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. More... | |
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. More... | |
void | Close (bool forceClose=false, int nextWindowID=0, bool enableSound=true, bool bWait=true) |
bool | OnAction (const CAction &action) override |
virtual bool | OnBack (int actionID) |
virtual bool | OnInfo (int actionID) |
virtual void | ClearBackground () |
Clear the background (if necessary) prior to rendering the window. More... | |
bool | OnMove (int fromControl, int moveAction) |
bool | OnMessage (CGUIMessage &message) override |
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 | IsDialog () const |
virtual bool | IsDialogRunning () const |
virtual bool | IsModalDialog () const |
virtual bool | IsMediaWindow () const |
virtual bool | HasListItems () const |
virtual bool | IsSoundEnabled () 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 |
virtual void | OnDeinitWindow (int nextWindowID) |
void | AllocResources () override |
![]() | |
CGUIControlGroup () | |
CGUIControlGroup (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControlGroup (const CGUIControlGroup &from) | |
~CGUIControlGroup (void) override | |
CGUIControlGroup * | Clone () const override |
void | Process (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
void | Render () override |
void | RenderEx () override |
virtual bool | SendControlMessage (CGUIMessage &message) |
bool | HasFocus () const override |
bool | CanFocus () const override |
EVENT_RESULT | SendMouseEvent (const CPoint &point, const 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 ()=default | |
CGUIControlLookup (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControlLookup (const CGUIControlLookup &from) | |
~CGUIControlLookup (void) override=default | |
CGUIControl * | GetControl (int id, std::vector< CGUIControl * > *idCollector=nullptr) override |
![]() | |
CGUIControl () | |
CGUIControl (int parentID, int controlID, float posX, float posY, float width, float height) | |
CGUIControl (const CGUIControl &) | |
virtual | ~CGUIControl (void) |
bool | HasProcessed () const |
Returns whether or not we have processed. More... | |
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 UTILS::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 More... | |
virtual CRect | CalcRenderRegion () const |
calculate the render region in parentcontrol coordinates of this control Called during process to update m_renderRegion More... | |
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. More... | |
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 |
Protected Member Functions | |
EVENT_RESULT | OnMouseEvent (const CPoint &point, const 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 bool | Load (TiXmlElement *pRootElement) |
Loads the window from the given XML element. More... | |
virtual std::unique_ptr< TiXmlElement > | Prepare (TiXmlElement *pRootElement) |
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. More... | |
virtual void | SetDefaults () |
virtual void | OnWindowUnload () |
virtual void | OnWindowLoaded () |
virtual void | OnInitWindow () |
Called on window open. More... | |
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 () |
void | UpdateStates (ANIMATION_TYPE type, ANIMATION_PROCESS currentProcess, ANIMATION_STATE currentState) |
bool | SendWindowMessage (CGUIMessage &message) const |
![]() | |
CountingLockable ()=default | |
void | lock () |
bool | try_lock () |
void | unlock () |
unsigned int | exit (unsigned int leave=0) |
void | restore (unsigned int restoreCount) |
XbmcThreads::CRecursiveMutex & | get_underlying () |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
static const unsigned int | DIRTY_STATE_CONTROL = 1 |
static const unsigned int | DIRTY_STATE_CHILD = 2 |
CGUIWindow::CGUIWindow | ( | int | id, |
const std::string & | xmlFile | ||
) |
|
override |
void CGUIWindow::AfterRender | ( | ) |
Do any post render activities. Check if window closing animation is finished and finalize window closing.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
|
virtual |
Reimplemented in KodiAPI::GUI::CGUIAddonWindow, ADDON::CGUIAddonWindow, and CGUIWindowSettingsScreenCalibration.
|
overrideprotectedvirtual |
Reimplemented from CGUIControl.
|
inlinevirtual |
Reimplemented in PVR::CGUIDialogPVRTimerSettings, and PVR::CGUIWindowPVRBase.
void CGUIWindow::CenterWindow | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from CGUIControl.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
|
virtual |
Clear the background (if necessary) prior to rendering the window.
Reimplemented in KODI::RETRO::CGameWindowFullScreen, and CGUIWindowFullScreen.
void CGUIWindow::ClearProperties | ( | ) |
Clear a all the window's properties.
void CGUIWindow::Close | ( | bool | forceClose = false , |
int | nextWindowID = 0 , |
||
bool | enableSound = true , |
||
bool | bWait = true |
||
) |
|
protected |
bool CGUIWindow::ControlGroupHasFocus | ( | int | groupID, |
int | controlID | ||
) |
void CGUIWindow::DisableAnimations | ( | ) |
|
overridevirtual |
Reimplemented from CGUIControl.
Reimplemented in CGUIDialogSettingsBase, and CGUIWindowSettingsScreenCalibration.
|
overridevirtual |
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.
Reimplemented from CGUIControl.
Reimplemented in CGUIWindowSettingsScreenCalibration.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
|
inlinevirtual |
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.
Reimplemented in KODI::RETRO::CGameWindowFullScreen, CGUIDialogButtonMenu, CGUIDialogFileBrowser, CGUIDialogKaiToast, CGUIDialogNumeric, CGUIDialogPlayEject, CGUIDialogSeekBar, KODI::GAME::CDialogGameVideoSelect, CGUIDialogMusicOSD, CGUIWindowMusicNav, CGUIWindowVisualisation, CGUIDialogPictureInfo, CGUIWindowSettingsScreenCalibration, CGUIDialogAudioSettings, CGUIDialogSubtitleSettings, CGUIDialogVideoOSD, CGUIWindowFullScreen, CGUIWindowWeather, CGUIWindowLoginScreen, and CGUIWindowSystemInfo.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
Reimplemented in CGUIWindowSettingsScreenCalibration.
|
inline |
|
inlinevirtual |
Reimplemented in CGUIDialogAddonInfo, CGUIDialogFileBrowser, CGUIDialogFavourites, CGUIDialogMusicInfo, CGUIDialogSongInfo, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRGuideInfo, PVR::CGUIDialogPVRRecordingInfo, PVR::CGUIWindowPVRGuideBase, CGUIDialogVideoInfo, CGUIMediaWindow, and CGUIWindowLoginScreen.
|
inline |
|
inline |
|
overrideprotectedvirtual |
Grabs the window's top,left position in skin coordinates The window origin may change based on <origin>
tag conditions in the skin.
Reimplemented from CGUIControl.
|
inline |
CVariant CGUIWindow::GetProperty | ( | const std::string & | key | ) | const |
Retrieve a property.
key | name of the property to retrieve |
|
inline |
CRect CGUIWindow::GetScaledBounds | ( | ) | const |
|
inlinevirtual |
Reimplemented in CGUIDialogFileBrowser, CGUIMediaWindow, and CGUIWindowLoginScreen.
|
inlinevirtual |
Reimplemented in CGUIMediaWindow.
|
virtual |
|
inlinevirtual |
Reimplemented in CGUIDialogAddonInfo, CGUIDialogFileBrowser, CGUIDialogFavourites, CGUIDialogInfoProviderSettings, CGUIDialogMusicInfo, CGUIDialogSongInfo, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRGuideInfo, PVR::CGUIDialogPVRRecordingInfo, CGUIDialogContentSettings, CGUIDialogLibExportSettings, CGUIDialogVideoInfo, CGUIMediaWindow, and CGUIWindowLoginScreen.
|
inline |
|
inlinevirtual |
Reimplemented in KODI::RETRO::CGameWindowFullScreen, and CGUIWindowFullScreen.
bool CGUIWindow::Initialize | ( | void | ) |
|
virtual |
|
overridevirtual |
Reimplemented from CGUIControlGroup.
|
inline |
Return if the window is a custom window.
|
inlinevirtual |
Reimplemented in KodiAPI::GUI::CGUIAddonWindowDialog, ADDON::CGUIAddonWindowDialog, CGUIDialog, and CGUIWindowSettingsCategory.
|
inlinevirtual |
Reimplemented in KodiAPI::GUI::CGUIAddonWindowDialog, ADDON::CGUIAddonWindowDialog, and CGUIDialog.
|
inlinevirtual |
Reimplemented in KodiAPI::GUI::CGUIAddonWindowDialog, ADDON::CGUIAddonWindow, and CGUIMediaWindow.
|
inlinevirtual |
Reimplemented in KodiAPI::GUI::CGUIAddonWindowDialog, ADDON::CGUIAddonWindowDialog, and CGUIDialog.
|
inlinevirtual |
Reimplemented in CGUIDialog.
|
inlineoverridevirtual |
Reimplemented from CGUIControl.
bool CGUIWindow::Load | ( | const std::string & | strFileName, |
bool | bContainsPath = false |
||
) |
|
protectedvirtual |
Loads the window from the given XML element.
pRootElement | the XML element |
Reimplemented in CGUIDialog, and CGUIMediaWindow.
|
protected |
|
protectedvirtual |
Load the window XML from the given path.
strPath | the path to the window XML |
strLowerPath | a lowered path to the window XML |
|
protected |
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.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
Reimplemented in CGUIDialogMusicInfo, CGUIDialogMusicOSD, CGUIDialogSongInfo, CGUIWindowMusicBase, CGUIWindowMusicNav, CGUIWindowMusicPlayList, CGUIWindowVisualisation, CGUIDialogAccessPoints, CGUIDialogPictureInfo, CGUIWindowSlideShow, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRChannelsOSD, PVR::CGUIDialogPVRItemsViewBase, PVR::CGUIWindowPVRBase, PVR::CGUIWindowPVRChannelsBase, PVR::CGUIWindowPVRGuideBase, PVR::CGUIWindowPVRRecordingsBase, PVR::CGUIWindowPVRTimersBase, CGUIDialogSettingsBase, CGUIWindowSettingsCategory, CGUIWindowSettingsScreenCalibration, CGUIDialogFullScreenInfo, CGUIDialogTeletext, CGUIDialogVideoBookmarks, CGUIDialogVideoInfo, CGUIDialogVideoOSD, CGUIWindowFullScreen, CGUIWindowVideoBase, CGUIWindowVideoNav, CGUIWindowVideoPlaylist, CGUIMediaWindow, CGUIWindowFileManager, CGUIWindowHome, CGUIWindowLoginScreen, CGUIWindowScreensaver, CGUIWindowSplash, and CGUIWindowStartup.
|
virtual |
Reimplemented in CGUIDialogBusy, CGUIDialogFileBrowser, CGUIDialogMediaSource, CGUIDialogNumeric, CGUIDialogProgress, CGUIDialogSelect, CGUIDialogSmartPlaylistEditor, CGUIDialogSmartPlaylistRule, CGUIDialogYesNo, CGUIDialog, CGUIDialogSongInfo, CGUIWindowMusicBase, CGUIWindowMusicPlayList, CGUIWindowMusicPlaylistEditor, CGUIDialogNetworkSetup, PVR::CGUIWindowPVRBase, CGUIDialogSettingsBase, CGUIWindowSettingsCategory, CGUIDialogCMSSettings, CGUIDialogTeletext, CGUIWindowVideoPlaylist, CGUIMediaWindow, CGUIWindowFileManager, and CGUIWindowLoginScreen.
|
virtual |
Reimplemented in KODI::RETRO::CGameWindowFullScreen, CGUIDialogBoxBase, CGUIDialogContextMenu, CGUIDialogKeyboardGeneric, CGUIDialogMediaSource, CGUIDialogNumeric, CGUIDialogSelect, CGUIDialogSmartPlaylistEditor, CGUIDialogSmartPlaylistRule, CGUIDialogTextViewer, KODI::GAME::CGUIControllerWindow, KODI::GAME::CDialogGameOSD, KODI::GAME::CDialogGameVideoSelect, KODI::GAME::CDialogGameVolume, CGUIDialog, CGUIDialogVisualisationPresetList, CGUIDialogNetworkSetup, CGUIDialogPictureInfo, CGUIWindowSlideShow, PVR::CGUIDialogPVRChannelGuide, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRChannelsOSD, PVR::CGUIDialogPVRGroupManager, PVR::CGUIDialogPVRItemsViewBase, PVR::CGUIWindowPVRBase, PVR::CGUIWindowPVRGuideBase, CGUIDialogTeletext, and CGUIWindowStartup.
|
protected |
|
inlinevirtual |
Reimplemented in PVR::CGUIDialogPVRGuideInfo, and PVR::CGUIDialogPVRRecordingInfo.
Called on window open.
Reimplemented in KODI::RETRO::CGameWindowFullScreen, CGUIDialogBoxBase, CGUIDialogContextMenu, CGUIDialogGamepad, CGUIDialogKeyboardGeneric, CGUIDialogKeyboardTouch, CGUIDialogMediaFilter, CGUIDialogNumeric, CGUIDialogOK, CGUIDialogPlayEject, CGUIDialogProgress, CGUIDialogSelect, CGUIDialogSmartPlaylistEditor, CGUIDialogSmartPlaylistRule, CGUIDialogYesNo, CGUIDialogFavourites, KODI::GAME::CDialogGameOSD, KODI::GAME::CDialogGameVideoSelect, KODI::GAME::CDialogGameVolume, CGUIDialogInfoProviderSettings, CGUIDialogMusicInfo, CGUIDialogSongInfo, CGUIDialogVisualisationPresetList, CGUIWindowMusicBase, CGUIDialogAccessPoints, CGUIDialogNetworkSetup, CGUIDialogPictureInfo, CGUIWindowPictures, CGUIWindowSettingsProfile, PVR::CGUIDialogPVRChannelGuide, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRChannelsOSD, PVR::CGUIDialogPVRGroupManager, PVR::CGUIDialogPVRGuideInfo, PVR::CGUIDialogPVRGuideSearch, PVR::CGUIDialogPVRItemsViewBase, PVR::CGUIDialogPVRRadioRDSInfo, PVR::CGUIWindowPVRGuideBase, CGUIDialogContentSettings, CGUIDialogLibExportSettings, CGUIDialogSettingsBase, CGUIDialogSubtitles, CGUIDialogTeletext, CGUIDialogVideoInfo, CGUIWindowWeather, CGUIMediaWindow, CGUIWindowFileManager, CGUIWindowHome, CGUIWindowLoginScreen, CGUIWindowSplash, KODI::GAME::CGUIControllerWindow, and PVR::CGUIWindowPVRBase.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
Reimplemented in CGUIDialogMusicInfo, CGUIDialogMusicOSD, CGUIDialogSongInfo, CGUIDialogVisualisationPresetList, CGUIWindowMusicBase, CGUIWindowMusicNav, CGUIWindowMusicPlayList, CGUIWindowMusicPlaylistEditor, CGUIWindowVisualisation, CGUIDialogNetworkSetup, PERIPHERALS::CGUIDialogPeripherals, PERIPHERALS::CGUIDialogPeripheralSettings, CGUIWindowPictures, CGUIWindowSlideShow, CGUIWindowSettingsProfile, CGUIWindowPrograms, PVR::CGUIDialogPVRChannelManager, PVR::CGUIDialogPVRChannelsOSD, PVR::CGUIDialogPVRGroupManager, PVR::CGUIDialogPVRGuideInfo, PVR::CGUIDialogPVRGuideSearch, PVR::CGUIDialogPVRRadioRDSInfo, PVR::CGUIDialogPVRRecordingInfo, PVR::CGUIWindowPVRBase, PVR::CGUIWindowPVRChannelsBase, PVR::CGUIWindowPVRGuideBase, PVR::CGUIWindowPVRRecordingsBase, PVR::CGUIWindowPVRSearchBase, PVR::CGUIWindowPVRTimersBase, CGUIDialogLibExportSettings, CGUIDialogSettingsBase, CGUIWindowSettingsCategory, CGUIWindowSettingsScreenCalibration, CGUIDialogSubtitles, CGUIDialogSubtitleSettings, CGUIDialogTeletext, CGUIDialogVideoBookmarks, CGUIDialogVideoInfo, CGUIDialogVideoOSD, CGUIWindowFullScreen, CGUIWindowVideoBase, CGUIWindowVideoNav, CGUIWindowVideoPlaylist, CGUIWindowWeather, CGUIMediaWindow, CGUIWindowDebugInfo, CGUIWindowFileManager, CGUIWindowHome, CGUIWindowLoginScreen, CGUIWindowScreensaver, and CGUIWindowSystemInfo.
|
protected |
|
overrideprotectedvirtual |
Perform a mouse action.
Mouse actions are sent from the window to all controls, and each control can react based on the event and location of the actions.
point | the location in transformed skin coordinates from the upper left corner of the parent control. |
event | the mouse event to perform |
Reimplemented from CGUIControl.
Reimplemented in CGUIWindowVisualisation, CGUIWindowSlideShow, CGUIDialogVideoOSD, CGUIWindowFullScreen, and CGUIWindowScreensaver.
bool CGUIWindow::OnMove | ( | int | fromControl, |
int | moveAction | ||
) |
Reimplemented in KODI::RETRO::CGameWindowFullScreen, CGUIDialogContextMenu, CGUIDialogFileBrowser, CGUIDialogKeyboardGeneric, CGUIDialogMediaFilter, CGUIDialogProgress, CGUIDialogSelect, CGUIDialogSlider, KODI::GAME::CDialogGameVideoSelect, CGUIDialog, CGUIWindowMusicNav, CGUIDialogProfileSettings, PVR::CGUIDialogPVRGroupManager, PVR::CGUIDialogPVRGuideSearch, PVR::CGUIDialogPVRItemsViewBase, PVR::CGUIWindowPVRRecordingsBase, CGUIWindowSettingsCategory, CGUIDialogVideoBookmarks, CGUIWindowFullScreen, CGUIMediaWindow, CGUIWindowLoginScreen, CGUIWindowPointer, and PVR::CGUIDialogPVRChannelManager.
|
protectedvirtual |
Prepare the XML for load.
pRootElement | the original XML element |
|
virtual |
|
protectedvirtual |
Reimplemented in PVR::CGUIDialogPVRChannelsOSD, and CGUIMediaWindow.
void CGUIWindow::RunLoadActions | ( | ) | const |
void CGUIWindow::RunUnloadActions | ( | ) | const |
|
protectedvirtual |
Reimplemented in PVR::CGUIDialogPVRChannelsOSD, and CGUIMediaWindow.
|
protected |
|
inline |
|
inline |
Mark this window as custom window.
custom | true if this window is a custom window, false if not |
|
protectedvirtual |
Reimplemented in CGUIDialog.
|
overridevirtual |
Reimplemented from CGUIControl.
|
overridevirtual |
Reimplemented from CGUIControlGroup.
Set a property Sets the value of a property referenced by a key.
key | name of the property to set |
value | value to set, may be a string, integer, boolean or double. |
void CGUIWindow::SetRunActionsManually | ( | ) |
|
inlineoverridevirtual |
Reimplemented from CGUIControl.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
id of child control that wishes to receive all mouse events
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |