#pragma once #include "Element.h" #include "game/atlas/asset/AtlasTexture.h" namespace Gui { /** * A simple box element that may have background and/or children. */ class BoxElement: public Element { public: using Element::Element; virtual void updateElement() override; protected: optional curBg; optional tex; }; }