Merge pull request #2996 from Mailaender/serverbrowser-usability

Added filters and ping to server browser
This commit is contained in:
Chris Forbes
2013-04-13 00:55:41 -07:00
3 changed files with 191 additions and 20 deletions

View File

@@ -3,21 +3,52 @@ Background@JOINSERVER_BG:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:540
Height:535
Height:505
Children:
Label@JOINSERVER_LABEL_TITLE:
X:0
Y:20
Y:15
Width:PARENT_RIGHT
Height:25
Text:Join Server
Align:Center
Font:Bold
Label@SHOW_LABEL_TITLE:
X:20
Y:45
Width:20
Height:25
Text:Show:
Font:Bold
Checkbox@WAITING_FOR_PLAYERS:
X:80
Y:50
Width:100
Height:20
Text:Waiting
Checkbox@EMPTY:
X:180
Y:50
Width:100
Height:20
Text:Empty
Checkbox@ALREADY_STARTED:
X:280
Y:50
Width:100
Height:20
Text:Started
Checkbox@INCOMPATIBLE_VERSION:
X:380
Y:50
Width:100
Height:20
Text:Incompatible
ScrollPanel@SERVER_LIST:
X:20
Y:50
Y:80
Width:500
Height:425
Height:355
Children:
ScrollItem@SERVER_TEMPLATE:
Width:PARENT_RIGHT-27
@@ -64,25 +95,37 @@ Background@JOINSERVER_BG:
Y:40
Align:Right
Height:25
Label@PING:
Width:140
X:PARENT_RIGHT-150
Y:40
Align:Right
Height:25
Label@PROGRESS_LABEL:
X:(PARENT_RIGHT - WIDTH) / 2
Y:PARENT_BOTTOM / 2 - HEIGHT
Width:150
Height:30
Text:Fetching games...
Align:Center
Align:Center
Button@REFRESH_BUTTON:
X:20
Y:PARENT_BOTTOM - 45
Width:120
Width:100
Height:25
Text:Refresh
Font:Bold
Button@PING_BUTTON:
X:140
Y:PARENT_BOTTOM - 45
Width:100
Height:25
Text:Ping
Font:Bold
Button@JOIN_BUTTON:
X:PARENT_RIGHT - 140 - 130
Y:PARENT_BOTTOM - 45
Width:120
Width:100
Height:25
Text:Join
Font:Bold
@@ -90,7 +133,7 @@ Background@JOINSERVER_BG:
Button@BACK_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Width:100
Height:25
Text:Cancel
Font:Bold