#ifndef WIDGET_HPP #define WIDGET_HPP #include struct Widget { public: int x; int y; unsigned width; unsigned height; Widget() = delete; virtual void render(); protected: sf::RenderWindow &_window; Widget(sf::RenderWindow &window) : _window(window) {} }; #endif