add option to show actor names in the editor

This commit is contained in:
Chris Forbes
2011-02-27 11:00:54 +13:00
parent e1c0c24a47
commit 8d99652eea
3 changed files with 49 additions and 10 deletions

View File

@@ -406,6 +406,12 @@ namespace OpenRA.Editor
if (DialogResult.OK == saveFileDialog.ShowDialog())
pmMiniMap.Image.Save(saveFileDialog.FileName);
}
void showActorNamesToolStripMenuItem_Click(object sender, EventArgs e)
{
showActorNamesToolStripMenuItem.Checked ^= true;
surface1.ShowActorNames = showActorNamesToolStripMenuItem.Checked;
}
}
}