mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Nodes - Added to float node
Nodes - Updated almost all custom VMs to stay in sync across multiple instances
This commit is contained in:
1 parent
ed33d8a148
commit
7933bf7ee9
8 files changed
+217
-65
No files matched your search
@@ -1,9 +1,23 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Artemis.Core
|
||||
namespace Artemis.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a custom view model for a <see cref="INode" />
|
||||
/// </summary>
|
||||
public interface ICustomNodeViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the node the view models belongs to
|
||||
/// </summary>
|
||||
public INode Node { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Called whenever the custom view model is activated
|
||||
/// </summary>
|
||||
void OnActivate();
|
||||
|
||||
/// <summary>
|
||||
/// Called whenever the custom view model is closed
|
||||
/// </summary>
|
||||
void OnDeactivate();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user