|
|
| gui_window_win32 (gui_system &gui, label const &title, std::weak_ptr< delegate_type > delegate={}) noexcept |
| |
| void | create_window (extent2 new_size) override |
| | Let the operating system create the actual window.
|
| |
|
int | windowProc (unsigned int uMsg, uint64_t wParam, int64_t lParam) noexcept |
| |
| 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 | set_size_state (gui_window_size state) noexcept override |
| | Set the size-state of the window.
|
| |
| aarectangle | workspace_rectangle () const noexcept override |
| | The rectangle of the workspace of the screen where the window is currently located.
|
| |
| aarectangle | fullscreen_rectangle () const noexcept override |
| | The rectangle of the screen where the window is currently located.
|
| |
| hi::subpixel_orientation | subpixel_orientation () const noexcept override |
| |
| void | open_system_menu () override |
| | Open the system menu of the window.
|
| |
| void | set_window_size (extent2 extent) override |
| | Ask the operating system to set the size of this window.
|
| |
| 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 (gui_system &gui, label const &title, std::weak_ptr< delegate_type > delegate={}) noexcept |
| |
|
| gui_window (gui_window const &)=delete |
| |
|
gui_window & | operator= (gui_window const &)=delete |
| |
|
| gui_window (gui_window &&)=delete |
| |
|
gui_window & | operator= (gui_window &&)=delete |
| |
| virtual void | init () |
| | 2 phase constructor.
|
| |
| bool | is_gui_thread () const noexcept |
| | Check if the current thread is the same as the gui_system loop.
|
| |
|
void | set_device (gfx_device *device) noexcept |
| |
| hi::keyboard_bindings const & | keyboard_bindings () const noexcept |
| | Get the keyboard binding.
|
| |
| void | request_redraw (aarectangle redraw_rectangle) noexcept |
| | Request a rectangle on the window to be redrawn.
|
| |
| void | request_redraw () noexcept |
| | Request a rectangle on the window to be redrawn.
|
| |
|
void | request_relayout () noexcept |
| |
|
void | request_reconstrain () noexcept |
| |
|
void | request_resize () noexcept |
| |
| virtual void | render (utc_nanoseconds displayTimePoint) |
| | Update window.
|
| |
| grid_widget & | content () noexcept |
| | Get a reference to the window's content widget.
|
| |
| toolbar_widget & | toolbar () noexcept |
| | Get a reference to window's toolbar widget.
|
| |
|
void | set_resize_border_priority (bool left, bool right, bool bottom, bool top) noexcept |
| |
| gui_window_size | size_state () const noexcept |
| | Get the size-state of the window.
|
| |
|
void | update_mouse_target (hi::widget const *new_target_widget, point2 position={}) noexcept |
| |
| void | update_keyboard_target (hi::widget const *widget, keyboard_focus_group group=keyboard_focus_group::normal) noexcept |
| | Change the keyboard focus to the given widget.
|
| |
| void | update_keyboard_target (hi::widget const *widget, keyboard_focus_group group, keyboard_focus_direction direction) noexcept |
| | Change the keyboard focus to the previous or next widget from the given widget.
|
| |
| void | update_keyboard_target (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 |
| |