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

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

    <onunload>ClearProperty(CustomSelectEnabledViews,skinsettings)</onunload>
	<onunload>ClearProperty(CustomSelectListOptions,skinsettings)</onunload>
	<onunload>ClearProperty(CustomSelectViewsItems,skinsettings)</onunload>
	<onunload>ClearProperty(CustomSelectMarksOverlays,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>$VAR[CustomInfoSelectHeader]</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>600</height>
                <itemgap>0</itemgap>
                <orientation>vertical</orientation>
                <usecontrolcoords>true</usecontrolcoords>
				<onright>5001</onright>
				<pagecontrol>5001</pagecontrol>
                <include condition="!String.IsEmpty(Window(skinsettings).Property(CustomSelectEnabledViews))">SelectEnabledViews</include>
				<include condition="!String.IsEmpty(Window(skinsettings).Property(CustomSelectListOptions))">SelectListOptions</include>
				<include condition="!String.IsEmpty(Window(skinsettings).Property(CustomSelectViewsItems))">SelectViewsItems</include>
				<include condition="!String.IsEmpty(Window(skinsettings).Property(CustomSelectMarksOverlays))">SelectMarksOverlays</include>
            </control>
			<control type="scrollbar" id="5001">
			<left>1390</left>
			<top>366</top>
			<width>36</width>
			<height>600</height>
			<texturesliderbackground></texturesliderbackground>
			<texturesliderbar></texturesliderbar>
			<texturesliderbarfocus></texturesliderbarfocus>
			<textureslidernib border="18">OSD/ScrollbarNibNF.png</textureslidernib>
			<textureslidernibfocus border="18" colordiffuse="$VAR[HighlightColor]">OSD/ScrollbarNibFO.png</textureslidernibfocus>
			<orientation>vertical</orientation>
			<onleft>90101</onleft>
		</control>
		</control>
	</controls>
</window>