#include <GUIControllerList.h>
◆ CGUIControllerList()
Create a GUI controller list.
- Parameters
-
window | The GUI window handle |
featureList | The controller interface for the feature list |
gameClient | A gameclient used to filter controllers |
controllerId | A controller ID used to filter controllers (only the specified controller will be shown, or the default controller if the specified controller isn't installed) |
◆ ~CGUIControllerList()
KODI::GAME::CGUIControllerList::~CGUIControllerList |
( |
| ) |
|
|
inlineoverride |
◆ Deinitialize()
void CGUIControllerList::Deinitialize |
( |
| ) |
|
|
overridevirtual |
◆ GetFocusedController()
int KODI::GAME::CGUIControllerList::GetFocusedController |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the index of the focused controller.
- Returns
- The index of the focused controller, or -1 if no controller has been focused yet
Implements KODI::GAME::IControllerList.
◆ Initialize()
bool CGUIControllerList::Initialize |
( |
| ) |
|
|
overridevirtual |
Initialize the resource.
- Returns
- true if the resource is initialized and can be used false if the resource failed to initialize and must not be used
Implements KODI::GAME::IControllerList.
◆ OnFocus()
void CGUIControllerList::OnFocus |
( |
unsigned int | controllerIndex | ) |
|
|
overridevirtual |
◆ OnSelect()
void CGUIControllerList::OnSelect |
( |
unsigned int | controllerIndex | ) |
|
|
overridevirtual |
The specified controller has been selected.
- Parameters
-
controllerIndex | The index of the controller being selected |
Implements KODI::GAME::IControllerList.
◆ Refresh()
bool CGUIControllerList::Refresh |
( |
const std::string & | controllerId | ) |
|
|
overridevirtual |
Refresh the contents of the list.
- Parameters
-
controllerId | The controller to focus, or empty to leave focus unchanged |
- Returns
- True if the list was changed
Implements KODI::GAME::IControllerList.
◆ ResetController()
void CGUIControllerList::ResetController |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: