mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00

* Renamed game_textbooks to game_textwindow. * Fixed text window from opening multiple times, and is destroyed correctly. * Added new game_playerdeath module (moved death message and window here). * Hotkey window will hide on game end. * Logout/Exit/Stackable Items/Questlog/Hotkeys windows will now close on game end.
29 lines
547 B
Plaintext
29 lines
547 B
Plaintext
LogoutWindow < MainWindow
|
|
id: logoutWindow
|
|
!text: tr('Logout')
|
|
size: 300 100
|
|
|
|
Label
|
|
!text: tr('Are you sure you want to logout?')
|
|
width: 300
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin-left: 30
|
|
margin-top: 2
|
|
|
|
Button
|
|
id: buttonYes
|
|
!text: tr('Yes')
|
|
width: 64
|
|
anchors.left: parent.left
|
|
anchors.bottom: parent.bottom
|
|
margin-left: 65
|
|
|
|
Button
|
|
id: buttonNo
|
|
!text: tr('No')
|
|
width: 64
|
|
anchors.left: prev.right
|
|
anchors.bottom: parent.bottom
|
|
margin-left: 5
|