mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
implement motd button
This commit is contained in:
@@ -11,4 +11,8 @@ end
|
||||
function TopMenu.destroy()
|
||||
topMenu:destroy()
|
||||
topMenu = nil
|
||||
end
|
||||
|
||||
function TopMenu.getButton(id)
|
||||
return topMenu:getChildById(id)
|
||||
end
|
@@ -37,7 +37,8 @@ TopPanel
|
||||
margin.left: 6
|
||||
tooltip: Message of the day
|
||||
icon: /core_styles/icons/motd.png
|
||||
@onClick:
|
||||
visible: false
|
||||
@onClick: EnterGame.displayMotd()
|
||||
|
||||
TopButton
|
||||
anchors.top: parent.top
|
||||
|
Reference in New Issue
Block a user