Add Statistics options hotkeys

This commit is contained in:
rob-v
2017-09-02 08:14:20 +02:00
committed by reaperrr
parent b86d632c8c
commit c9b4568117
11 changed files with 170 additions and 93 deletions

View File

@@ -1,6 +1,12 @@
Container@OBSERVER_WIDGETS:
Logic: MenuButtonsChromeLogic
StatisticsBasicKey: StatisticsBasic
StatisticsEconomyKey: StatisticsEconomy
StatisticsProductionKey: StatisticsProduction
StatisticsCombatKey: StatisticsCombat
StatisticsGraphKey: StatisticsGraph
Children:
LogicKeyListener@OBSERVER_KEY_LISTENER:
MenuButton@OPTIONS_BUTTON:
Width: 160
Height: 25
@@ -9,6 +15,7 @@ Container@OBSERVER_WIDGETS:
Key: escape
DisableWorldSounds: true
MenuButton@OBSERVER_STATS_BUTTON:
Key: StatisticsBasic
MenuContainer: INGAME_OBSERVERSTATS_BG
HideIngameUI: False
Pause: False
@@ -16,9 +23,8 @@ Container@OBSERVER_WIDGETS:
Y: 0
Width: 160
Height: 25
Text: Statistics (F1)
Text: Statistics
Font: Bold
Key: f1
Container@GAME_TIMER_BLOCK:
Logic: GameTimerLogic
X: (WINDOW_RIGHT - WIDTH) / 2

View File

@@ -1,5 +1,10 @@
Background@INGAME_OBSERVERSTATS_BG:
Logic: ObserverStatsLogic
StatisticsBasicKey: StatisticsBasic
StatisticsEconomyKey: StatisticsEconomy
StatisticsProductionKey: StatisticsProduction
StatisticsCombatKey: StatisticsCombat
StatisticsGraphKey: StatisticsGraph
X: 25
Y: 50
Width: 1025
@@ -24,6 +29,8 @@ Background@INGAME_OBSERVERSTATS_BG:
Width: 185
Height: 25
Font: Bold
Children:
LogicKeyListener@STATS_DROPDOWN_KEYHANDLER:
Container@BASIC_STATS_HEADERS:
X: 0
Y: 0