![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/GUI/Display.h>
Common base class interface of GUI::Display and DisplayWidget enabling other parts of the framework to access the most basic functionality in a general fashion. More...
Common base class interface of GUI::Display and DisplayWidget enabling other parts of the framework to access the most basic functionality in a general fashion.
Public Member Functions | |
| virtual std::vector< View * > | views () const =0 |
| Returns all views hosted by this display. | |
| virtual DisplayLayout & | layout ()=0 |
| Returns the DisplayLayout determining how views are distributed within the viewport. | |
| virtual GL::Viewport | viewport () const =0 |
| Returns the viewport of this display surface in OpenGL coordinates (origin in lower-left corner). | |
| virtual void | requestUpdate ()=0 |
| Request an update of the rendered display content. | |
|
pure virtual |
Returns all views hosted by this display.
Implemented in ImFusion::GUI::Display.
|
pure virtual |
Returns the DisplayLayout determining how views are distributed within the viewport.
Implemented in ImFusion::GUI::Display.
|
pure virtual |
Returns the viewport of this display surface in OpenGL coordinates (origin in lower-left corner).
Implemented in ImFusion::GUI::Display.
|
pure virtual |
Request an update of the rendered display content.
Subclasses are not required to perform the update immediately but may postpone it to a later point in time (e.g. by using the application's event loop) in order to collect and combine multiple update requests into one.
Implemented in ImFusion::GUI::Display.