summaryrefslogtreecommitdiff
path: root/include/SSVOpenHexagon/Global/Imgui.hpp
blob: b7c4394e54b21704369ba1b0887c71a45bb9029b (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 {

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

} // namespace hg::Imgui