Split OrderButtonsChromeLogic into smaller classes.

This commit is contained in:
Paul Chote
2015-04-26 19:17:05 +12:00
parent f4987f7258
commit da70683c03
9 changed files with 184 additions and 130 deletions

View File

@@ -1,16 +1,13 @@
Container@OBSERVER_WIDGETS:
Logic: MenuButtonsChromeLogic
Children:
MenuButton@OPTIONS_BUTTON:
Logic: OrderButtonsChromeLogic
X: 0
Y: 0
Width: 160
Height: 25
Text: Options (Esc)
Font: Bold
Key: escape
MenuButton@OBSERVER_STATS_BUTTON:
Logic: OrderButtonsChromeLogic
MenuContainer: INGAME_OBSERVERSTATS_BG
HideIngameUI: False
Pause: False

View File

@@ -34,7 +34,7 @@ Container@PLAYER_WIDGETS:
ClickThrough: false
Children:
Container@TOP_BUTTONS:
Logic: OrderButtonsChromeLogic
Logic: MenuButtonsChromeLogic
X: 16
Y: 236
Children:
@@ -54,6 +54,7 @@ Container@PLAYER_WIDGETS:
ImageCollection: order-icons
ImageName: debug
Button@REPAIR_BUTTON:
Logic: RepairOrderButtonLogic
X: 29
Width: 34
Height: 35
@@ -67,6 +68,7 @@ Container@PLAYER_WIDGETS:
Y: 0
ImageCollection: order-icons
Button@SELL_BUTTON:
Logic: SellOrderButtonLogic
X: 54
Width: 34
Height: 35
@@ -80,6 +82,7 @@ Container@PLAYER_WIDGETS:
Y: 0
ImageCollection: order-icons
Button@BEACON_BUTTON:
Logic: BeaconOrderButtonLogic
X: 108
Width: 36
Height: 35
@@ -94,6 +97,7 @@ Container@PLAYER_WIDGETS:
ImageCollection: order-icons
Button@POWER_BUTTON:
Logic: PowerdownOrderButtonLogic
X: 133
Width: 36
Height: 35