Add Interactive/script running python shell window

This commit is contained in:
baldurk
2014-10-10 21:30:40 +01:00
parent 1c306fb155
commit 29894e4db3
9 changed files with 1048 additions and 37 deletions
+9
View File
@@ -404,6 +404,10 @@ namespace renderdocui.Windows
return m_Core.GetDebugMessages();
else if (IsPersist(persistString, typeof(TimelineBar).ToString()))
return m_Core.GetTimelineBar();
else if (IsPersist(persistString, typeof(Dialogs.PythonShell).ToString()))
{
return new Dialogs.PythonShell(m_Core);
}
else if (IsPersist(persistString, typeof(Dialogs.CaptureDialog).ToString()))
{
if (m_Core.CaptureDialog == null)
@@ -1359,6 +1363,11 @@ namespace renderdocui.Windows
t.Show(dockPanel);
}
private void pythonShellToolStripMenuItem_Click(object sender, EventArgs e)
{
(new Dialogs.PythonShell(m_Core)).Show(dockPanel);
}
private void PipelineStateToolStripMenuItem_Click(object sender, EventArgs e)
{
m_Core.GetPipelineStateViewer().Show(dockPanel);