Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::SamplePickerState Struct Reference

Application state consumed when presenting the sample picker. More...

#include "donner/editor/SamplePickerPresenter.h"

Public Attributes

bool visible = true
 The host can hide the welcome surface while a document-specific surface is active.
std::string_view selectedSampleId
 Stable catalog ID of the currently selected sample, if any.
bool loading = false
 A selected sample is loading while the current document remains intact.
std::string_view error
 Bounded user-facing delivery failure, independent of SVG parsing diagnostics.

Detailed Description

Application state consumed when presenting the sample picker.

Member Data Documentation

◆ error

std::string_view donner::editor::SamplePickerState::error

Bounded user-facing delivery failure, independent of SVG parsing diagnostics.

◆ loading

bool donner::editor::SamplePickerState::loading = false

A selected sample is loading while the current document remains intact.

◆ selectedSampleId

std::string_view donner::editor::SamplePickerState::selectedSampleId

Stable catalog ID of the currently selected sample, if any.

◆ visible

bool donner::editor::SamplePickerState::visible = true

The host can hide the welcome surface while a document-specific surface is active.


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