X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.h;h=ddf997ccc3323c55264d86afbee0a73001555a74;hp=18a833493ba19cd4fa43f937d539bc6a63110077;hb=8e9f58fec54a4c879035b214fd7411f6ff7b3a32;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/widgets.h b/widgets.h index 18a8334..ddf997c 100644 --- a/widgets.h +++ b/widgets.h @@ -3,9 +3,14 @@ // 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 init_hsv_resources(); +void cleanup_hsv_resources(); void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value); +} // namespace movit + #endif // !defined(_MOVIT_WIDGETS_H)