mirror of
https://github.com/gwm17/implot.git
synced 2024-11-23 10:48:52 -05:00
Update implot.cpp
This commit is contained in:
parent
37ee2d4c54
commit
9894df4934
|
@ -3496,7 +3496,7 @@ void ShowColormapScale(double scale_min, double scale_max, float height) {
|
||||||
|
|
||||||
void SetColormap(ImPlotColormap colormap, int samples) {
|
void SetColormap(ImPlotColormap colormap, int samples) {
|
||||||
static int csizes[ImPlotColormap_COUNT] = {10,9,9,12,11,11,11,11,11,11};
|
static int csizes[ImPlotColormap_COUNT] = {10,9,9,12,11,11,11,11,11,11};
|
||||||
static OffsetCalculator<ImPlotCol_COUNT> coffs(csizes);
|
static OffsetCalculator<ImPlotColormap_COUNT> coffs(csizes);
|
||||||
static ImVec4 cdata[] = {
|
static ImVec4 cdata[] = {
|
||||||
// ImPlotColormap_Default // X11 Named Colors
|
// ImPlotColormap_Default // X11 Named Colors
|
||||||
ImVec4(0.0f, 0.7490196228f, 1.0f, 1.0f), // Blues::DeepSkyBlue,
|
ImVec4(0.0f, 0.7490196228f, 1.0f, 1.0f), // Blues::DeepSkyBlue,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user