aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Utils.hpp
blob: 6963bc507b61ab91ce95a00a9c479a4b57a7f83e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <mglpp/system/vec.hpp>
#include <mglpp/graphics/Color.hpp>

#include <functional>
#include <string_view>

namespace mgl {
    class Window;
}

namespace gsr {
    // Inner border
    void draw_rectangle_outline(mgl::Window &window, mgl::vec2f pos, mgl::vec2f size, mgl::Color color, float border_size);
    double get_frame_delta_seconds();
    void set_frame_delta_seconds(double frame_delta);
}