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

#include <crepe/types.h>
#include <crepe/api/Scene.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);
};