]> git.sesse.net Git - movit/blob - widgets.h
Squash linear gamma back into the sRGB curve at the end.
[movit] / widgets.h
1 #ifndef _WIDGETS_H
2 #define _WIDGETS_H 1
3
4 void draw_hsv_wheel(float y, float rad, float theta, float value);
5 void draw_saturation_bar(float y, float saturation);
6 void make_hsv_wheel_texture();
7 void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value);
8
9 #endif // !defined(_WIDGETS_H)