morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::WizardChrome Struct Reference

Replacements for the parts of a wizard view a host draws from its own UI kit. Each one left empty keeps the built-in part. More...

#include <wizard_view.hpp>

Public Attributes

std::function< ui::Node(WizardSession &)> header
 Replaces the title and the step indicator. Called once with the session, whose title, current, stepCount and stepTitle it reads.
std::function< ui::Node(WizardSession &)> nav
 Replaces Back and Next. Called once with the session, whose canBack, canNext, onLastStep, back and next are the same gates and moves the built-in buttons use.

Detailed Description

Replacements for the parts of a wizard view a host draws from its own UI kit. Each one left empty keeps the built-in part.

Definition at line 27 of file wizard_view.hpp.

Member Data Documentation

◆ header

std::function<ui::Node(WizardSession&)> morph::forms::WizardChrome::header

Replaces the title and the step indicator. Called once with the session, whose title, current, stepCount and stepTitle it reads.

Definition at line 30 of file wizard_view.hpp.

◆ nav

std::function<ui::Node(WizardSession&)> morph::forms::WizardChrome::nav

Replaces Back and Next. Called once with the session, whose canBack, canNext, onLastStep, back and next are the same gates and moves the built-in buttons use.

Definition at line 33 of file wizard_view.hpp.


The documentation for this struct was generated from the following file: