add debug panel

This commit is contained in:
Matt Parker
2025-08-29 18:25:42 +10:00
parent 88b8fbea55
commit 850be02a52
11 changed files with 266 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ namespace SharpIDE.Godot.Features.BottomPanel;
public partial class BottomPanelManager : Panel
{
private Control _runPanel = null!;
private Control _debugPanel = null!;
private Control _buildPanel = null!;
private Control _problemsPanel = null!;
@@ -13,11 +14,14 @@ public partial class BottomPanelManager : Panel
public override void _Ready()
{
_runPanel = GetNode<Control>("%RunPanel");
_debugPanel = GetNode<Control>("%DebugPanel");
_buildPanel = GetNode<Control>("%BuildPanel");
_problemsPanel = GetNode<Control>("%ProblemsPanel");
_panelTypeMap = new Dictionary<BottomPanelType, Control>
{
{ BottomPanelType.Run, _runPanel },
{ BottomPanelType.Debug, _debugPanel },
{ BottomPanelType.Build, _buildPanel },
{ BottomPanelType.Problems, _problemsPanel }
};