Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
EditorSampleCatalog.h File Reference
#include <span>
#include <string_view>
#include "donner/base/PackagedResource.h"
Include dependency graph for EditorSampleCatalog.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::editor::EditorSampleSource
 Lazy immutable sample source. Enumerating IDs and titles does not read payload bytes. More...
struct  donner::editor::EditorSample
 One built-in SVG document that can be loaded by editor UI surfaces. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

std::span< const EditorSample > donner::editor::GetEditorSampleCatalog () noexcept
 Return the bounded, ordered set of built-in editor samples.
const EditorSample * donner::editor::FindEditorSample (std::string_view id) noexcept
 Find a built-in sample by its stable ASCII ID, or return nullptr.