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
|
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
function UIMiniWindowContainer:onDrop(widget, mousePos)
|
2012-03-28 16:10:21 +02:00
|
|
|
widget:setParent(self)
|
|
|
|
return true
|
2012-03-27 00:24:01 +02:00
|
|
|
end
|
|
|
|
|
2012-02-07 01:41:53 +01:00
|
|
|
function UIMiniWindowContainer:getClassName()
|
|
|
|
return 'UIMiniWindowContainer'
|
|
|
|
end
|