]> git.sesse.net Git - movit/blobdiff - widgets.h
In ResampleEffect, precompute the Lanczos function into a table.
[movit] / widgets.h
index d7c3c5e8f27d500ab392dbf02b07b402d0b9e799..eb89a743642dfb4e1d03f91a2ff7f8e86005d3df 100644 (file)
--- a/widgets.h
+++ b/widgets.h
@@ -1,11 +1,15 @@
-#ifndef _WIDGETS_H
-#define _WIDGETS_H 1
+#ifndef _MOVIT_WIDGETS_H
+#define _MOVIT_WIDGETS_H 1
 
 // 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);
 
-#endif // !defined(_WIDGETS_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_WIDGETS_H)