mirror of
https://github.com/edubart/otclient.git
synced 2025-05-03 11:09:20 +02:00

* partially restore vip, battle, healthbar, skills and inventory modules * more fixes on UIWidgets * implement UIMiniWindow close/minimize functionality * allow drag and drop miniwindows beteween game panels
18 lines
410 B
Lua
18 lines
410 B
Lua
UIMiniWindowContainer = extends(UIWidget)
|
|
|
|
function UIMiniWindowContainer.create()
|
|
local container = UIMiniWindowContainer.internalCreate()
|
|
container:setFocusable(false)
|
|
container:setPhantom(true)
|
|
return container
|
|
end
|
|
|
|
function UIMiniWindowContainer:onDrop(widget, mousePos)
|
|
widget:setParent(self)
|
|
return true
|
|
end
|
|
|
|
function UIMiniWindowContainer:getClassName()
|
|
return 'UIMiniWindowContainer'
|
|
end
|