summaryrefslogtreecommitdiff
path: root/kurator/src/markers.h
blob: f390ff6e08baa8a32a561aa8c205c3ccd1233e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <string>

#include <raylib.h>

#include <kurator/engine/Point.h>
#include <kurator/sim/State.h>


namespace kurator
{


struct Marker
{
	engine::Point screen;
	double radius;
	Color color;
	std::string name;
	bool hovered = false;
};


void attach_markers(sim::State& ctx);
void update_markers(sim::State& ctx);
void draw_markers(const sim::State& ctx);


}  // namespace kurator