mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
Implemented client_serverlist module! Close #200
* Will store servers that are not already in the list when logging in * Can add servers manually if required too * Fixed a bug in table.size
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
EnterGameWindow < MainWindow
|
||||
|
||||
ServerListButton < UIButton
|
||||
size: 17 17
|
||||
image-source: /images/topbuttons/minimap
|
||||
image-color: #ffffffff
|
||||
|
||||
$hover !disabled:
|
||||
image-color: #ffffff99
|
||||
|
||||
$pressed:
|
||||
image-color: #ffffff44
|
||||
|
||||
$disabled:
|
||||
image-color: #ffffff55
|
||||
|
||||
EnterGameWindow
|
||||
id: enterGame
|
||||
!text: tr('Enter Game')
|
||||
@@ -41,13 +55,21 @@ EnterGameWindow
|
||||
margin-top: 8
|
||||
text-auto-resize: true
|
||||
|
||||
ServerListButton
|
||||
id: serverListButton
|
||||
anchors.right: parent.right
|
||||
anchors.top: serverLabel.bottom
|
||||
margin-top: 3
|
||||
@onClick: ServerList.show()
|
||||
|
||||
TextEdit
|
||||
id: serverHostTextEdit
|
||||
!tooltip: tr('Make sure that your client uses\nthe correct game protocol version')
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.right: serverListButton.left
|
||||
anchors.top: serverLabel.bottom
|
||||
margin-top: 2
|
||||
margin-right: 4
|
||||
|
||||
MenuLabel
|
||||
id: protocolLabel
|
||||
|
Reference in New Issue
Block a user