// Luanti // SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2013 celeron55, Perttu Ahola #pragma once #include #include #include class GUIBox : public gui::IGUIElement { public: GUIBox(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect &rectangle, const std::array &colors, const std::array &bordercolors, const std::array &borderwidths); virtual void draw() override; private: std::array m_colors; std::array m_bordercolors; std::array m_borderwidths; };