| 567 | } |
| 568 | |
| 569 | void _InspectorWindow::processInjectorContent(InjectorDescription& injector) |
| 570 | { |
| 571 | if (ImGui::TreeNodeEx("Properties", TreeNodeFlags)) { |
| 572 | AlienImGui::Combo( |
| 573 | AlienImGui::ComboParameters() |
| 574 | .name("Mode") |
| 575 | .textWidth(CellFunctionTextWidth) |
| 576 | .values({"Only empty cells", "All cells"}) |
| 577 | .tooltip(Const::GenomeInjectorModeTooltip), |
| 578 | injector.mode); |
| 579 | ImGui::TreePop(); |
| 580 | } |
| 581 | if (ImGui::TreeNodeEx("Process data", TreeNodeFlags)) { |
| 582 | AlienImGui::InputInt( |
| 583 | AlienImGui::InputIntParameters().name("Counter").textWidth(CellFunctionTextWidth).tooltip(Const::CellInjectorCounterTooltip), injector.counter); |
| 584 | ImGui::TreePop(); |
| 585 | } |
| 586 | } |
| 587 | |
| 588 | void _InspectorWindow::processAttackerContent(AttackerDescription& attacker) |
| 589 | { |
nothing calls this directly
no test coverage detected