MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / disableNextItem

Function disableNextItem

TheForceEngine/TFE_Editor/editor.cpp:657–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655 }
656
657 void disableNextItem()
658 {
659 ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
660 ImGui::PushStyleVar(ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.5f);
661 }
662
663 void enableNextItem()
664 {

Callers 8

menuFunction · 0.85
drawInfoPanelFunction · 0.85
infoPanelMapFunction · 0.85
infoPanelGuidelineFunction · 0.85
menuFunction · 0.85
updateContextWindowFunction · 0.85
updateFunction · 0.85
snapshotUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected