|
|
@ -6014,7 +6014,9 @@ bool ImGui::ArrowButton(ImGuiID id, ImGuiDir dir, ImVec2 padding, ImGuiButtonFla
|
|
|
|
bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
|
|
|
|
bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
|
|
|
|
|
|
|
|
|
|
|
|
const ImU32 col = GetColorU32((hovered && held) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
|
|
|
|
const ImU32 col = GetColorU32((hovered && held) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
|
|
|
|
|
|
|
|
#ifdef IMGUI_HAS_NAV
|
|
|
|
RenderNavHighlight(bb, id);
|
|
|
|
RenderNavHighlight(bb, id);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
|
|
|
|
RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
|
|
|
|
RenderTriangle(bb.Min + padding, dir, 1.0f);
|
|
|
|
RenderTriangle(bb.Min + padding, dir, 1.0f);
|
|
|
|
|
|
|
|
|
|
|
|