Break production tabs logic into a separate file.

Also unhardcodes the production types.
This commit is contained in:
Paul Chote
2013-04-08 22:30:14 +12:00
parent 21833f34b0
commit 71999bdc52
6 changed files with 115 additions and 43 deletions

View File

@@ -61,6 +61,8 @@ namespace OpenRA.Mods.Cnc.Widgets
class ProductionTabsWidget : Widget
{
public readonly string PaletteWidget = null;
public readonly string TypesContainer = null;
public readonly float ScrollVelocity = 4f;
public readonly int TabWidth = 30;
public readonly int ArrowWidth = 20;