|
|
| gui_window_vulkan_win32 (gui_system &system, std::weak_ptr< gui_window_delegate > const &delegate, label const &title) |
| |
|
| gui_window_vulkan_win32 (const gui_window_vulkan_win32 &)=delete |
| |
|
gui_window_vulkan_win32 & | operator= (const gui_window_vulkan_win32 &)=delete |
| |
|
| gui_window_vulkan_win32 (gui_window_vulkan_win32 &&)=delete |
| |
|
gui_window_vulkan_win32 & | operator= (gui_window_vulkan_win32 &&)=delete |
| |
| void | create_window (const std::u8string &title, extent2 extent) override |
| | Let the operating system create the actual window.
|
| |
|
int | windowProc (unsigned int uMsg, uint64_t wParam, int64_t lParam) noexcept |
| |
| vk::SurfaceKHR | getSurface () const override |
| |
| void | set_cursor (mouse_cursor cursor) noexcept override |
| | Set the mouse cursor icon.
|
| |
| void | close_window () override |
| | Ask the operating system to close this window.
|
| |
| void | minimize_window () override |
| | Ask the operating system to minimize this window.
|
| |
| void | maximize_window () override |
| | Ask the operating system to maximize this window.
|
| |
| void | normalize_window () override |
| | Ask the operating system to normalize this window.
|
| |
| void | set_window_size (extent2 extent) override |
| | Ask the operating system to set the size of this window.
|
| |
| extent2 | virtual_screen_size () const noexcept override |
| | Get the size of the virtual-screen.
|
| |
| std::string | get_text_from_clipboard () const noexcept override |
| | Retrieve a text string from the operating system's clip-board.
|
| |
| void | set_text_on_clipboard (std::string str) noexcept override |
| | Place a text string on the operating system's clip-board.
|
| |
|
| gui_window_vulkan (gui_system &system, std::weak_ptr< gui_window_delegate > const &delegate, label const &title) |
| |
|
| gui_window_vulkan (const gui_window_vulkan &)=delete |
| |
|
gui_window_vulkan & | operator= (const gui_window_vulkan &)=delete |
| |
|
| gui_window_vulkan (gui_window_vulkan &&)=delete |
| |
|
gui_window_vulkan & | operator= (gui_window_vulkan &&)=delete |
| |
| void | init () override |
| | 2 phase constructor.
|
| |
|
gui_device_vulkan & | vulkan_device () const noexcept |
| |
| void | render (hires_utc_clock::time_point displayTimePoint) override |
| | Update window.
|
| |
|
| gui_window (gui_system &system, std::weak_ptr< gui_window_delegate > const &delegate, label const &title) |
| |
|
| gui_window (gui_window const &)=delete |
| |
|
gui_window & | operator= (gui_window const &)=delete |
| |
|
| gui_window (gui_window &&)=delete |
| |
|
gui_window & | operator= (gui_window &&)=delete |
| |
| void | request_redraw (aarectangle rectangle) noexcept |
| | Request a rectangle on the window to be redrawn.
|
| |
| void | request_redraw () noexcept |
| | Request a rectangle on the window to be redrawn.
|
| |
| float | fontScale () const noexcept |
| | By how much the font needs to be scaled compared to current windowScale.
|
| |
| void | set_device (gui_device *device) |
| |
| void | unset_device () |
| |
|
gui_device * | device () const noexcept |
| |
| bool | is_closed () |
| | Check if the window was closed by the operating system.
|
| |
| template<typename T , typename... Args> |
| std::shared_ptr< T > | make_widget (size_t column_nr, size_t row_nr, Args &&...args) |
| | Add a widget to main widget of the window.
|
| |
| template<typename T , typename... Args> |
| std::shared_ptr< T > | make_widget (std::string_view address, Args &&...args) |
| | Add a widget to main widget of the window.
|
| |
| template<typename T , horizontal_alignment Alignment = horizontal_alignment::left, typename... Args> |
| std::shared_ptr< T > | make_toolbar_widget (Args &&...args) |
| | Add a widget to main widget of the window.
|
| |
|
void | set_resize_border_priority (bool left, bool right, bool bottom, bool top) noexcept |
| |
|
void | update_mouse_target (std::shared_ptr< tt::widget > new_target_widget, point2 position={}) noexcept |
| |
| void | update_keyboard_target (std::shared_ptr< tt::widget > widget, keyboard_focus_group group=keyboard_focus_group::normal) noexcept |
| | Change the keyboard focus to the given widget.
|
| |
| void | update_keyboard_target (std::shared_ptr< tt::widget > const &widget, keyboard_focus_group group, keyboard_focus_direction direction) noexcept |
| | Change the keyboard focus to the given, previous or next widget.
|
| |
|
translate2 | window_to_screen () const noexcept |
| |
|
translate2 | screen_to_window () const noexcept |
| |