]> git.sesse.net Git - movit/blobdiff - widgets.h
Move the widgets into its own source file.
[movit] / widgets.h
diff --git a/widgets.h b/widgets.h
new file mode 100644 (file)
index 0000000..9ae00cf
--- /dev/null
+++ b/widgets.h
@@ -0,0 +1,9 @@
+#ifndef _WIDGETS_H
+#define _WIDGETS_H 1
+
+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)