diff options
| author | Leifa <26681464+TrickyLeifa@users.noreply.github.com> | 2024-06-22 05:00:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-21 22:00:28 -0500 |
| commit | 4043d97257a386e251ffd83e2db6de562661fa9b (patch) | |
| tree | a84a8b47cf3210492c11721f19f1741734095e2d /src/datatypes.h | |
| parent | 6c6e46f6fc9d488d9c0a619de7ae8e19541e4cf7 (diff) | |
Fix background scaling and centering (#982)
Fix #978
Diffstat (limited to 'src/datatypes.h')
| -rw-r--r-- | src/datatypes.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/datatypes.h b/src/datatypes.h index ac9c6462..97fa8c70 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -3,6 +3,8 @@ #include <QMap> #include <QString> +#include <optional> + enum ServerConnectionType { TcpServerConnection, @@ -37,6 +39,14 @@ struct EvidenceItem QString image; }; +class BackgroundPosition +{ +public: + QString background; + QString desk; + std::optional<int> origin; +}; + struct pos_size_type { int x = 0; |
