NcEngine
UIPosition.h
1
#pragma once
2
3
#include "
ncmath/Vector.h
"
4
5
namespace
nc::ui
6
{
7
enum class
UIPosition
8
{
9
TopLeft,
10
TopCenter,
11
TopRight,
12
LeftCenter,
13
Center,
14
RightCenter,
15
BottomLeft,
16
BottomCenter,
17
BottomRight
18
};
19
20
namespace
utils
21
{
22
Vector2 GetTopLeftCoords(UIPosition position,
const
Vector2& screenDimensions,
const
Vector2& elementDimensions);
23
}
24
}
Vector.h
include
ncengine
ui
UIPosition.h
Generated by
1.9.4