MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / StyleColorsLight

Function StyleColorsLight

Source/3rdParty/implot/implot.cpp:5894–5916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5892}
5893
5894void StyleColorsLight(ImPlotStyle* dst) {
5895 ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle();
5896 ImVec4* colors = style->Colors;
5897
5898 style->MinorAlpha = 1.0f;
5899
5900 colors[ImPlotCol_FrameBg] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
5901 colors[ImPlotCol_PlotBg] = ImVec4(0.42f, 0.57f, 1.00f, 0.13f);
5902 colors[ImPlotCol_PlotBorder] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
5903 colors[ImPlotCol_LegendBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.98f);
5904 colors[ImPlotCol_LegendBorder] = ImVec4(0.82f, 0.82f, 0.82f, 0.80f);
5905 colors[ImPlotCol_LegendText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
5906 colors[ImPlotCol_TitleText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
5907 colors[ImPlotCol_InlayText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
5908 colors[ImPlotCol_AxisText] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
5909 colors[ImPlotCol_AxisGrid] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
5910 colors[ImPlotCol_AxisTick] = ImVec4(0.00f, 0.00f, 0.00f, 0.25f);
5911 colors[ImPlotCol_AxisBg] = IMPLOT_AUTO_COL; // TODO
5912 colors[ImPlotCol_AxisBgHovered] = IMPLOT_AUTO_COL; // TODO
5913 colors[ImPlotCol_AxisBgActive] = IMPLOT_AUTO_COL; // TODO
5914 colors[ImPlotCol_Selection] = ImVec4(0.82f, 0.64f, 0.03f, 1.00f);
5915 colors[ImPlotCol_Crosshairs] = ImVec4(0.00f, 0.00f, 0.00f, 0.50f);
5916}
5917
5918//-----------------------------------------------------------------------------
5919// [SECTION] Obsolete Functions/Types

Callers 2

ShowStyleSelectorMethod · 0.85
ShowStyleSelectorFunction · 0.85

Calls 1

ImVec4Class · 0.85

Tested by

no test coverage detected