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 "../utility/module.hpp"
13#include "../observer.hpp"
20namespace hi::inline
v1 {
24class keyboard_bindings;
30 static inline os_handle instance;
36 thread_id
const thread_id;
62 virtual void init() noexcept
64 if (
auto delegate = _delegate.lock()) {
65 delegate->init(*
this);
69 virtual void deinit() noexcept
71 if (
auto delegate = _delegate.lock()) {
72 delegate->deinit(*
this);
88 template<
typename... Args>
94 auto window = std::make_shared<gui_window_win32>(*
this, std::forward<Args>(args)...);
117 hi::theme
const *_theme =
nullptr;
#define hi_axiom(expression,...)
Specify an axiom; an expression that is true.
Definition assert.hpp:238
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
Graphics system.
Definition gfx_system.hpp:20
Graphics system.
Definition gui_system.hpp:28
std::shared_ptr< gui_window > make_window(Args &&...args)
Create a new window.
Definition gui_system.hpp:89
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:62
void request_reconstrain() noexcept
Request all windows to constrain.
Definition gui_system_delegate.hpp:12
Definition keyboard_bindings.hpp:16
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:22