7#include "gui_window.hpp"
8#include "gui_window_win32.hpp"
9#include "gui_system_delegate.hpp"
10#include "../unicode/unicode_bidi_class.hpp"
11#include "../GFX/gfx_device.hpp"
12#include "../thread.hpp"
13#include "../unfair_recursive_mutex.hpp"
14#include "../observer.hpp"
21namespace hi::inline
v1 {
26class keyboard_bindings;
39 thread_id
const thread_id;
65 virtual void init() noexcept
67 if (
auto delegate = _delegate.lock()) {
68 delegate->init(*
this);
72 virtual void deinit() noexcept
74 if (
auto delegate = _delegate.lock()) {
75 delegate->deinit(*
this);
91 template<
typename... Args>
97 auto window = std::make_shared<gui_window_win32>(*
this, std::forward<Args>(args)...);
121 hi::theme
const *_theme =
nullptr;
#define hi_axiom(expression)
Specify an axiom; an expression that is true.
Definition assert.hpp:133
DOXYGEN BUG.
Definition algorithm.hpp:15
void * os_handle
Minimum offset between two objects to avoid false sharing.
Definition architecture.hpp:247
The HikoGUI namespace.
Definition ascii.hpp:19
Graphics system.
Definition gfx_system.hpp:21
Graphics system.
Definition gui_system.hpp:30
std::shared_ptr< gui_window > make_window(Args &&...args)
Create a new window.
Definition gui_system.hpp:92
static std::unique_ptr< gui_system > make_unique(std::weak_ptr< gui_system_delegate > delegate={}) noexcept
Make a gui_system instance.
virtual void init() noexcept
Initialize after construction.
Definition gui_system.hpp:65
void request_reconstrain() noexcept
Request all windows to constrain.
Definition gui_system_delegate.hpp:12
Definition keyboard_bindings.hpp:17
theme_book keeps track of multiple themes.
Definition theme_book.hpp:20
A observer pointing to the whole or part of a observable.
Definition observer.hpp:23
font_book keeps track of multiple fonts.
Definition font_book.hpp:31