blob: e73083cdbf12f9c5cce1228f9e5586481f0f0527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Page.hpp"
namespace gsr {
class StaticPage : public Page {
public:
StaticPage(mgl::vec2f size);
StaticPage(const StaticPage&) = delete;
StaticPage& operator=(const StaticPage&) = delete;
bool on_event(mgl::Event &event, mgl::Window &window, mgl::vec2f offset) override;
void draw(mgl::Window &window, mgl::vec2f offset) override;
mgl::vec2f get_size() override;
private:
mgl::vec2f size;
};
}
|