blob: bcd34e6aac979aaf4eb696b883f90b480efbb3fa (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#pragma once
#include <string>
#include <raylib.h>
#include <kurator/sim/Point.h>
namespace kurator
{
struct Timed
{
double left;
bool scaled = false;
};
struct CenteredText
{
std::string text;
int width;
int font_size;
Color color;
};
struct UIOffset : public sim::Point
{
};
struct PopMove
{
sim::Point speed;
double damp;
};
struct Marker
{
double radius;
Color color;
std::string name;
};
struct Line
{
Color color;
sim::Point start;
sim::Point end;
double hlength;
double duration;
double position = 0.0;
};
struct Cross
{
double phase;
double hlength;
Color color = GRAY;
double timer = 0.0;
};
} // namespace kurator
|