summaryrefslogtreecommitdiff
path: root/include/SSVOpenHexagon/Global/Imgui.hpp
blob: 0dc9289bb9b1b0cbc91e9c7aaea44d1328494c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2013-2020 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: https://opensource.org/licenses/AFL-3.0

#pragma once

namespace sf {
class Event;
class RenderTarget;
class RenderWindow;
} // namespace sf

namespace hg::Imgui {

[[nodiscard]] bool initialize(sf::RenderWindow&);
void shutdown();
[[nodiscard]] bool wantCaptureKeyboard();
[[nodiscard]] bool wantCaptureMouse();
void processEvent(const sf::Event&);
void render(sf::RenderTarget& renderTarget);

} // namespace hg::Imgui