class UISL_InitSettings extends UIScreenListener;

var int CURRENT_VERSION;

event OnInit(UIScreen Screen)
{
	if (class'UISoldierQuickIconPanel'.default.ConfigVersion < 2)
	{
		class'UISoldierQuickIconPanel'.default.MAX_SIZE=800;
		class'UISoldierQuickIconPanel'.default.OFFSET_X=400;
		class'UISoldierQuickIconPanel'.default.OFFSET_Y=10;
		class'UISoldierQuickIconPanel'.default.ICON_SIZE=75;
		class'UISoldierQuickIconPanel'.default.ICON_PADDING=10;
		class'UISoldierQuickIconPanel'.default.ORIENT_HORIZONTAL=true;
		class'UISoldierQuickIconPanel'.default.ANCHOR_TOP=true;
		class'UISoldierQuickIconPanel'.default.ANCHOR_RIGHT=true;
		class'UISoldierQuickIconPanel'.default.TEMP_ICONS=false;
		class'UISoldierQuickIconPanel'.static.StaticSaveConfig();
	}
	if (class'UISoldierQuickIconPanel'.default.ConfigVersion < 3)
	{
		class'UISoldierQuickIconPanel'.default.FONT_SIZE=22;
		class'UISoldierQuickIconPanel'.static.StaticSaveConfig();
	}
	if (class'UISoldierQuickIconPanel'.default.ConfigVersion < CURRENT_VERSION)
	{
		class'UISoldierQuickIconPanel'.default.ConfigVersion = CURRENT_VERSION;
		class'UISoldierQuickIconPanel'.static.StaticSaveConfig();
	}
}

defaultproperties
{
	CURRENT_VERSION=3;
}