mirror of
https://github.com/gwm17/implot.git
synced 2025-01-31 03:18:51 -05:00
Update implot.h
This commit is contained in:
parent
a16b509d84
commit
b95b23fec8
2
implot.h
2
implot.h
|
@ -303,7 +303,7 @@ void SetColormap(ImPlotColormap colormap, int samples = 0);
|
||||||
void SetColormap(const ImVec4* colors, int num_colors);
|
void SetColormap(const ImVec4* colors, int num_colors);
|
||||||
// Returns the size of the current colormap
|
// Returns the size of the current colormap
|
||||||
int GetColormapSize();
|
int GetColormapSize();
|
||||||
// Returns a color from the Color map given an index > 0 (modulo will be performed)
|
// Returns a color from the Color map given an index >= 0 (modulo will be performed)
|
||||||
ImVec4 GetColormapColor(int index);
|
ImVec4 GetColormapColor(int index);
|
||||||
// Linearly interpolates a color from the current colormap given t between 0 and 1.
|
// Linearly interpolates a color from the current colormap given t between 0 and 1.
|
||||||
ImVec4 LerpColormap(float t);
|
ImVec4 LerpColormap(float t);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user