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

#include <time.h>
#include <string>
#include <SFML/System/Vector2.hpp>

namespace QuickMedia {
    void show_virtual_keyboard();
    void hide_virtual_keyboard();
    bool is_touch_enabled();
    bool is_running_wayland();
    time_t iso_utc_to_unix_time(const char *time_str);
    std::string unix_time_to_local_time_str(time_t unix_time);

    sf::Vector2f vec2f_floor(float x, float y);
}