<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1138">

    <!-- Huge thanks to MikeSilVO, this is an adaptation of his code -->

    <onunload>ClearProperty(CustomSelectRatings,skinsettings)</onunload>

    <defaultcontrol always="true">90101</defaultcontrol>
	<include>DialogOpenClose</include>
	<controls>
		<control type="group" description="All dialog content">
			<animation type="WindowOpen">
				<effect type="zoom" start="95" end="100" center="960,540" time="200" />
				<effect type="fade" start="80" end="100" time="200" />
			</animation>
			<animation type="WindowClose">
				<effect type="zoom" start="100" end="95" center="960,540" time="100" />
				<effect type="fade" start="100" end="0" time="100" />
			</animation>
            <control type="group">
			    <control type="image" description="Menu BG">
    				<posx>681</posx>
				    <posy>240</posy>
				    <height>760</height>
				    <width>747</width>
				    <texture border="0,40,0,40">dialogs/ContextMenu.png</texture>
					<colordiffuse>$VAR[DialogBGColor]</colordiffuse>
			    </control>
			    <control type="label" description="Dialog heading">
				    <posx>707</posx>
				    <posy>261</posy>
				    <width>690</width>
				    <height>52</height>
				    <label>$LOCALIZE[32230]</label>
				    <align>center</align>
				    <aligny>center</aligny>
				    <textcolor>$VAR[HighlightColor]</textcolor>
			    </control>
            </control>
            <control type="grouplist" id="90101">
                <posx>707</posx>
				<posy>366</posy>
				<width>695</width>
				<height>690</height>
                <itemgap>0</itemgap>
                <orientation>vertical</orientation>
                <usecontrolcoords>true</usecontrolcoords>
                <control type="radiobutton" id="901011">
                    <label>IMDb</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingIMDb)</onclick>
                    <selected>Skin.HasSetting(ShowRatingIMDb)</selected>
                </control>
                <control type="radiobutton" id="901012">
                    <label>TMDb</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingTMDb)</onclick>
                    <selected>Skin.HasSetting(ShowRatingTMDb)</selected>
                </control>
                <control type="radiobutton" id="901013">
                    <label>TVDB</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingTVDB)</onclick>
                    <selected>Skin.HasSetting(ShowRatingTVDB)</selected>
                </control>
                <control type="radiobutton" id="901014">
                    <label>Rotten Tomatoes</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingRT)</onclick>
                    <selected>Skin.HasSetting(ShowRatingRT)</selected>
                </control>
                <control type="radiobutton" id="901015">
                    <label>Metacritic</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingMC)</onclick>
                    <selected>Skin.HasSetting(ShowRatingMC)</selected>
                </control>
                <control type="radiobutton" id="901016">
                    <label>IMDb Top 250</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingTop250)</onclick>
                    <selected>Skin.HasSetting(ShowRatingTop250)</selected>
                </control>
				<control type="radiobutton" id="901017">
                    <label>$LOCALIZE[32282]</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingAwards)</onclick>
                    <selected>Skin.HasSetting(ShowRatingAwards)</selected>
                </control>
				<control type="radiobutton" id="901018">
                    <label>$LOCALIZE[32232]</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingMainVideoInfo)</onclick>
                    <selected>Skin.HasSetting(ShowRatingMainVideoInfo)</selected>
                </control>
                <control type="radiobutton" id="901019">
                    <label>$LOCALIZE[32231]</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowRatingUserVideoInfo)</onclick>
                    <selected>Skin.HasSetting(ShowRatingUserVideoInfo)</selected>
                </control>
				<control type="radiobutton" id="9010110">
                    <label>$LOCALIZE[32235]</label>
                    <radioposx>605</radioposx>
                    <onclick>Skin.ToggleSetting(ShowMPAAVideoInfo)</onclick>
                    <selected>Skin.HasSetting(ShowMPAAVideoInfo)</selected>
                </control>
            </control>
		</control>
	</controls>
</window>