<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog">
	<defaultcontrol>401</defaultcontrol>
	<onload>SetProperty(onback,Dialog.Close(csfd_reviews))</onload>
	
	<controls>
		<!-- Fade-in animation na otevření -->
		<control type="group">
			<animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
			
			<!-- Tmavé pozadí (fanart nebo černá) -->
			<control type="image">
				<width>1920</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Window.Property(reviews_fanart)]</texture>
			</control>
			
			<!-- Poloprůhledná zatemňovací vrstva -->
			<control type="image">
				<width>1920</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture colordiffuse="99000000">fenlight_common/white.png</texture>
			</control>
		</control>
		
		<!-- Hlavní obsah okna -->
		<control type="group">
			<left>90</left>
			<top>90</top>
			<right>90</right>
			<height>900</height>
			
			<!-- Nadpis -->
			<control type="label">
				<top>0</top>
				<width>1740</width>
				<height>60</height>
				<font>font45_title</font>
				<textcolor>white</textcolor>
				<label>Recenze (ČSFD) • $INFO[Window.Property(reviews_title)]</label>
			</control>
			
			<!-- Panelrecenzí s textboxem a scrollbarem -->
			<control type="panel" id="400">
				<top>80</top>
				<width>1740</width>
				<height>780</height>
				<onup>400</onup>
				<ondown>400</ondown>
				<onleft>400</onleft>
				<onright>601</onright>
				
				<!-- Skrytý list container pro práci s textboxem -->
				<itemlayout height="1" width="1">
					<control type="label">
						<height>1</height>
						<width>1</width>
					</control>
				</itemlayout>
				<focusedlayout height="1" width="1">
					<control type="label">
						<height>1</height>
						<width>1</width>
					</control>
				</focusedlayout>
			</control>
			
			<!-- Textbox s recenzemi -->
			<control type="textbox" id="401">
				<top>80</top>
				<left>0</left>
				<width>1740</width>
				<height>780</height>
				<font>font14</font>
				<textcolor>white</textcolor>
				<shadowcolor>50000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<pagecontrol>601</pagecontrol>
				<autoscroll delay="8000" time="2000" repeat="8000">true</autoscroll>
				<label>$INFO[Window.Property(reviews_text)]</label>
				<onup>401</onup>
				<ondown>401</ondown>
				<onleft>401</onleft>
				<onright>601</onright>
			</control>
			
			<!-- Vertikální scrollbar -->
			<control type="scrollbar" id="601">
				<right>0</right>
				<top>80</top>
				<width>20</width>
				<height>780</height>
				<orientation>vertical</orientation>
				<showonepage>false</showonepage>
				<texturesliderbackground colordiffuse="22FFFFFF">fenlight_common/white.png</texturesliderbackground>
				<texturesliderbar colordiffuse="77FFFFFF">fenlight_common/white.png</texturesliderbar>
				<texturesliderbarfocus colordiffuse="FFFFFFFF">fenlight_common/white.png</texturesliderbarfocus>
				<onup>601</onup>
				<ondown>601</ondown>
				<onleft>401</onleft>
				<onright>601</onright>
				<pagecontrol>401</pagecontrol>
			</control>
		</control>
	</controls>
</window>