Lines Matching defs:button_flags
2677 ImGuiButtonFlags button_flags = ImGuiButtonFlags_Repeat | ImGuiButtonFlags_DontClosePopups;
2679 button_flags |= ImGuiButtonFlags_Disabled;
2681 if (ButtonEx("-", ImVec2(button_size, button_size), button_flags))
2687 if (ButtonEx("+", ImVec2(button_size, button_size), button_flags))
4818 ImGuiButtonFlags button_flags = ImGuiButtonFlags_NoKeyModifiers;
4820 button_flags |= ImGuiButtonFlags_AllowItemOverlap;
4822 button_flags |= ImGuiButtonFlags_PressedOnDoubleClick | ((flags & ImGuiTreeNodeFlags_OpenOnArrow) ? ImGuiButtonFlags_PressedOnClickRelease : 0);
4824 button_flags |= ImGuiButtonFlags_PressedOnDragDropHold;
4828 bool pressed = ButtonBehavior(interact_bb, id, &hovered, &held, button_flags);
5067 ImGuiButtonFlags button_flags = 0;
5068 if (flags & ImGuiSelectableFlags_NoHoldingActiveID) button_flags |= ImGuiButtonFlags_NoHoldingActiveID;
5069 if (flags & ImGuiSelectableFlags_PressedOnClick) button_flags |= ImGuiButtonFlags_PressedOnClick;
5070 if (flags & ImGuiSelectableFlags_PressedOnRelease) button_flags |= ImGuiButtonFlags_PressedOnRelease;
5071 if (flags & ImGuiSelectableFlags_Disabled) button_flags |= ImGuiButtonFlags_Disabled;
5072 if (flags & ImGuiSelectableFlags_AllowDoubleClick) button_flags |= ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnDoubleClick;
5077 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags);
6450 ImGuiButtonFlags button_flags = (ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_AllowItemOverlap);
6452 button_flags |= ImGuiButtonFlags_PressedOnDragDropHold;
6454 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags);