MCPcopy Create free account
hub / github.com/Nelarius/imnodes / IsAnyAttributeActive

Function IsAnyAttributeActive

imnodes.cpp:2851–2866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2849}
2850
2851bool IsAnyAttributeActive(int* const attribute_id)
2852{
2853 assert((GImNodes->CurrentScope & (ImNodesScope_Node | ImNodesScope_Attribute)) == 0);
2854
2855 if (!GImNodes->ActiveAttribute)
2856 {
2857 return false;
2858 }
2859
2860 if (attribute_id != NULL)
2861 {
2862 *attribute_id = GImNodes->ActiveAttributeId;
2863 }
2864
2865 return true;
2866}
2867
2868bool IsLinkStarted(int* const started_at_id)
2869{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected