31 #include "../View/root_view.h"
32 #include "../../Display/Window/display_window.h"
33 #include "../../Display/Window/keys.h"
53 class WindowView_Impl;
78 std::shared_ptr<WindowView_Impl> impl;
WindowView(const DisplayWindowDescription &desc)
Pointf root_from_screen_pos(const Pointf &pos) override
Map from screen to local content coordinates.
DisplayWindow get_display_window()
2D (x,y) point structure - Float
Definition: point.h:73
void set_root_hidden(bool value) override
Hides a view from layout and rendering.
void set_root_needs_render() override
Signals this view needs to be rendered again.
Definition: window_view.h:56
2D Graphics Canvas
Definition: canvas.h:73
Base class for views participating as a root view in the user interface.
Definition: root_view.h:38
Pointf root_to_screen_pos(const Pointf &pos) override
Map from local content to screen coordinates.
Display window description class.
Definition: display_window_description.h:63
void show(WindowShowType type=WindowShowType::show)
Canvas get_root_canvas() const override
bool root_hidden() const override
Test if view is set to hidden.
friend class WindowView_Impl
Definition: window_view.h:80
WindowShowType
Definition: window_view.h:38
Top-level window class.
Definition: display_window.h:102
void layout_local() override
Layout local root.