mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Remove hardcoded color stylesheets from shader labels in pipeline views
This commit is contained in:
@@ -127,7 +127,12 @@ GLPipelineStateViewer::GLPipelineStateViewer(ICaptureContext &ctx, PipelineState
|
||||
QObject::connect(b, &QToolButton::clicked, this, &GLPipelineStateViewer::shaderView_clicked);
|
||||
|
||||
for(RDLabel *b : shaderLabels)
|
||||
{
|
||||
QObject::connect(b, &RDLabel::clicked, this, &GLPipelineStateViewer::shaderLabel_clicked);
|
||||
b->setAutoFillBackground(true);
|
||||
b->setBackgroundRole(QPalette::ToolTipBase);
|
||||
b->setForegroundRole(QPalette::ToolTipText);
|
||||
}
|
||||
|
||||
for(QToolButton *b : editButtons)
|
||||
QObject::connect(b, &QToolButton::clicked, this, &GLPipelineStateViewer::shaderEdit_clicked);
|
||||
|
||||
Reference in New Issue
Block a user