|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
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. | |
| std::optional< std::string > | documentName |
| Display name used for the title when no file path is set (e.g. the name of the built-in sample currently open). Ignored when filePath is set. | |
| bool | edited = false |
| Whether the document has unsaved changes. | |
Inputs to the window title / chrome derivation.
| std::optional<std::string> donner::editor::WindowChromeState::documentName |
Display name used for the title when no file path is set (e.g. the name of the built-in sample currently open). Ignored when filePath is set.
| bool donner::editor::WindowChromeState::edited = false |
Whether the document has unsaved changes.
| std::optional<std::string> donner::editor::WindowChromeState::filePath |
Path of the open document, or std::nullopt for an untitled buffer.