Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
modifiers.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_UI_MODIFIERS_HPP_
2#define IV_SRC_UI_MODIFIERS_HPP_
3
4#include "core/color.hpp"
5#include "core/types.hpp"
6#include "ui/enums.hpp"
7
8#include <optional>
9#include <string>
10
11namespace iv::ui
12{
13
15{
18 std::optional<iv::types::color> textColor {};
19 std::optional<iv::types::radian> textAngle {};
20 std::optional<std::string> textFont {};
21
22 std::optional<iv::types::coord> offsetX {};
23 std::optional<iv::types::coord> offsetY {};
24
27
28 bool operator==(const TextModifier &b) const = default;
29};
30
31}// namespace iv::ui
32
33#endif//IV_SRC_UI_MODIFIERS_HPP_
double height
Definition types.hpp:14
Definition enums.hpp:5
eAnchorPoint
Definition enums.hpp:8
eTextStyle
Definition enums.hpp:27
eTextWeight
Definition enums.hpp:21
Definition modifiers.hpp:15
iv::ui::eTextStyle textStyle
Definition modifiers.hpp:26
iv::ui::eAnchorPoint textAnchor
Definition modifiers.hpp:17
std::optional< std::string > textFont
Definition modifiers.hpp:20
std::optional< iv::types::color > textColor
Definition modifiers.hpp:18
std::optional< iv::types::coord > offsetY
Definition modifiers.hpp:23
iv::ui::eTextWeight textWeight
Definition modifiers.hpp:25
std::optional< iv::types::radian > textAngle
Definition modifiers.hpp:19
iv::types::height textHeight
Definition modifiers.hpp:16
std::optional< iv::types::coord > offsetX
Definition modifiers.hpp:22
bool operator==(const TextModifier &b) const =default