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
ImGuiClipboard.h File Reference

Production ClipboardInterface implementation backed by ImGui's clipboard functions (ImGui::GetClipboardText / SetClipboardText). More...

#include <string>
#include <string_view>
#include "donner/editor/ClipboardInterface.h"
Include dependency graph for ImGuiClipboard.h:

Classes

class  donner::editor::ImGuiClipboard
 ClipboardInterface implementation that routes through ImGui's built-in clipboard. More...

Namespaces

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

Detailed Description

Production ClipboardInterface implementation backed by ImGui's clipboard functions (ImGui::GetClipboardText / SetClipboardText).

This file is the ONLY place in the editor that is permitted to touch ImGui::Clipboard APIs - it is the isolation point that lets TextEditorCore stay headless-testable. Any other consumer should depend on ClipboardInterface, not on ImGui directly.