mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
create NResUI
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace NResUI.Abstractions
|
||||
{
|
||||
public interface IExitReceiver
|
||||
{
|
||||
void OnExit();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace NResUI.Abstractions
|
||||
{
|
||||
public interface IImGuiPanel
|
||||
{
|
||||
void OnImGuiRender();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using Silk.NET.Input;
|
||||
|
||||
namespace NResUI.Abstractions
|
||||
{
|
||||
public interface IKeyPressReceiver
|
||||
{
|
||||
void OnKeyPressed(Key key);
|
||||
}
|
||||
public interface IKeyReleaseReceiver
|
||||
{
|
||||
void OnKeyReleased(Key key);
|
||||
}
|
||||
public interface IKeyDownReceiver
|
||||
{
|
||||
void OnKeyDown(Key key);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace NResUI.Abstractions
|
||||
{
|
||||
public interface IService
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace NResUI.Abstractions
|
||||
{
|
||||
public interface IUpdateReceiver
|
||||
{
|
||||
/// <summary>
|
||||
/// Called before every UI render
|
||||
/// </summary>
|
||||
void OnUpdate(float delta);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user