Add the statistics button to TD replays.

This commit is contained in:
Paul Chote
2014-10-19 11:51:24 +13:00
parent 2f6ceafc9c
commit 0fc8344eb0
2 changed files with 22 additions and 3 deletions

View File

@@ -465,4 +465,7 @@ order-icons: chrome.png
repair-active: 384,80,16,16
beacon: 400,48,16,16
beacon-disabled: 400,64,16,16
beacon-active: 400,80,16,16
beacon-active: 400,80,16,16
stats: 480,96,16,16
stats-disabled: 480,112,16,16
stats-active: 480,128,16,16

View File

@@ -61,15 +61,14 @@ Container@INGAME_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:
Container@OBSERVER_WIDGETS:
Logic: OrderButtonsChromeLogic
Children:
MenuButton@OPTIONS_BUTTON:
Logic: OrderButtonsChromeLogic
Key: escape
X: WINDOW_RIGHT-260-WIDTH
Y: 5
Width: 30
Height: 25
Font: Bold
TooltipText: Menu
TooltipContainer: TOOLTIP_CONTAINER
Children:
@@ -78,6 +77,23 @@ Container@OBSERVER_WIDGETS:
Y: 5
ImageCollection: order-icons
ImageName: options
MenuButton@OBSERVER_STATS_BUTTON:
Key: F1
X: WINDOW_RIGHT-260-WIDTH
Y: 35
Width: 30
Height: 25
TooltipText: Statistics
TooltipContainer: TOOLTIP_CONTAINER
MenuContainer: INGAME_OBSERVERSTATS_BG
HideIngameUI: false
Pause: false
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
ImageName: stats
Background@RADAR:
X: WINDOW_RIGHT-WIDTH-5
Y: 5