Return a spriteinfo list from the entry form
This commit is contained in:
@ -81,6 +81,17 @@ namespace SpriteLibrary
|
||||
return false;
|
||||
}
|
||||
|
||||
public void OpenEditWindow(int FirstItemIndex=-1)
|
||||
{
|
||||
SpriteEntryForm SEF = new SpriteEntryForm(myResourceManager, SpriteInfoList);
|
||||
SEF.ShowDialog();
|
||||
//Use the updated list returned from the form.
|
||||
SpriteInfoList.Clear();
|
||||
SpriteInfoList.AddRange(SEF.GetUpdatedList());
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region General Functions
|
||||
public Image GetImageFromName(string Name, bool UseSmartImages)
|
||||
{
|
||||
Image MyImage = null;
|
||||
|
Reference in New Issue
Block a user