|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| gui_system_win32 (std::unique_ptr< gfx_system > gfx, std::unique_ptr< hi::font_book > font_book, std::unique_ptr< hi::theme_book > theme_book, std::unique_ptr< hi::keyboard_bindings > keyboard_bindings, std::weak_ptr< gui_system_delegate > delegate={}) | |
Public Member Functions inherited from v1::gui_system | |
| gui_system (const gui_system &)=delete | |
| gui_system & | operator= (const gui_system &)=delete |
| gui_system (gui_system &&)=delete | |
| gui_system & | operator= (gui_system &&)=delete |
| virtual void | init () noexcept |
| Initialize after construction. | |
| virtual void | deinit () noexcept |
| void | set_delegate (std::weak_ptr< gui_system_delegate > delegate) noexcept |
| std::shared_ptr< gui_window > | add_window (std::shared_ptr< gui_window > window) |
| template<typename... Args> | |
| std::shared_ptr< gui_window > | make_window (Args &&...args) |
| Create a new window. | |
| bool | is_gui_thread () const noexcept |
| Check if this thread is the same as the gui thread. | |
| void | request_reconstrain () noexcept |
| Request all windows to constrain. | |
Additional Inherited Members | |
Static Public Member Functions inherited from v1::gui_system | |
| static std::unique_ptr< gui_system > | make_unique (std::weak_ptr< gui_system_delegate > delegate={}) noexcept |
| Make a gui_system instance. | |
Data Fields inherited from v1::gui_system | |
| std::unique_ptr< gfx_system > | gfx |
| std::unique_ptr< hi::font_book > | font_book |
| std::unique_ptr< hi::theme_book > | theme_book |
| std::unique_ptr< hi::keyboard_bindings > | keyboard_bindings |
| thread_id const | thread_id |
| unicode_bidi_class | writing_direction = unicode_bidi_class::L |
| The writing direction. | |
| observable< std::string > | selected_theme = "default" |
| The name of the selected theme. | |
Static Public Attributes inherited from v1::gui_system | |
| static os_handle | instance |