class 'l_12_grannies_room_z_window' (ZoomEventHandler)

function l_12_grannies_room_z_window:__init(name)
    ZoomEventHandler.__init(self, name)
end

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_12_grannies_room_z_window:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/12_grannies_room/main/z_window/z_window_bg.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_window_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/12_grannies_room/main/z_window/z_window_contrast.png',0,0,278,225,1,0)
	anim:SetHotSpot(139,112)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_window_contrast',anim,504,339,51,0,1,1)
	
	anim = CreateAnimation('data/Texture/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_click_zw_window',anim,505,345,100,3,30,19)
	
	anim = CreateAnimation('data/Texture/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_hint_zw_window',anim,505,345,100,3,30,19)
	
end
-- CLEAR_ON_SAVE_END
