MCPcopy Create free account
hub / github.com/chrxh/alien / processInjectorContent

Method processInjectorContent

source/Gui/InspectorWindow.cpp:569–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void _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
588void _InspectorWindow::processAttackerContent(AttackerDescription& attacker)
589{

Callers

nothing calls this directly

Calls 2

ComboParametersClass · 0.85
InputIntParametersClass · 0.85

Tested by

no test coverage detected