yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::EditorContextSnapshot Struct Reference

#include <editor_context_snapshot.h>

Collaboration diagram for yaze::editor::EditorContextSnapshot:

Public Member Functions

bool empty () const
 
bool HasCapability (const std::string &capability) const
 

Public Attributes

std::string category
 
std::string title
 
std::string subtitle
 
std::string semantic_owner
 
std::vector< EditorContextValue > metadata
 
std::vector< EditorContextValue > counts
 
std::vector< EditorContextDiagnostic > diagnostics
 
std::vector< EditorContextAction > actions
 
std::vector< std::string > capabilities
 
EditorExperimentContext experiment
 
bool has_pending_changes = false
 
std::string pending_label
 

Detailed Description

Pure semantic snapshot shared by shell surfaces and automation.

Editors own the meaning of the values. Consumers own presentation and dispatch stable action targets; no ImGui state or callbacks live here.

Definition at line 56 of file editor_context_snapshot.h.

Member Function Documentation

◆ empty()

bool yaze::editor::EditorContextSnapshot::empty ( ) const
inline

Definition at line 70 of file editor_context_snapshot.h.

References actions, counts, diagnostics, metadata, subtitle, and title.

◆ HasCapability()

bool yaze::editor::EditorContextSnapshot::HasCapability ( const std::string & capability) const
inline

Member Data Documentation

◆ category

◆ title

◆ subtitle

◆ semantic_owner

◆ metadata

◆ counts

◆ diagnostics

◆ actions

◆ capabilities

std::vector<std::string> yaze::editor::EditorContextSnapshot::capabilities

◆ experiment

◆ has_pending_changes

◆ pending_label


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