Split project

This commit is contained in:
h z
2024-06-29 06:35:23 +08:00
commit 6e01c31061
54 changed files with 496 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
using Nocturnis.Communicators;
namespace Nocturnis.UIElements;
public interface IDashboardTab
{
IEnumerable<IBaseCommunicator> AllCommunicators { get; }
}

View File

@@ -0,0 +1,6 @@
namespace Nocturnis.UIElements;
public interface IPanelViewer
{
}

View File

@@ -0,0 +1,12 @@
using Godot;
namespace Nocturnis.UIElements;
public interface ISimpleLabel
{
Vector2 Position { get; set; }
Vector2 Size { get; set; }
string Text { get; set; }
Node AsNode { get; }
bool Visible { get; set; }
}

View File

@@ -0,0 +1,8 @@
using Nocturnis.Enigmos.Boards;
namespace Nocturnis.UIElements.Layers;
public interface IBoardControlLayer
{
IBaseBoard Board { get; set; }
}

View File

@@ -0,0 +1,9 @@
using Godot;
namespace Nocturnis.UIElements.Layers;
public interface IModuleManualLayer
{
void AddChild(Node child);
Marker2D ManualPosition { get; set; }
}

View File

@@ -0,0 +1,12 @@
using Godot;
using Nocturnis.Enigmos.Boards;
using Nocturnis.Enigmos.Modules;
namespace Nocturnis.UIElements.Layers;
public interface IModuleMovingLayer
{
IBaseModule DraggingModule { get; set; }
Vector2 MouseOffset { get; set; }
IBaseBoard Board { get; set; }
}