switch between bottom panels
This commit is contained in:
14
src/SharpIDE.Godot/GodotGlobalEvents.cs
Normal file
14
src/SharpIDE.Godot/GodotGlobalEvents.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace SharpIDE.Godot;
|
||||
|
||||
public static class GodotGlobalEvents
|
||||
{
|
||||
public static event Func<BottomPanelType, Task> LeftSideBarButtonClicked = _ => Task.CompletedTask;
|
||||
public static void InvokeLeftSideBarButtonClicked(BottomPanelType type) => LeftSideBarButtonClicked?.Invoke(type);
|
||||
}
|
||||
|
||||
public enum BottomPanelType
|
||||
{
|
||||
Run,
|
||||
Build,
|
||||
Problems
|
||||
}
|
||||
Reference in New Issue
Block a user