| 1615 | } |
| 1616 | |
| 1617 | void UpdateAxisColors(ImPlotAxis& axis) { |
| 1618 | const ImVec4 col_grid = GetStyleColorVec4(ImPlotCol_AxisGrid); |
| 1619 | axis.ColorMaj = ImGui::GetColorU32(col_grid); |
| 1620 | axis.ColorMin = ImGui::GetColorU32(col_grid*ImVec4(1,1,1,GImPlot->Style.MinorAlpha)); |
| 1621 | axis.ColorTick = GetStyleColorU32(ImPlotCol_AxisTick); |
| 1622 | axis.ColorTxt = GetStyleColorU32(ImPlotCol_AxisText); |
| 1623 | axis.ColorBg = GetStyleColorU32(ImPlotCol_AxisBg); |
| 1624 | axis.ColorHov = GetStyleColorU32(ImPlotCol_AxisBgHovered); |
| 1625 | axis.ColorAct = GetStyleColorU32(ImPlotCol_AxisBgActive); |
| 1626 | // axis.ColorHiLi = IM_COL32_BLACK_TRANS; |
| 1627 | } |
| 1628 | |
| 1629 | void PadAndDatumAxesX(ImPlotPlot& plot, float& pad_T, float& pad_B, ImPlotAlignmentData* align) { |
| 1630 |
no test coverage detected