HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
gfx_system_globals.hpp
1// Distributed under the Boost Software License, Version 1.0.
2// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
3
4#pragma once
5
6#include "../utility/utility.hpp"
7#include "../concurrency/concurrency.hpp"
8#include "../macros.hpp"
9
10hi_export_module(hikogui.GUI : gfx_system_globals);
11
12namespace hi::inline v1 {
13
14class gfx_system;
15
18inline unfair_recursive_mutex gfx_system_mutex;
19
20} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:16
unfair_recursive_mutex gfx_system_mutex
Global mutex for GUI elements, like gfx_system, gfx_device, Windows and Widgets.
Definition gfx_system_globals.hpp:18
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377