daily update on 20240901 by nitload youmu
This commit is contained in:
@@ -44,6 +44,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace StgSharp.MVVM.View
|
||||
{
|
||||
@@ -61,7 +62,7 @@ namespace StgSharp.MVVM.View
|
||||
|
||||
private GetDataBindingEntryDelegate getDataBindingEntry;
|
||||
|
||||
private int usedFrame = 0;
|
||||
private int usedFrame;
|
||||
private IViewDesigner<ViewBase> _design;
|
||||
private IViewRender<ViewBase> _render;
|
||||
private IViewResponder<ViewBase> _responder;
|
||||
@@ -87,6 +88,11 @@ namespace StgSharp.MVVM.View
|
||||
}
|
||||
}
|
||||
|
||||
internal bool IsWaitingWindowEvent
|
||||
{
|
||||
get => context.IsWaitingEvent;
|
||||
}
|
||||
|
||||
public (int x, int y, int z) UnitCubeSize
|
||||
{
|
||||
get => unitCubeSize;
|
||||
@@ -142,7 +148,7 @@ namespace StgSharp.MVVM.View
|
||||
set => _responder = value;
|
||||
}
|
||||
|
||||
public abstract void CustomizedInitialize(ViewModelBase viewModelBinding);
|
||||
public abstract void CustomizedInitialize([NotNull]ViewModelBase viewModelBinding);
|
||||
|
||||
/// <summary>
|
||||
/// Get the status of a certain key on the keyboard.
|
||||
@@ -155,7 +161,7 @@ namespace StgSharp.MVVM.View
|
||||
return InternalIO.glfwGetKey(context.ViewPortID, (int)key);
|
||||
}
|
||||
|
||||
public void InternalInitialize(string name, (int, int, int) cubeSize, ViewModelBase viewModelBinding)
|
||||
public void InternalInitialize(string name, (int, int, int) cubeSize, [NotNull]ViewModelBase viewModelBinding)
|
||||
{
|
||||
SelfName = name;
|
||||
unitCubeSize = cubeSize;
|
||||
|
||||
Reference in New Issue
Block a user