Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::WindowChromeState Struct Reference

Inputs to the window title / chrome derivation. More...

#include "donner/editor/NativeWindowChrome.h"

Public Attributes

std::optional< std::string > filePath
 Path of the open document, or std::nullopt for an untitled buffer.
bool edited = false
 Whether the document has unsaved changes.

Detailed Description

Inputs to the window title / chrome derivation.

Member Data Documentation

◆ edited

bool donner::editor::WindowChromeState::edited = false

Whether the document has unsaved changes.

◆ filePath

std::optional<std::string> donner::editor::WindowChromeState::filePath

Path of the open document, or std::nullopt for an untitled buffer.


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