| 5844 | } |
| 5845 | |
| 5846 | void StyleColorsClassic(ImPlotStyle* dst) { |
| 5847 | ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle(); |
| 5848 | ImVec4* colors = style->Colors; |
| 5849 | |
| 5850 | style->MinorAlpha = 0.5f; |
| 5851 | |
| 5852 | colors[ImPlotCol_FrameBg] = ImVec4(0.43f, 0.43f, 0.43f, 0.39f); |
| 5853 | colors[ImPlotCol_PlotBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.35f); |
| 5854 | colors[ImPlotCol_PlotBorder] = ImVec4(0.50f, 0.50f, 0.50f, 0.50f); |
| 5855 | colors[ImPlotCol_LegendBg] = ImVec4(0.11f, 0.11f, 0.14f, 0.92f); |
| 5856 | colors[ImPlotCol_LegendBorder] = ImVec4(0.50f, 0.50f, 0.50f, 0.50f); |
| 5857 | colors[ImPlotCol_LegendText] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); |
| 5858 | colors[ImPlotCol_TitleText] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); |
| 5859 | colors[ImPlotCol_InlayText] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); |
| 5860 | colors[ImPlotCol_AxisText] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); |
| 5861 | colors[ImPlotCol_AxisGrid] = ImVec4(0.90f, 0.90f, 0.90f, 0.25f); |
| 5862 | colors[ImPlotCol_AxisTick] = IMPLOT_AUTO_COL; // TODO |
| 5863 | colors[ImPlotCol_AxisBg] = IMPLOT_AUTO_COL; // TODO |
| 5864 | colors[ImPlotCol_AxisBgHovered] = IMPLOT_AUTO_COL; // TODO |
| 5865 | colors[ImPlotCol_AxisBgActive] = IMPLOT_AUTO_COL; // TODO |
| 5866 | colors[ImPlotCol_Selection] = ImVec4(0.97f, 0.97f, 0.39f, 1.00f); |
| 5867 | colors[ImPlotCol_Crosshairs] = ImVec4(0.50f, 0.50f, 0.50f, 0.75f); |
| 5868 | } |
| 5869 | |
| 5870 | void StyleColorsDark(ImPlotStyle* dst) { |
| 5871 | ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle(); |
no test coverage detected