Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Used to display the currently playing game, with optional effects, while playing a game.
The gamewindow control is used for displaying the currently playing game elsewhere in the Kodi GUI. You can choose the position, and size of the game displayed, as well as various effects. Note that the control is only rendered if game is being played.
In addition to the Default Control Tags the following tags are available. Note that each tag is lower case only. This is important, as xml tags are case-sensitive.
Tag | Description |
---|---|
videofilter | The filter to use, see RetroPlayer.VideoFilter for supported values. If empty, the value of the RetroPlayer.VideoFilter info label is used. |
stretchmode | The stretch mode, see RetroPlayer.StretchMode for supported values. If empty, the value of the RetroPlayer.StretchMode info label is used. |
rotation | The rotation, in degrees counter-clockwise, see RetroPlayer.VideoRotation for supported values. If empty, the value of the RetroPlayer.VideoRotation info label is used. |
pixels | A path to a v20 savestate, whose pixels will be rendered instead of the active game. A value of - will disable rendering of any pixels. |
List item info can be used for all tag values. For example, if the control defintion looks like:
Static list items can be provided. Each gamewindow will inherit the properties:
The in-game dialogs with a gamewindow control (GameVideoFilter
, GameStretchMode
, GameVideoRotation
and InGameSaves
) use a similar strategy with list items populated by core.