Restore separated direct connect dialog.

This commit is contained in:
Paul Chote
2017-12-17 18:36:15 +00:00
committed by abcdefg30
parent 205c45198c
commit 5256fb7bbd
8 changed files with 189 additions and 218 deletions

View File

@@ -63,7 +63,7 @@ Background@CONNECTING_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 450
Height: 150
Height: 160
Children:
Label@CONNECTING_TITLE:
X: 0

View File

@@ -1,96 +1,57 @@
Container@MULTIPLAYER_DIRECTCONNECT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background@DIRECTCONNECT_PANEL:
Logic: DirectConnectLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - HEIGHT)/2
Width: 450
Height: 160
Children:
Label@TITLE:
Y: 5
Width: 583
Label@DIRECTCONNECT_LABEL_TITLE:
X: 0
Y: 20
Width: 450
Height: 25
Text: Connect to Server
Align: Center
Font: Bold
ScrollPanel:
Y: 30
Width: 583
Height: 279
Children:
Container:
X: 185
Y: 85
Children:
Label@ADDRESS_LABEL:
Y: 14
Width: 95
Height: 25
Align: Right
Text: Address:
TextField@IP:
X: 100
Y: 15
Width: 215
Height: 25
Label@PORT_LABEL:
Y: 49
Width: 95
Height: 25
Align: Right
Text: Port:
TextField@PORT:
X: 100
Y: 50
Width: 50
Height: 25
MaxLength: 5
Container@SIDEBAR:
X: PARENT_RIGHT - WIDTH
Y: 30
Width: 174
Height: 280
Children:
Background@MAP_BG:
Width: PARENT_RIGHT
Height: 174
Background: dialog3
Label@TITLE:
Y: 172
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
Text: Direct Connect
Label@DESCA:
Y: 190
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Enter the server IP and port in the
Label@DESCB:
Y: 203
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: fields to the left, and then press Join.
Label@DESCC:
Y: 216
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: The mod and game version will be
Label@DESCD:
Y: 229
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: verified when connecting.
Label@ADDRESS_LABEL:
X: 50
Y: 59
Width: 95
Height: 25
Align: Right
Text: Server Address:
TextField@IP:
X: 150
Y: 60
Width: 210
MaxLength: 50
Height: 25
Label@PORT_LABEL:
X: 360
Y: 59
Width: 10
Height: 25
Align: Center
Text: :
TextField@PORT:
X: 370
Y: 60
Width: 60
MaxLength: 5
Height: 25
Button@JOIN_BUTTON:
Key: return
X: PARENT_RIGHT - WIDTH
Y: 284
Width: 174
X: PARENT_RIGHT - 430
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Join
Font: Bold
Key: return
Button@BACK_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Cancel
Font: Bold
Key: escape

View File

@@ -20,25 +20,25 @@ Background@MULTIPLAYER_PANEL:
Text: Filter Games
Font: Bold
Button@REFRESH_BUTTON:
X: 183
X: 182
Y: PARENT_BOTTOM - HEIGHT - 20
Width: 100
Height: 25
Text: Refresh
Font: Bold
Button@BROWSER_TAB:
Button@DIRECTCONNECT_BUTTON:
X: 288
Y: PARENT_BOTTOM - HEIGHT - 20
Width: 105
Height: 31
Text: Browse
Width: 100
Height: 25
Text: Direct IP
Font: Bold
Button@DIRECTCONNECT_TAB:
Button@BROWSER_TAB:
X: 393
Y: PARENT_BOTTOM - HEIGHT - 20
Width: 105
Height: 31
Text: Direct IP
Text: Browse
Font: Bold
Button@CREATE_TAB:
X: 498