<ActorFrame><children>

        <Layer File="@ThemeFile('dwi2-fallback')" OnCommand="%function(self) self:Center() end" />

	<Layer
	Text="EDITOR" Font="Common Normal"
	InitCommand="ShadowLength,4;horizalign,left;x,SCREEN_LEFT+20;y,SCREEN_TOP+20;DiffuseAlpha,0.7"
	/>

	<Layer
		Text="Help Text"
		Font="Common Normal"
		InitCommand="ShadowLength,2;zoom,0.4;horizalign,right;vertalign,top;x,SCREEN_RIGHT-5;y,SCREEN_TOP+40"
		OnCommand="queuecommand,TextHelp"
		TextHelpCommand="%function(self) self:settext( EditorHelpText() ) end"
	/>

		<Layer
        Font="_sui generis"
        Text="Version text"
        OnCommand="%function(self)
        self:x(SCREEN_RIGHT-15)
        self:y(SCREEN_BOTTOM-15)
        self:horizalign('right')
        self:vertalign('bottom')
        self:zoom(0.3);
        self:diffuse(0.5,0.5,0.5,1)
        if FUCK_EXE then
        	self:settext( 'DWI - NotITG Version\nV'.. DWIVersion() ..' - '.. DWIVerDate() )
        	self:diffuse(0.5,0.75,0.5,1)
        elseif OPENITG then
        	self:settext( 'DWI - OpenITG Version\nV'.. DWIVersion() ..' - '.. DWIVerDate() )
        	self:diffuse(0.75,0.5,0.5,1)
        else
        	self:settext( 'DWI - SM (UNSTABLE) Version\nV'.. DWIVersion() ..' - '.. DWIVerDate() )
        	self:diffuse(0.5,0.5,0.5,1)
        end
        end"
        />

		
</children></ActorFrame>