Rewrite production palette. Tooltips will be reimplemented later.

This commit is contained in:
Paul Chote
2011-07-03 01:48:35 +12:00
parent c76811c5e1
commit f96840df36
2 changed files with 166 additions and 262 deletions

View File

@@ -87,16 +87,16 @@ Container@INGAME_ROOT:
Y:50
Background@SIDEBAR_BACKGROUND:
Id:SIDEBAR_BACKGROUND
X:WINDOW_RIGHT - 200
X:WINDOW_RIGHT - 204
Y:30
Width:190
Height:230
Width:194
Height:240
Background:panel-black
Children:
Button@OPTIONS_BUTTON:
Id:OPTIONS_BUTTON
Key:escape
X:38
X:40
Y:0-24
Width:35
Height:25
@@ -104,7 +104,7 @@ Container@INGAME_ROOT:
Font:Bold
Button@SELL:
Id:SELL
X:78
X:80
Y:0-24
Width:35
Height:25
@@ -112,17 +112,17 @@ Container@INGAME_ROOT:
Font:Bold
Button@REPAIR:
Id:SELL
X:118
X:120
Y:0-24
Width:35
Height:25
Text:R
Font:Bold
Background@RADAR:
X:19
Y:11
Width:152
Height:152
X:13
Y:5
Width:168
Height:168
Background:panel-gray
Children:
Radar:
@@ -133,10 +133,10 @@ Container@INGAME_ROOT:
Height:PARENT_BOTTOM-2
WorldInteractionController:INTERACTION_CONTROLLER
Background@POWERBAR:
X:10
Y:11
X:4
Y:5
Width:10
Height:152
Height:168
Background:panel-black
Children:
PowerBar:
@@ -145,15 +145,15 @@ Container@INGAME_ROOT:
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
Label@POWERICON:
X:10
Y:170
X:4
Y:180
Text:P
Font:Bold
Background@SILOBAR:
X:170
Y:11
X:180
Y:5
Width:10
Height:152
Height:168
Background:panel-black
Children:
SiloBar:
@@ -162,21 +162,21 @@ Container@INGAME_ROOT:
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
Label@SILOICON:
X:171
Y:170
X:181
Y:180
Text:T
Font:Bold
Label@CASH:
Id:CASH_DISPLAY
Y:160
Y:170
Width:PARENT_RIGHT
Height:25
Align:Center
Font:Bold
Container@PRODUCTION_TYPES:
Id:PRODUCTION_TYPES
X:10
Y:190
X:12
Y:197
Width:170
Height:30
Children:
@@ -212,14 +212,14 @@ Container@INGAME_ROOT:
ProductionTabs:
Id:PRODUCTION_TABS
PaletteWidget:PRODUCTION_PALETTE
X:WINDOW_RIGHT - 200
Y:259
Width:190
X:WINDOW_RIGHT - 204
Y:268
Width:194
Height:20
ProductionPalette:
Id:PRODUCTION_PALETTE
X:WINDOW_RIGHT - 200
Y:280
X:WINDOW_RIGHT - 204
Y:287
TabClick: button.aud
Background@FMVPLAYER:
Id:FMVPLAYER