| 4589 | } |
| 4590 | |
| 4591 | ImVec4 SampleColormap(float t, ImPlotColormap cmap) { |
| 4592 | return ImGui::ColorConvertU32ToFloat4(SampleColormapU32(t,cmap)); |
| 4593 | } |
| 4594 | |
| 4595 | void RenderColorBar(const ImU32* colors, int size, ImDrawList& DrawList, const ImRect& bounds, bool vert, bool reversed, bool continuous) { |
| 4596 | const int n = continuous ? size - 1 : size; |
no test coverage detected