32#include "../../Display/Window/display_window.h"
33#include "../../Display/Window/keys.h"
53 class TopLevelWindow_Impl;
76 std::shared_ptr<TopLevelWindow_Impl> impl;
2D Graphics Canvas
Definition: canvas.h:72
Display window description class.
Definition: display_window_description.h:50
Top-level window class.
Definition: display_window.h:101
2D (x,y) point structure - Float
Definition: point.h:72
Definition: top_level_window.h:56
TopLevelWindow(const DisplayWindowDescription &desc)
void show(WindowShowType type=WindowShowType::show)
void immediate_update()
Immediately redraws the window.
Pointf screen_to_client_pos(const Pointf &pos) override
Map from screen to client coordinates.
DisplayWindow display_window() override
Canvas canvas() const override
Gets the current canvas used to render.
Pointf client_to_screen_pos(const Pointf &pos) override
Map from client to screen coordinates.
void set_needs_render() override
Signals that the root view needs to be rendered again.
friend class TopLevelWindow_Impl
Definition: top_level_window.h:78
Base class for managing a tree of views.
Definition: view_tree.h:42
WindowShowType
Definition: top_level_window.h:38