#include <hikogui/GUI/gui_system.hpp>
◆ init()
Initialize after construction.
Call this function directly after the constructor on the same thread.
◆ make_unique()
Make a gui_system instance.
This will instantiate a gui_system instance appropriate for the current operating system.
- Parameters
-
| delegate | An optional delegate. |
- Returns
- A unique pointer to a gui_system instance.
◆ make_window()
template<std::derived_from< widget_intf > Widget, typename... Args>
Create a new window.
- Template Parameters
-
| Widget | The type of widget to create to manage the window. |
- Parameters
-
| args | The arguments that are forwarded to the constructor of the managing widget that is created. |
- Returns
- A owning pointer to the new window. releasing the pointer will close the window.
◆ make_window_with_widget()
Create a new window with the specified managing widget.
- Parameters
-
| widget | The widget that manages the window. |
- Returns
- A owning pointer to the new window. releasing the pointer will close the window.
◆ request_reconstrain()
| void v1::gui_system::request_reconstrain |
( |
| ) |
|
|
noexcept |
Request all windows to constrain.
◆ selected_theme
The name of the selected theme.
The documentation for this class was generated from the following file: