Show player and spawn details in the replay browser.

This commit is contained in:
Paul Chote
2014-03-23 11:57:50 +13:00
parent 272e872357
commit 55ad12d9a3
5 changed files with 213 additions and 107 deletions

View File

@@ -2,11 +2,10 @@ Background@REPLAYBROWSER_PANEL:
Logic:ReplayBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:700
Height:410
Width:530
Height:535
Children:
Label@REPLAYBROWSER_LABEL_TITLE:
X:0
Y:20
Width:PARENT_RIGHT
Height:25
@@ -16,74 +15,95 @@ Background@REPLAYBROWSER_PANEL:
ScrollPanel@REPLAY_LIST:
X:20
Y:50
Width:390
Height:300
Width:282
Height:430
Children:
ScrollItem@REPLAY_TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Width:PARENT_RIGHT-20
Height:25
Container@REPLAY_INFO:
X:0
Y:0
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible:false
Background@MAP_BG:
X:PARENT_RIGHT-WIDTH-20
Y:50
Width:194
Height:194
Background:dialog3
Children:
MapPreview@MAP_PREVIEW:
X:PARENT_RIGHT-241
Y:30
X:1
Y:1
Width:192
Height:192
Label@MAP_TITLE_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:250
Align:Right
Width:70
Height:20
Text:Map:
Font:Bold
TooltipContainer:TOOLTIP_CONTAINER
Container@REPLAY_INFO:
X:PARENT_RIGHT-WIDTH - 20
Y:50
Width:194
Height:PARENT_BOTTOM - 15
Children:
Label@MAP_TITLE:
X:PARENT_RIGHT - 195
Y:250
Align:Left
Width:70
Height:20
Label@DURATION_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:270
Align:Right
Width:70
Height:20
Text:Duration:
Y:197
Width:PARENT_RIGHT
Height:25
Font:Bold
Align:Center
Label@MAP_TYPE:
Y:212
Width:PARENT_RIGHT
Height:25
Font:TinyBold
Align:Center
Label@DURATION:
X:PARENT_RIGHT - 195
Y:270
Align:Left
Width:70
Height:20
Label@PLAYERS_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:290
Align:Right
Width:70
Height:20
Text:Players:
Font:Bold
Label@PLAYERS:
X:PARENT_RIGHT - 195
Y:290
Align:Left
Width:70
Height:20
Y:225
Width:PARENT_RIGHT
Height:25
Font:Tiny
Align:Center
ScrollPanel@PLAYER_LIST:
Y:250
Width:PARENT_RIGHT
Height:PARENT_BOTTOM - 340
IgnoreChildMouseOver:true
Children:
ScrollItem@HEADER:
BaseName:scrollheader
Width:PARENT_RIGHT-27
Height:13
X:2
Y:0
Visible:false
Children:
Label@LABEL:
Font:TinyBold
Width:PARENT_RIGHT
Height:10
Align:Center
ScrollItem@TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Image@FLAG:
X:4
Y:4
Width:32
Height:16
Label@LABEL:
X:40
Width:60
Height:25
Label@NOFLAG_LABEL:
X:5
Width:PARENT_RIGHT
Height:25
Button@WATCH_BUTTON:
X:PARENT_RIGHT - 140 - 130
Y:PARENT_BOTTOM - 45
@@ -100,3 +120,4 @@ Background@REPLAYBROWSER_PANEL:
Text:Cancel
Font:Bold
Key:escape
TooltipContainer@TOOLTIP_CONTAINER: