GameWindow Control: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "<section begin="main content" /> <section end="main content" /> == See also == '''Development:''' * Skinning Category:Skin development")
 
No edit summary
Line 1: Line 1:
<section begin="main content" />
<section begin="main content" />
The GameWindow a screenshot of the currently playing game, with the filter, stretch mode and rotation settings applied.
=== Example ===
<syntaxhighlight lang="xml" enclose="div">
<control type="gamewindow">
    <left>10</left>
    <top>10</top>
    <width>444</width>
    <height>250</height>
    <videofilter>$INFO[ListItem.Property(game.videofilter)]</videofilter>
    <stretchmode>$INFO[ListItem.Property(game.stretchmode)]</stretchmode>
    <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation>
</control>
</syntaxhighlight>
<section end="main content" />
<section end="main content" />



Revision as of 21:30, 26 October 2018

The GameWindow a screenshot of the currently playing game, with the filter, stretch mode and rotation settings applied.

Example

<control type="gamewindow">
    <left>10</left>
    <top>10</top>
    <width>444</width>
    <height>250</height>
    <videofilter>$INFO[ListItem.Property(game.videofilter)]</videofilter>
    <stretchmode>$INFO[ListItem.Property(game.stretchmode)]</stretchmode>
    <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation>
</control>


See also

Development: