Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::KeyHelpModifier Struct Reference

Owning sparse native help presentation stage. More...

#include <ui_dialogs.hpp>

Public Attributes

ControlKeyFormatSettings formatter {}
 Sparse owning formatter leaves.
std::optional< std::string > empty {}
 Optional literal empty presentation.
std::optional< std::string > unavailable {}
 Optional literal unavailable presentation.

Friends

template<class T>
requires (std::same_as<T, HelpView> || std::same_as<T, KeyHints>)
Description< T > operator| (Description< T > &&description, KeyHelpModifier modifier)

Detailed Description

Owning sparse native help presentation stage.

◆ operator|

template<class T>
requires (std::same_as<T, HelpView> || std::same_as<T, KeyHints>)
Description< T > operator| ( Description< T > && description,
KeyHelpModifier modifier )
friend
Template Parameters
TExact native help presentation type.
Parameters
descriptionConsumed recipe.
modifierOwning sparse patch.
Returns
Recipe staging the same checked leaves as its methods.

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