aboutsummaryrefslogtreecommitdiff
path: root/game/menus/FloatingWindowSubScene.h
blob: 7b9de9619e0292bcc95d80f9c287547ccfd64e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <crepe/api/Scene.h>
#include <crepe/types.h>

class FloatingWindowSubScene {
public:
	struct Data {
		const std::string group_tag = "";
		float width = 200;
		crepe::vec2 offset = {0, 0};
		float width_middle_offset = 0;
	};

public:
	void create(crepe::Scene & scn, const Data & data);
};