sandbox
Loading...
Searching...
No Matches
panel.hpp
1// SPDX-License-Identifier: MIT
2#ifndef LIBSBX_UI_PANEL_HPP_
3#define LIBSBX_UI_PANEL_HPP_
4
5#include <libsbx/ui/element.hpp>
6
7namespace sbx::ui {
8
9class panel : public element {
10
11public:
12
13 panel() = default;
14
15 ~panel() override = default;
16
17protected:
18
19 auto submit(const math::vector2& screen_size) -> void override;
20
21}; // class panel
22
23} // namespace sbx::ui
24
25#endif // LIBSBX_UI_PANEL_HPP_
A vector in two-dimensional space.
Definition: vector2.hpp:28
Definition: element.hpp:22
Definition: panel.hpp:9