Nix (Dev)
3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
representationsStructs.hpp
Go to the documentation of this file.
1
#ifndef IV_SRC_UI_REPRESENTATIONSSTRUCTS_HPP_
2
#define IV_SRC_UI_REPRESENTATIONSSTRUCTS_HPP_
3
4
#include "
math/structs.hpp
"
5
#include "ui/enums.hpp"
6
7
namespace
iv::ui
8
{
9
10
struct
TextPosition
11
{
12
iv::math::geometry::Point2d
position
;
13
iv::ui::eAnchorPoint
anchorPoint
;
14
};
15
16
struct
AlarmStateRepresentation
17
{
18
std::optional<iv::types::color>
color
{std::nullopt};
19
20
bool
isBlinking
{
false
};
21
std::optional<iv::types::color>
blinkingColor
{std::nullopt};
22
};
23
24
}
// namespace iv::ui
25
26
#endif
//IV_SRC_UI_REPRESENTATIONSSTRUCTS_HPP_
structs.hpp
iv::ui
Definition
enums.hpp:5
iv::ui::eAnchorPoint
eAnchorPoint
Definition
enums.hpp:8
iv::math::geometry::Point2d
Definition
structs.hpp:16
iv::ui::AlarmStateRepresentation
Definition
representationsStructs.hpp:17
iv::ui::AlarmStateRepresentation::blinkingColor
std::optional< iv::types::color > blinkingColor
Definition
representationsStructs.hpp:21
iv::ui::AlarmStateRepresentation::color
std::optional< iv::types::color > color
Definition
representationsStructs.hpp:18
iv::ui::AlarmStateRepresentation::isBlinking
bool isBlinking
Definition
representationsStructs.hpp:20
iv::ui::TextPosition
Definition
representationsStructs.hpp:11
iv::ui::TextPosition::position
iv::math::geometry::Point2d position
Definition
representationsStructs.hpp:12
iv::ui::TextPosition::anchorPoint
iv::ui::eAnchorPoint anchorPoint
Definition
representationsStructs.hpp:13
src
ui
representationsStructs.hpp
Generated by
1.12.0