#ifndef _WIDGET_H #define _WIDGET_H #include using namespace glm; class UIWidget { public: virtual ~UIWidget(); int getWidth(); int getHeight(); virtual bool draw(int offset) = 0; protected: virtual void calculateSize() = 0; int width, height; }; #endif // _WIDGET_H