mirror of
https://github.com/edubart/otclient.git
synced 2025-04-29 17:19:20 +02:00

* Updated the walking(mouse/keys) control to be a lot more responsive/smooth! * Updated creature diagonal steps to animate faster (due to demand). * Added a warning popup for boost walker option in cipsoft servers. * Added KeyUp event controls in the g_keyboard class. * Fixed an issue with the minimap not reconfiguring. * Fixed a bug with creature lights drawing properly. * Fixed refreshContainer method. * Some layout edits. * Some minor typo fixes. TODO: * Add walk event stack. * Test new walking edits extensively. * Finish pending state feature.
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
TextWindow < MainWindow
|
|
id: textWindow
|
|
size: 280 280
|
|
@onEscape: self:destroy()
|
|
|
|
UIItem
|
|
id: textItem
|
|
virtual: true
|
|
size: 32 32
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
|
|
Label
|
|
id: description
|
|
anchors.top: parent.top
|
|
anchors.left: textItem.right
|
|
anchors.right: parent.right
|
|
anchors.bottom: text.top
|
|
text-align: left
|
|
margin-left: 8
|
|
margin-bottom: 10
|
|
|
|
MultilineTextEdit
|
|
id: text
|
|
anchors.fill: parent
|
|
anchors.top: textItem.bottom
|
|
margin-right: 10
|
|
margin-top: 30
|
|
margin-bottom: 30
|
|
|
|
VerticalScrollBar
|
|
id: textScroll
|
|
anchors.left: prev.right
|
|
anchors.top: prev.top
|
|
anchors.bottom: prev.bottom
|
|
minimum: 0
|
|
maximum: 0
|
|
step: 1
|
|
value: 0
|
|
pixels-scroll: true
|
|
|
|
Button
|
|
id: cancelButton
|
|
!text: tr('Cancel')
|
|
anchors.top: next.top
|
|
anchors.right: next.left
|
|
margin-right: 8
|
|
width: 60
|
|
@onClick: self:getParent():destroy()
|
|
|
|
Button
|
|
id: okButton
|
|
!text: tr('Ok')
|
|
anchors.top: text.bottom
|
|
anchors.right: text.right
|
|
margin-top: 10
|
|
width: 60
|