]> git.sesse.net Git - movit/blob - widgets.h
Be more consistent about how we handle textures and bouncing; either bounce them...
[movit] / widgets.h
1 #ifndef _WIDGETS_H
2 #define _WIDGETS_H 1
3
4 // Some simple UI widgets for test use.
5
6 void draw_hsv_wheel(float y, float rad, float theta, float value);
7 void draw_saturation_bar(float y, float saturation);
8 void make_hsv_wheel_texture();
9 void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value);
10
11 #endif // !defined(_WIDGETS_H)