| 2975 | } |
| 2976 | |
| 2977 | void StyleColorsLight(ImPlot3DStyle* dst) { |
| 2978 | ImPlot3DStyle* style = dst ? dst : &ImPlot3D::GetStyle(); |
| 2979 | ImVec4* colors = style->Colors; |
| 2980 | |
| 2981 | colors[ImPlot3DCol_TitleText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f); |
| 2982 | colors[ImPlot3DCol_InlayText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f); |
| 2983 | colors[ImPlot3DCol_FrameBg] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); |
| 2984 | colors[ImPlot3DCol_PlotBg] = ImVec4(0.42f, 0.57f, 1.00f, 0.13f); |
| 2985 | colors[ImPlot3DCol_PlotBorder] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); |
| 2986 | colors[ImPlot3DCol_LegendBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.98f); |
| 2987 | colors[ImPlot3DCol_LegendBorder] = ImVec4(0.82f, 0.82f, 0.82f, 0.80f); |
| 2988 | colors[ImPlot3DCol_LegendText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f); |
| 2989 | colors[ImPlot3DCol_AxisText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f); |
| 2990 | colors[ImPlot3DCol_AxisGrid] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); |
| 2991 | colors[ImPlot3DCol_AxisTick] = IMPLOT3D_AUTO_COL; |
| 2992 | colors[ImPlot3DCol_AxisBg] = IMPLOT3D_AUTO_COL; |
| 2993 | colors[ImPlot3DCol_AxisBgHovered] = IMPLOT3D_AUTO_COL; |
| 2994 | colors[ImPlot3DCol_AxisBgActive] = IMPLOT3D_AUTO_COL; |
| 2995 | } |
| 2996 | |
| 2997 | void StyleColorsClassic(ImPlot3DStyle* dst) { |
| 2998 | ImPlot3DStyle* style = dst ? dst : &ImPlot3D::GetStyle(); |