mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11:59 +08:00
Framework changed to WPF
Only the basic window frame is implemented. Adjusted the structure of resource files.
This commit is contained in:
1 parent
346a68ddb4
commit
a055dc5299
128 files changed
+48325
-63581
No files matched your search
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
using GrasscutterTools.Events;
|
||||
|
||||
namespace GrasscutterTools.Interfaces
|
||||
{
|
||||
public interface IPageCommand
|
||||
{
|
||||
event EventHandler<CommandGeneratedEventArgs> CommandGenerated;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using GrasscutterTools.Models;
|
||||
|
||||
namespace GrasscutterTools.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 带列表的页面接口
|
||||
/// </summary>
|
||||
public interface IPageListProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// 列表项选中时触发
|
||||
/// </summary>
|
||||
/// <param name="item">列表项</param>
|
||||
void OnListItemSelected(GameItem item);
|
||||
|
||||
/// <summary>
|
||||
/// 列表源
|
||||
/// </summary>
|
||||
GameItems ListSource { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以分组
|
||||
/// </summary>
|
||||
bool CanGroup { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 类别
|
||||
/// </summary>
|
||||
string[] Categories { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user