local C=script.Parent.Parent.Parent local U=C.Parent local Z=require(U.Sift)local b=require(U.Roact)local p=b.createElement local w=(require(C.Theme)).WithTheme local m="\105\109\097\103\101\115\047\084\101\120\116\117\114\101\047\069\102\102\101\099\116\047\065\099\114\121\108\105\099"local O=b.PureComponent:extend(script.Name)function O.render(C)return w(function(U)local b=U[m]return p("\073\109\097\103\101\076\097\098\101\108",Z.Dictionary.join({BackgroundTransparency=.5;Image=b.Image;ImageRectOffset=b.ImageRectOffset,ImageRectSize=b.ImageRectSize,ImageTransparency=b.ImageTransparency;ScaleType=b.ScaleType,TileSize=b.TileSize},C.props))end)end return O
-- Acrylic: The acrylic surface

local Winro = script.Parent.Parent.Parent
local Packages = Winro.Parent

local Sift = require(Packages.Sift)
local Roact = require(Packages.Roact)
local new = Roact.createElement

local WithTheme = require(Winro.Theme).WithTheme

local ACRYLIC_TEXTURE_STYLE = 'images/Texture/Effect/Acrylic'

local Acrylic = Roact.PureComponent:extend(script.Name)

function Acrylic:render()
	
	-- Use the acrylic styling
	return WithTheme(function(Theme)
		
		-- Get the acrylic texture
		local Texture = Theme[ACRYLIC_TEXTURE_STYLE]

		return new('ImageLabel', Sift.Dictionary.join({
			BackgroundTransparency = 0.5,
			Image = Texture.Image,
			ImageRectOffset = Texture.ImageRectOffset,
			ImageRectSize = Texture.ImageRectSize,
			ImageTransparency = Texture.ImageTransparency,
			ScaleType = Texture.ScaleType,
			TileSize = Texture.TileSize
		}, self.props))
	end)
end

return Acrylic
