21#ifndef GF_VIEW_CONTAINER_H
22#define GF_VIEW_CONTAINER_H
26#include "GraphicsApi.h"
31#ifndef DOXYGEN_SHOULD_SKIP_THIS
93 [[deprecated(
"You should use setInitialFramebufferSize() instead")]]
95 setInitialFramebufferSize(screenSize);
98 std::vector<Ref<AdaptativeView>> m_views;
101#ifndef DOXYGEN_SHOULD_SKIP_THIS
Adaptative view.
Definition: View.h:390
A container of views.
Definition: ViewContainer.h:52
void setInitialFramebufferSize(Vector2i framebufferSize)
Set the initial framebuffer size.
void setInitialScreenSize(Vector2i screenSize)
Set the initial screen size.
Definition: ViewContainer.h:94
void processEvent(const Event &event)
Update the views thanks to the event.
void addView(AdaptativeView &view)
Add a view to the container.
void onFramebufferSizeChange(Vector2i framebufferSize)
Update the views with the new framebuffer size.
@ Event
An event is pending on the sockets.
The namespace for gf classes.
Defines a system event and its parameters.
Definition: Event.h:224