X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.cpp;h=3bf53c77e428530dc5b731f33460077b35db2f27;hp=85fa04899697d35602c1a8c25f2b348b512f294a;hb=6b087c6405258efe9761bcf1f2b8a68d1787c372;hpb=ff3557dfa3acba0f10ff0ea3e555ef431bb456ff diff --git a/widgets.cpp b/widgets.cpp index 85fa048..3bf53c7 100644 --- a/widgets.cpp +++ b/widgets.cpp @@ -1,11 +1,13 @@ +#include #include #include "widgets.h" #include "util.h" -#include "opengl.h" #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