Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::EditorUiSource Struct Reference

Where the default scripted editor's document comes from. More...

#include <editor_ui.hpp>

Public Member Functions

bool available () const noexcept
bool embedded () const noexcept
std::string label () const
 What log lines call the document.

Public Attributes

std::filesystem::path script_path
 Set when the editor reads this file (and its sibling theme.json) from disk; empty when it evaluates script_source.
std::string script_source
std::string theme_source
std::string script_name
std::vector< view::WidgetBridge::EmbeddedAsset > embedded_assets
 Files embedded beside an embedded script; empty for an on-disk document.

Detailed Description

Where the default scripted editor's document comes from.

Member Function Documentation

◆ available()

bool pulp::format::EditorUiSource::available ( ) const
inlinenoexcept

◆ embedded()

bool pulp::format::EditorUiSource::embedded ( ) const
inlinenoexcept

◆ label()

std::string pulp::format::EditorUiSource::label ( ) const
inline

What log lines call the document.

Member Data Documentation

◆ embedded_assets

std::vector<view::WidgetBridge::EmbeddedAsset> pulp::format::EditorUiSource::embedded_assets

Files embedded beside an embedded script; empty for an on-disk document.

◆ script_name

std::string pulp::format::EditorUiSource::script_name

◆ script_path

std::filesystem::path pulp::format::EditorUiSource::script_path

Set when the editor reads this file (and its sibling theme.json) from disk; empty when it evaluates script_source.

◆ script_source

std::string pulp::format::EditorUiSource::script_source

◆ theme_source

std::string pulp::format::EditorUiSource::theme_source

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/format/include/pulp/format/editor_ui.hpp