histogram: implemented histogram widget

This commit is contained in:
itsmattkc
2020-04-21 01:29:08 +10:00
parent 6f4bf70d3e
commit bdb13e88f5
5 changed files with 208 additions and 3 deletions
+1
View File
@@ -106,6 +106,7 @@ void ViewerPanelBase::CreateScopePanel(ScopePanel::Type type)
// Connect viewer widget texture drawing to scope panel
connect(vw, &ViewerWidget::DrewManagedTexture, p, &ScopePanel::DrewManagedTexture);
connect(vw, &ViewerWidget::LoadedBuffer, p, &ScopePanel::SetBuffer);
if (!scope_panel_count_) {
vw->SetEmitDrewManagedTextureEnabled(true);