]> git.sesse.net Git - movit/blob - widgets.h
Fix some invalid code in DeinterlaceTest; GCC 7 would optimize it into simply an...
[movit] / widgets.h
1 #ifndef _MOVIT_WIDGETS_H
2 #define _MOVIT_WIDGETS_H 1
3
4 // Some simple UI widgets for test use.
5
6 namespace movit {
7
8 void draw_hsv_wheel(float y, float rad, float theta, float value);
9 void draw_saturation_bar(float y, float saturation);
10 void init_hsv_resources();
11 void cleanup_hsv_resources();
12 void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value);
13
14 }  // namespace movit
15
16 #endif // !defined(_MOVIT_WIDGETS_H)