blob: 47aa02bc6527258ac71723dc6618a5fa4f64c9e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "Widget.hpp"
#include <vector>
#include <memory>
namespace gsr {
class Page : public Widget {
public:
Page() = default;
Page(const Page&) = delete;
Page& operator=(const Page&) = delete;
virtual ~Page() = default;
//void remove_child_widget(Widget *widget) override;
void add_widget(std::unique_ptr<Widget> widget);
protected:
std::vector<std::unique_ptr<Widget>> widgets;
};
}
|