32 #include "../Events/activation_change_event.h"
virtual void set_root_needs_render()=0
Signals this view needs to be rendered again.
2D (x,y) point structure - Float
Definition: point.h:73
friend class ViewImpl
Definition: root_view.h:76
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
virtual Pointf root_to_screen_pos(const Pointf &pos)=0
Map from local content to screen coordinates.
void dispatch_activation_change(ActivationChangeType type)
Dispatch activation change event to all views.
View for an area of the user interface.
Definition: view.h:62
virtual Pointf root_from_screen_pos(const Pointf &pos)=0
Map from screen to local content coordinates.
void layout(Canvas &canvas)
Layout root view.
void render(Canvas &canvas)
Renders view into the specified canvas.
virtual void layout_local()=0
Layout local root.
virtual bool root_hidden() const =0
Test if view is set to hidden.
ActivationChangeType
Window activation change.
Definition: activation_change_event.h:37
virtual void set_root_hidden(bool value)=0
Hides a view from layout and rendering.
virtual Canvas get_root_canvas() const =0
friend class PositionedLayout
Definition: root_view.h:77