Use Evaluator for positioning; Refactoring; Position elements relative to parents; Broke clicks outside of parent rect

This commit is contained in:
Paul Chote
2010-03-15 19:56:29 +13:00
parent 9ecb0d57f1
commit b70420e373
5 changed files with 79 additions and 50 deletions

View File

@@ -30,10 +30,9 @@ namespace OpenRA
else
FieldLoader.LoadField( widget, child.Key, child.Value );
}
widget.Initialize();
return widget;
}
static Widget NewWidget( string widgetType )
{
if( widgetType.Contains( "@" ) )