xbmc
|
A list populated by game-playing agents (CGameAgent) More...
#include <IAgentList.h>
Public Member Functions | |
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. More... | |
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. More... | |
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 game-playing agents (CGameAgent)
This class manages the behavior of the player list (with control ID 5) in the player dialog (GameAgents
window).
The list is populated dynamically by the players in the current game.
Currently, this is identical to the connected joysticks, because Kodi doesn't yet have a player abstraction. This is planned for a later release along with a full-featured Player Manager.
The active ports are determined by IActivePortList.
The list is populated by the CGUIGameControllerProvider.
|
pure virtual |
Called once per frame.
This allows the list to update its currently focused item.
Implemented in KODI::GAME::CGUIAgentList.
|
pure virtual |
Initialize resources.
gameClient | The active game client, an empty pointer if no game client is active |
Implemented in KODI::GAME::CGUIAgentList.