mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add timeline bar to default layout
This commit is contained in:
@@ -1264,6 +1264,13 @@ void MainWindow::show()
|
||||
apiInspector,
|
||||
ToolWindowManager::AreaReference(ToolWindowManager::BottomOf,
|
||||
ui->toolWindowManager->areaOf(eventBrowser), 0.3f));
|
||||
|
||||
QWidget *timelineBar = m_Ctx.GetTimelineBar()->Widget();
|
||||
|
||||
ui->toolWindowManager->addToolWindow(
|
||||
timelineBar,
|
||||
ToolWindowManager::AreaReference(ToolWindowManager::TopWindowSide,
|
||||
ui->toolWindowManager->areaOf(textureViewer), 0.2f));
|
||||
}
|
||||
|
||||
QMainWindow::show();
|
||||
|
||||
Reference in New Issue
Block a user