Added undo/redo to profile editor

Added shape anchor point display and movement
This commit is contained in:
Robert committed 2020-01-14 17:19:53 +01:00
1 parent e9677f2070
commit c97b479779
25 files changed
+386 -68

No files matched your search

@@ -1,6 +1,6 @@
using System;
using Artemis.Core.Models.Profile;
using Artemis.Core.Models.Profile.LayerProperties;
using Artemis.Core.Plugins.Abstract;
namespace Artemis.UI.Services.Interfaces
{
@@ -15,6 +15,8 @@ namespace Artemis.UI.Services.Interfaces
void ChangeSelectedProfileElement(ProfileElement profileElement);
void UpdateSelectedProfileElement();
void UpdateProfilePreview();
void UndoUpdateProfile(ProfileModule module);
void RedoUpdateProfile(ProfileModule module);
/// <summary>
/// Occurs when a new profile is selected
@@ -42,8 +44,10 @@ namespace Artemis.UI.Services.Interfaces
event EventHandler CurrentTimeChanged;
/// <summary>
/// Occurs when the profile preview has been updated
/// Occurs when the profile preview has been updated
/// </summary>
event EventHandler ProfilePreviewUpdated;
}
}