#include <hikogui/GUI/gui_system.hpp>
◆ init()
| virtual void v1::gui_system::init |
( |
| ) |
|
|
inlinevirtualnoexcept |
Initialize after construction.
Call this function directly after the constructor on the same thread.
◆ is_gui_thread()
| bool v1::gui_system::is_gui_thread |
( |
| ) |
const |
|
inlinenoexcept |
Check if this thread is the same as the gui 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<typename... Args>
Create a new window.
- Parameters
-
| args | The arguments that are forwarded to the constructor of hi::gui_window_win32. |
- Returns
- A reference to the new window.
◆ request_reconstrain()
| void v1::gui_system::request_reconstrain |
( |
| ) |
|
|
noexcept |
Request all windows to constrain.
◆ selected_theme
The name of the selected theme.
◆ writing_direction
| unicode_bidi_class v1::gui_system::writing_direction = unicode_bidi_class::L |
The writing direction.
The writing direction determines the initial writing direction of paragraphs.
When the value is R the user-interface should flip the horizontal layout, for example a row-layout-widget in flipped-mode should layout children ordered from right to left.
- Note
- The only values allowed are
L and R.
The documentation for this class was generated from the following file: