]> git.sesse.net Git - movit/blobdiff - widgets.cpp
Move everything into “namespace movit”.
[movit] / widgets.cpp
index 1c7313669f0c1211044bc5a4ee6407d85ddf8691..3bf53c77e428530dc5b731f33460077b35db2f27 100644 (file)
@@ -6,6 +6,8 @@
 
 #define HSV_WHEEL_SIZE 128
 
+namespace movit {
+
 GLuint hsv_wheel_num;
 
 void draw_hsv_wheel(float y, float rad, float theta, float value)
@@ -155,3 +157,5 @@ void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value)
        }
 }
 
+
+}  // namespace movit