Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A list populated by the controllers of game-playing agents (CGameAgent) More...
#include <IAgentControllerList.h>
Public Member Functions | |
virtual | ~IAgentControllerList ()=default |
virtual void | OnWindowLoaded ()=0 |
Callback when the GUI window is loaded. | |
virtual void | OnWindowUnload ()=0 |
Callback when the GUI window is unloaded. | |
virtual bool | Initialize (GameClientPtr gameClient)=0 |
Initialize resources. | |
virtual void | Deinitialize ()=0 |
Deinitialize resources. | |
virtual bool | HasControl (int controlId) const =0 |
Query if a control with the given ID belongs to this list. | |
virtual int | GetCurrentControl () const =0 |
Query the ID of the current control in this list. | |
virtual void | FrameMove ()=0 |
Called once per frame. | |
virtual void | Refresh ()=0 |
Refresh the contents of the list. | |
virtual void | SetFocused ()=0 |
The agent list has been focused in the GUI. | |
virtual void | OnSelect ()=0 |
The agent list has been selected in the GUI. | |
A list populated by the controllers of game-playing agents (CGameAgent)
This class manages the behavior of the controller list (with control ID 7) in the player dialog (GameAgents
window).
The active ports are determined by IActivePortList.
The list is populated by the CGUIGameControllerProvider.
|
virtualdefault |
|
pure virtual |
Deinitialize resources.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Called once per frame.
This allows the list to update its currently focused item.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Query the ID of the current control in this list.
Implemented in KODI::GAME::CGUIAgentControllerList.
Query if a control with the given ID belongs to this list.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Initialize resources.
gameClient | The active game client, an empty pointer if no game client is active |
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
The agent list has been selected in the GUI.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Callback when the GUI window is loaded.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Callback when the GUI window is unloaded.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
Refresh the contents of the list.
Implemented in KODI::GAME::CGUIAgentControllerList.
|
pure virtual |
The agent list has been focused in the GUI.
Implemented in KODI::GAME::CGUIAgentControllerList.