| 5819 | } |
| 5820 | |
| 5821 | void StyleColorsAuto(ImPlotStyle* dst) { |
| 5822 | ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle(); |
| 5823 | ImVec4* colors = style->Colors; |
| 5824 | |
| 5825 | style->MinorAlpha = 0.25f; |
| 5826 | |
| 5827 | colors[ImPlotCol_FrameBg] = IMPLOT_AUTO_COL; |
| 5828 | colors[ImPlotCol_PlotBg] = IMPLOT_AUTO_COL; |
| 5829 | colors[ImPlotCol_PlotBorder] = IMPLOT_AUTO_COL; |
| 5830 | colors[ImPlotCol_LegendBg] = IMPLOT_AUTO_COL; |
| 5831 | colors[ImPlotCol_LegendBorder] = IMPLOT_AUTO_COL; |
| 5832 | colors[ImPlotCol_LegendText] = IMPLOT_AUTO_COL; |
| 5833 | colors[ImPlotCol_TitleText] = IMPLOT_AUTO_COL; |
| 5834 | colors[ImPlotCol_InlayText] = IMPLOT_AUTO_COL; |
| 5835 | colors[ImPlotCol_PlotBorder] = IMPLOT_AUTO_COL; |
| 5836 | colors[ImPlotCol_AxisText] = IMPLOT_AUTO_COL; |
| 5837 | colors[ImPlotCol_AxisGrid] = IMPLOT_AUTO_COL; |
| 5838 | colors[ImPlotCol_AxisTick] = IMPLOT_AUTO_COL; |
| 5839 | colors[ImPlotCol_AxisBg] = IMPLOT_AUTO_COL; |
| 5840 | colors[ImPlotCol_AxisBgHovered] = IMPLOT_AUTO_COL; |
| 5841 | colors[ImPlotCol_AxisBgActive] = IMPLOT_AUTO_COL; |
| 5842 | colors[ImPlotCol_Selection] = IMPLOT_AUTO_COL; |
| 5843 | colors[ImPlotCol_Crosshairs] = IMPLOT_AUTO_COL; |
| 5844 | } |
| 5845 | |
| 5846 | void StyleColorsClassic(ImPlotStyle* dst) { |
| 5847 | ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle(); |
no outgoing calls
no test coverage detected