| 4661 | } |
| 4662 | |
| 4663 | ImVec4 SampleColormap(float t, ImPlotColormap cmap) { |
| 4664 | return ImGui::ColorConvertU32ToFloat4(SampleColormapU32(t,cmap)); |
| 4665 | } |
| 4666 | |
| 4667 | void RenderColorBar(const ImU32* colors, int size, ImDrawList& DrawList, const ImRect& bounds, bool vert, bool reversed, bool continuous) { |
| 4668 | const int n = continuous ? size - 1 : size; |
no test coverage detected