| 4581 | } |
| 4582 | |
| 4583 | ImVec4 SampleColormap(float t, ImPlotColormap cmap) { |
| 4584 | return ImGui::ColorConvertU32ToFloat4(SampleColormapU32(t,cmap)); |
| 4585 | } |
| 4586 | |
| 4587 | void RenderColorBar(const ImU32* colors, int size, ImDrawList& DrawList, const ImRect& bounds, bool vert, bool reversed, bool continuous) { |
| 4588 | const int n = continuous ? size - 1 : size; |
no test coverage detected