1 #ifndef BLOBS_UI_PANEL_HPP_
2 #define BLOBS_UI_PANEL_HPP_
27 // panel takes ownership
30 Panel &Background(const glm::vec4 &);
31 Panel &Padding(const glm::vec2 &);
32 Panel &Spacing(float);
33 Panel &Direction(Dir);
35 glm::vec2 Size() override;
37 void Draw(app::Assets &, graphics::Viewport &) noexcept override;
40 std::vector<std::unique_ptr<Widget>> widgets;