tibia-client/modules/game/widgets/uiminiwindowcontainer.lua

20 lines
470 B
Lua
Raw Normal View History

2012-02-07 01:41:53 +01:00
UIMiniWindowContainer = extends(UIWidget)
function UIMiniWindowContainer.create()
local container = UIMiniWindowContainer.internalCreate()
container:setFocusable(false)
container:setPhantom(true)
return container
end
function UIMiniWindowContainer:onDrop(widget, mousePos)
2012-03-28 21:09:45 +02:00
if widget:getClassName() == 'UIMiniWindow' then
widget:setParent(self)
return true
end
end
2012-02-07 01:41:53 +01:00
function UIMiniWindowContainer:getClassName()
return 'UIMiniWindowContainer'
end