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

* rework client modules * hide main window when loading * remake top menu functions * rework modules autoload * improve path resolving for otml and lua * move core_widgets to core_lib * fix tooltip issues * split some styles * add bit32 lua library * fix assert issues * fix compilation on linux 32 systems * rework gcc compile options * renable and fix some warnings * remove unused constants * speedup sprite cache * move UIGame to lua (not funcional yet) * fix a lot of issues in x11 window * fix crash handler * add some warnings do uiwidget and much more...
40 lines
830 B
Plaintext
40 lines
830 B
Plaintext
MainWindow
|
|
size: 256 128
|
|
text: Add to VIP list
|
|
@onEnter: VipList.addVip()
|
|
@onEscape: VipList.destroyAddWindow()
|
|
|
|
Label
|
|
text: Please enter a character name:
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
LineEdit
|
|
id: name
|
|
anchors.top: prev.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
margin-top: 4
|
|
|
|
HorizontalSeparator
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: next.top
|
|
margin-bottom: 10
|
|
|
|
Button
|
|
text: Ok
|
|
width: 64
|
|
anchors.right: next.left
|
|
anchors.bottom: parent.bottom
|
|
margin-right: 10
|
|
@onClick: VipList.addVip()
|
|
|
|
Button
|
|
text: Cancel
|
|
width: 64
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
@onClick: VipList.destroyAddWindow()
|