summaryrefslogtreecommitdiff
path: root/src/config/shared/Types.hpp
blob: 098afed3ab43fd612920c773b6db08c7ccf29aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "../../helpers/math/Math.hpp"

#include <string>

namespace Config {
    class ICustomConfigValueData;

    // LEGACY: remove when hyprlang gone
    struct SVec2 {
        float x = 0, y = 0;
    };

    typedef bool                    BOOL;
    typedef int64_t                 INTEGER;
    typedef float                   FLOAT;
    typedef SVec2                   VEC2;
    typedef std::string             STRING;
    typedef ICustomConfigValueData* COMPLEX;
};