X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.h;h=18a833493ba19cd4fa43f937d539bc6a63110077;hp=9ae00cf1494f39b550f2f3a03fe6412da967dff7;hb=1f1da18ac6acec9e16e66441160b3949173f1db3;hpb=0ba76f4df40e2f9847fbecfca631a34c20bf07f4 diff --git a/widgets.h b/widgets.h index 9ae00cf..18a8334 100644 --- a/widgets.h +++ b/widgets.h @@ -1,9 +1,11 @@ -#ifndef _WIDGETS_H -#define _WIDGETS_H 1 +#ifndef _MOVIT_WIDGETS_H +#define _MOVIT_WIDGETS_H 1 + +// Some simple UI widgets for test use. void draw_hsv_wheel(float y, float rad, float theta, float value); void draw_saturation_bar(float y, float saturation); void make_hsv_wheel_texture(); void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value); -#endif // !defined(_WIDGETS_H) +#endif // !defined(_MOVIT_WIDGETS_H)