Split project
This commit is contained in:
8
src/UIElements/IDashboardTab.cs
Normal file
8
src/UIElements/IDashboardTab.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Nocturnis.Communicators;
|
||||
|
||||
namespace Nocturnis.UIElements;
|
||||
|
||||
public interface IDashboardTab
|
||||
{
|
||||
IEnumerable<IBaseCommunicator> AllCommunicators { get; }
|
||||
}
|
||||
6
src/UIElements/IPanelViewer.cs
Normal file
6
src/UIElements/IPanelViewer.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Nocturnis.UIElements;
|
||||
|
||||
public interface IPanelViewer
|
||||
{
|
||||
|
||||
}
|
||||
12
src/UIElements/ISimpleLabel.cs
Normal file
12
src/UIElements/ISimpleLabel.cs
Normal 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; }
|
||||
}
|
||||
8
src/UIElements/Layers/IBoardControlLayer.cs
Normal file
8
src/UIElements/Layers/IBoardControlLayer.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Nocturnis.Enigmos.Boards;
|
||||
|
||||
namespace Nocturnis.UIElements.Layers;
|
||||
|
||||
public interface IBoardControlLayer
|
||||
{
|
||||
IBaseBoard Board { get; set; }
|
||||
}
|
||||
9
src/UIElements/Layers/IModuleManualLayer.cs
Normal file
9
src/UIElements/Layers/IModuleManualLayer.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Godot;
|
||||
|
||||
namespace Nocturnis.UIElements.Layers;
|
||||
|
||||
public interface IModuleManualLayer
|
||||
{
|
||||
void AddChild(Node child);
|
||||
Marker2D ManualPosition { get; set; }
|
||||
}
|
||||
12
src/UIElements/Layers/IModuleMovingLayer.cs
Normal file
12
src/UIElements/Layers/IModuleMovingLayer.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user