Ported the old tab renaming code into main

Needs to be cleaned up
This commit is contained in:
Lars Brubaker 2022-01-21 15:21:07 -08:00
parent 035b84d065
commit b664670a42
47 changed files with 644 additions and 337 deletions

View file

@ -33,14 +33,14 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.Image;
using MatterHackers.Localizations;
using MatterHackers.MatterControl.DataStorage;
using MatterHackers.MatterControl.PrintQueue;
namespace MatterHackers.MatterControl.Library
{
public class PrintQueueContainer : WritableContainer
public class PrintQueueContainer : WritableContainer
{
public PrintQueueContainer()
{
@ -71,6 +71,13 @@ namespace MatterHackers.MatterControl.Library
this.ReloadContent();
}
public override void SetThumbnail(ILibraryItem item, int width, int height, ImageBuffer imageBuffer)
{
#if DEBUG
throw new NotImplementedException();
#endif
}
public static async Task AddAllItems(IEnumerable<ILibraryItem> items)
{
await Task.Run(async () =>