What the adapter does for the editor's context. More...
#include <contract_editor_session.hpp>
Public Attributes | |
| std::function< bool(const EditorSize &)> | request_resize |
| Ask the host to resize its window to size. | |
| std::function< bool(const HostActionRequest &)> | host_action |
| Take a host action. Null declines every action. | |
What the adapter does for the editor's context.
| std::function<bool(const HostActionRequest&)> pulp::format::ContractEditorSession::HostHooks::host_action |
Take a host action. Null declines every action.
| std::function<bool(const EditorSize&)> pulp::format::ContractEditorSession::HostHooks::request_resize |
Ask the host to resize its window to size.
True when it accepted. Null: the host cannot resize.