| 65 | } |
| 66 | |
| 67 | bool ToggleButtonFlags(const char* label, ImU32* state, ImU32 bit, const ImVec2& size_arg, ImGuiButtonFlags flags) |
| 68 | { |
| 69 | bool boolState = ((*state) & bit) != 0; |
| 70 | |
| 71 | bool result = ToggleButton(label, &boolState, size_arg, flags); |
| 72 | |
| 73 | if (boolState) |
| 74 | *state |= bit; |
| 75 | else |
| 76 | *state &= ~bit; |
| 77 | |
| 78 | return result; |
| 79 | } |
| 80 | |
| 81 | void TooltipMarker(const char* desc) |
| 82 | { |
no test coverage detected