mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Added custom Splitter class, RDSplitter, with titles in the handles
This commit is contained in:
committed by
Baldur Karlsson
parent
0964034b4b
commit
4ab61286e4
@@ -39,6 +39,11 @@ APIInspector::APIInspector(CaptureContext &ctx, QWidget *parent)
|
||||
ui->splitter->setCollapsible(1, true);
|
||||
ui->splitter->setSizes({1, 0});
|
||||
|
||||
RDSplitterHandle *handle = (RDSplitterHandle *)ui->splitter->handle(1);
|
||||
handle->setTitle("Callstack");
|
||||
handle->setIndex(1);
|
||||
handle->setCollapsed(true);
|
||||
|
||||
m_Ctx.AddLogViewer(this);
|
||||
}
|
||||
|
||||
@@ -167,4 +172,4 @@ void APIInspector::fillAPIView()
|
||||
}
|
||||
}
|
||||
ui->apiEvents->setUpdatesEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user