| 2837 | } |
| 2838 | |
| 2839 | bool IsAttributeActive() |
| 2840 | { |
| 2841 | assert((GImNodes->CurrentScope & ImNodesScope_Node) != 0); |
| 2842 | |
| 2843 | if (!GImNodes->ActiveAttribute) |
| 2844 | { |
| 2845 | return false; |
| 2846 | } |
| 2847 | |
| 2848 | return GImNodes->ActiveAttributeId == GImNodes->CurrentAttributeId; |
| 2849 | } |
| 2850 | |
| 2851 | bool IsAnyAttributeActive(int* const attribute_id) |
| 2852 | { |
nothing calls this directly
no outgoing calls
no test coverage detected