|
HikoGUI
A low latency retained GUI
|
Public Types | |
| using | notifier_type = notifier<> |
| using | callback_token = notifier_type::callback_token |
| using | callback_proto = notifier_type::callback_proto |
Static Public Member Functions | |
| static std::vector< language_tag > | language_tags () noexcept |
| Get the language tags for the configured languages. | |
| static language_tag | language_tag () noexcept |
| Get the primary language_tag. | |
| static bool | left_to_right () noexcept |
| Check if the configured writing direction is left-to-right. | |
| static bool | right_to_left () noexcept |
| Check if the configured writing direction is right-to-left. | |
| static hi::theme_mode | theme_mode () noexcept |
| Get the configured light/dark theme mode. | |
| static hi::subpixel_orientation | subpixel_orientation () noexcept |
| Get the configured light/dark theme mode. | |
| static bool | uniform_HDR () noexcept |
| Whether SDR and HDR application can coexists on the same display. | |
| static std::chrono::milliseconds | double_click_interval () noexcept |
| Get the mouse double click interval. | |
| static float | double_click_distance () noexcept |
| Get the distance from the previous mouse position to detect double click. | |
| static std::chrono::milliseconds | keyboard_repeat_delay () noexcept |
| Get the delay before the keyboard starts repeating. | |
| static std::chrono::milliseconds | keyboard_repeat_interval () noexcept |
| Get the keyboard repeat interval. | |
| static std::chrono::milliseconds | cursor_blink_delay () noexcept |
| Get the cursor blink delay. | |
| static std::chrono::milliseconds | cursor_blink_interval () noexcept |
| Get the cursor blink interval. | |
| static float | minimum_window_width () noexcept |
| The minimum width a window is allowed to be. | |
| static float | minimum_window_height () noexcept |
| The minimum height a window is allowed to be. | |
| static float | maximum_window_width () noexcept |
| The maximum width a window is allowed to be. | |
| static float | maximum_window_height () noexcept |
| The maximum height a window is allowed to be. | |
| static aarectangle | primary_monitor_rectangle () noexcept |
| Get the rectangle of the primary monitor. | |
| static uintptr_t | primary_monitor_id () noexcept |
| Get an opaque id of the primary monitor. | |
| static aarectangle | desktop_rectangle () noexcept |
| Get the rectangle describing the desktop. | |
| static void | gather () noexcept |
| Gather the settings from the operating system now. | |
| static callback_token | subscribe (forward_of< callback_proto > auto &&callback, callback_flags flags=callback_flags::synchronous) noexcept |
| static bool | start_subsystem () noexcept |
| Get the global os_settings instance. | |
|
inlinestaticnoexcept |
Get the cursor blink delay.
|
inlinestaticnoexcept |
Get the cursor blink interval.
std::chrono::milliseconds::max() when blinking is turned off.
|
inlinestaticnoexcept |
Get the rectangle describing the desktop.
Get the distance from the previous mouse position to detect double click.
|
inlinestaticnoexcept |
Get the mouse double click interval.
Gather the settings from the operating system now.
|
inlinestaticnoexcept |
Get the delay before the keyboard starts repeating.
|
inlinestaticnoexcept |
Get the keyboard repeat interval.
|
inlinestaticnoexcept |
Get the primary language_tag.
|
inlinestaticnoexcept |
Get the language tags for the configured languages.
Check if the configured writing direction is left-to-right.
| true | If the writing direction is left-to-right. |
The maximum height a window is allowed to be.
The maximum width a window is allowed to be.
The minimum height a window is allowed to be.
The minimum width a window is allowed to be.
|
inlinestaticnoexcept |
Get an opaque id of the primary monitor.
|
inlinestaticnoexcept |
Get the rectangle of the primary monitor.
Check if the configured writing direction is right-to-left.
| true | If the writing direction is right-to-left. |
Get the global os_settings instance.
|
inlinestaticnoexcept |
Get the configured light/dark theme mode.
|
inlinestaticnoexcept |
Get the configured light/dark theme mode.
Whether SDR and HDR application can coexists on the same display.
Microsoft Windows 10 and at least early versions of Windows 11 will have set this to false, because if an application opens a HDR surface it will switch the display mode to HDR, this switching may cause a significant change in color and brightness of the display, including other (SDR) applications that where already running. This would be surprising for most users and we can not expect users to have calibrated colors to match HDR with SDR.