This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
namespace BITKit.UX
{
public interface IUXBarService
{
void SetOrCreate(int id,string name,float value,object data = null);
void Remove(int id);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4a419b02b7a18a449a9598b8788a670f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace BITKit.UX
{
public interface IUXDialogue
{
void Show(string content,string title = "Alert",Action confirmAction=null,Action<bool> onChoose=null);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 69687081ecdbf81469da6af131fab9da
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

10
Src/Core/UX/IUXPopUp.cs Normal file
View File

@@ -0,0 +1,10 @@
using System.Collections;
using System.Collections.Generic;
namespace BITKit.UX
{
public interface IUXPopup
{
void Popup(string content,float duration=3f);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 437d4ac1db96ac14bb41ff06527de651
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

19
Src/Core/UX/IUXWaiting.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace BITKit.UX
{
public interface IUXWaitingHandle
{
string Message { get; set; }
object Container { get; }
public void SetMessage(string message)=>Message=message;
}
public interface IUXWaiting
{
IUXWaitingHandle Get();
void Release(IUXWaitingHandle handle);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3eb1539e554cd824d96fbdc602b8fd81
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: