X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.h;fp=widgets.h;h=eb89a743642dfb4e1d03f91a2ff7f8e86005d3df;hp=18a833493ba19cd4fa43f937d539bc6a63110077;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hpb=0fa51e08f83e0283337216f5b951b3d5a8c0555b diff --git a/widgets.h b/widgets.h index 18a8334..eb89a74 100644 --- a/widgets.h +++ b/widgets.h @@ -3,9 +3,13 @@ // Some simple UI widgets for test use. +namespace movit { + 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); +} // namespace movit + #endif // !defined(_MOVIT_WIDGETS_H)