X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.h;h=ddf997ccc3323c55264d86afbee0a73001555a74;hp=eb89a743642dfb4e1d03f91a2ff7f8e86005d3df;hb=919101c59390dbbe380af7cc77102819e515a632;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/widgets.h b/widgets.h index eb89a74..ddf997c 100644 --- a/widgets.h +++ b/widgets.h @@ -7,7 +7,8 @@ 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