|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
What a Backend is made with beside its engine and host item. More...
#include <backend.hpp>
Public Attributes | |
| Components * | components = nullptr |
| The restyle map and the custom components; null renders every kind with its MorphUi component and loads no custom component. Borrowed: it outlives the backend. | |
| std::function< void(std::string const &widthClass)> | onWidthClass |
| Called with the host item's width class (widthClassOf) once at construction and again each time the class changes, not on every resize; empty calls nothing. | |
What a Backend is made with beside its engine and host item.
Definition at line 35 of file backend.hpp.
| Components* morph::qt_quick::BackendOptions::components = nullptr |
The restyle map and the custom components; null renders every kind with its MorphUi component and loads no custom component. Borrowed: it outlives the backend.
Definition at line 38 of file backend.hpp.
| std::function<void(std::string const& widthClass)> morph::qt_quick::BackendOptions::onWidthClass |
Called with the host item's width class (widthClassOf) once at construction and again each time the class changes, not on every resize; empty calls nothing.
Definition at line 41 of file backend.hpp.