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

Method processCellMetadataTab

source/Gui/InspectorWindow.cpp:478–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478void _InspectorWindow::processCellMetadataTab(CellDescription& cell)
479{
480 if (ImGui::BeginTabItem("Annotation", nullptr, ImGuiTabItemFlags_None)) {
481 if (ImGui::BeginChild("##", ImVec2(0, 0), false, 0)) {
482 AlienImGui::InputText(AlienImGui::InputTextParameters().hint("Name").textWidth(0), cell.metadata.name);
483
484 AlienImGui::InputTextMultiline(AlienImGui::InputTextMultilineParameters().hint("Notes").textWidth(0).height(100), cell.metadata.description);
485 }
486 ImGui::EndChild();
487 ImGui::EndTabItem();
488 }
489}
490
491void _InspectorWindow::processNerveContent(NerveDescription& nerve)
492{

Callers

nothing calls this directly

Calls 3

ImVec2Class · 0.85
InputTextParametersClass · 0.85

Tested by

no test coverage detected