| 1653 | } |
| 1654 | |
| 1655 | void UpdateAxisColors(ImPlotAxis& axis) { |
| 1656 | const ImVec4 col_grid = GetStyleColorVec4(ImPlotCol_AxisGrid); |
| 1657 | axis.ColorMaj = ImGui::GetColorU32(col_grid); |
| 1658 | axis.ColorMin = ImGui::GetColorU32(col_grid*ImVec4(1,1,1,GImPlot->Style.MinorAlpha)); |
| 1659 | axis.ColorTick = GetStyleColorU32(ImPlotCol_AxisTick); |
| 1660 | axis.ColorTxt = GetStyleColorU32(ImPlotCol_AxisText); |
| 1661 | axis.ColorBg = GetStyleColorU32(ImPlotCol_AxisBg); |
| 1662 | axis.ColorHov = GetStyleColorU32(ImPlotCol_AxisBgHovered); |
| 1663 | axis.ColorAct = GetStyleColorU32(ImPlotCol_AxisBgActive); |
| 1664 | // axis.ColorHiLi = IM_COL32_BLACK_TRANS; |
| 1665 | } |
| 1666 | |
| 1667 | void PadAndDatumAxesX(ImPlotPlot& plot, float& pad_T, float& pad_B, ImPlotAlignmentData* align) { |
| 1668 |
no test coverage detected