#include <GUIControlsGUIInfo.h>
|
| ~CGUIControlsGUIInfo () override=default |
|
bool | InitCurrentItem (CFileItem *item) override |
| Init a new current guiinfo manager item. Gets called whenever the active guiinfo manager item changes.
|
|
bool | GetLabel (std::string &value, const CFileItem *item, int contextWindow, const CGUIInfo &info, std::string *fallback) const override |
| Get a GUIInfoManager label string.
|
|
bool | GetInt (int &value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const override |
| Get a GUIInfoManager integer value.
|
|
bool | GetBool (bool &value, const CGUIListItem *item, int contextWindow, const CGUIInfo &info) const override |
| Get a GUIInfoManager bool value.
|
|
void | SetNextWindow (int windowID) |
|
void | SetPreviousWindow (int windowID) |
|
void | SetContainerMoving (int id, bool next, bool scrolling) |
| containers call this to specify that the focus is changing
|
|
void | ResetContainerMovingCache () |
|
| CGUIInfoProvider ()=default |
|
| ~CGUIInfoProvider () override=default |
|
bool | GetFallbackLabel (std::string &value, const CFileItem *item, int contextWindow, const CGUIInfo &info, std::string *fallback) override |
| Get a GUIInfoManager label fallback string. Will be called if none of the registered provider's GetLabel() implementation has returned success.
|
|
void | UpdateAVInfo (const AudioStreamInfo &audioInfo, const VideoStreamInfo &videoInfo, const SubtitleStreamInfo &subtitleInfo) override |
| Set new audio/video stream info data.
|
|
virtual | ~IGUIInfoProvider ()=default |
|
◆ ~CGUIControlsGUIInfo()
KODI::GUILIB::GUIINFO::CGUIControlsGUIInfo::~CGUIControlsGUIInfo |
( |
| ) |
|
|
overridedefault |
◆ GetBool()
Get a GUIInfoManager bool value.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
- Returns
- True if the value was filled successfully, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ GetInt()
Get a GUIInfoManager integer value.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
- Returns
- True if the value was filled successfully, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ GetLabel()
bool CGUIControlsGUIInfo::GetLabel |
( |
std::string & | value, |
|
|
const CFileItem * | item, |
|
|
int | contextWindow, |
|
|
const CGUIInfo & | info, |
|
|
std::string * | fallback ) const |
|
overridevirtual |
Get a GUIInfoManager label string.
- Parameters
-
value | Will be filled with the requested value. |
item | The item to get the value for. Can be nullptr. |
contextWindow | The context window. Can be 0. |
info | The GUI info (label id + additional data). |
fallback | A fallback value. Can be nullptr. |
- Returns
- True if the value was filled successfully, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ InitCurrentItem()
Init a new current guiinfo manager item. Gets called whenever the active guiinfo manager item changes.
- Parameters
-
- Returns
- True if the item was inited by the provider, false otherwise.
Implements KODI::GUILIB::GUIINFO::IGUIInfoProvider.
◆ ResetContainerMovingCache()
void CGUIControlsGUIInfo::ResetContainerMovingCache |
( |
| ) |
|
◆ SetContainerMoving()
void CGUIControlsGUIInfo::SetContainerMoving |
( |
int | id, |
|
|
bool | next, |
|
|
bool | scrolling ) |
containers call this to specify that the focus is changing
- Parameters
-
id | control id |
next | true if we're moving to the next item, false if previous |
scrolling | true if the container is scrolling, false if the movement requires no scroll |
◆ SetNextWindow()
void KODI::GUILIB::GUIINFO::CGUIControlsGUIInfo::SetNextWindow |
( |
int | windowID | ) |
|
|
inline |
◆ SetPreviousWindow()
void KODI::GUILIB::GUIINFO::CGUIControlsGUIInfo::SetPreviousWindow |
( |
int | windowID | ) |
|
|
inline |
The documentation for this class was generated from the following files: