Skip to content

Commit

Permalink
DPL GUI: display labels for the device
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored and davidrohr committed Feb 2, 2024
1 parent cf302cf commit 47f7d02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Framework/GUISupport/src/FrameworkGUIDeviceInspector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ void displayDeviceInspector(DeviceSpec const& spec,
deviceInfoTable("Outputs:", ProcessingStateId::OUTPUT_MATCHERS, states, metrics);
configurationTable(info.currentConfig, info.currentProvenance);
optionsTable("Workflow Options", metadata.workflowOptions, control);
if (ImGui::CollapsingHeader("Labels", ImGuiTreeNodeFlags_DefaultOpen)) {
for (auto& label : spec.labels) {
ImGui::Text("%s", label.value.c_str());
}
}
servicesTable("Services", spec.services);
if (ImGui::CollapsingHeader("Command line arguments", ImGuiTreeNodeFlags_DefaultOpen)) {
static ImGuiTextFilter filter;
Expand Down

0 comments on commit 47f7d02

Please sign in to comment.