Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <GUIPortList.h>
Public Member Functions | |
CGUIPortList (CGUIWindow &window) | |
~CGUIPortList () override | |
void | OnWindowLoaded () override |
Callback when the GUI window is loaded. | |
void | OnWindowUnload () override |
Callback when the GUI window is unloaded. | |
bool | Initialize (GameClientPtr gameClient) override |
Initialize resources. | |
void | Deinitialize () override |
Deinitialize resources. | |
bool | HasControl (int controlId) override |
Query if a control with the given ID belongs to this list. | |
int | GetCurrentControl () override |
Query the ID of the current control in this list. | |
void | Refresh () override |
Refresh the contents of the list. | |
void | FrameMove () override |
Callback when a frame is rendered by the GUI. | |
void | SetFocused () override |
The port list has been focused in the GUI. | |
bool | OnSelect () override |
The port list has been selected. | |
void | ResetPorts () override |
Reset the ports to their game add-on's default configuration. | |
Public Member Functions inherited from KODI::GAME::IPortList | |
virtual | ~IPortList ()=default |
CGUIPortList::CGUIPortList | ( | CGUIWindow & | window | ) |
|
override |
|
overridevirtual |
Deinitialize resources.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Callback when a frame is rendered by the GUI.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Query the ID of the current control in this list.
Implements KODI::GAME::IPortList.
Query if a control with the given ID belongs to this list.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Initialize resources.
gameClient | The game client providing the ports |
Implements KODI::GAME::IPortList.
|
overridevirtual |
The port list has been selected.
True if a control was active, false of all controls were inactive
Implements KODI::GAME::IPortList.
|
overridevirtual |
Callback when the GUI window is loaded.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Callback when the GUI window is unloaded.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Refresh the contents of the list.
Implements KODI::GAME::IPortList.
|
overridevirtual |
Reset the ports to their game add-on's default configuration.
Implements KODI::GAME::IPortList.
|
overridevirtual |
The port list has been focused in the GUI.
Implements KODI::GAME::IPortList.