Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::SourceDiagnosticsPanel Class Reference

Compact bottom panel presenting source warnings and errors. More...

#include "donner/editor/SourceDiagnosticsPanel.h"

Public Member Functions

SourceDiagnosticsPanelAction render (std::span< const SourceDiagnostic > diagnostics, std::optional< std::uint64_t > sourceHoveredId, float height)
 Draw the diagnostic list and report hover or activation actions.

Detailed Description

Compact bottom panel presenting source warnings and errors.

Member Function Documentation

◆ render()

SourceDiagnosticsPanelAction donner::editor::SourceDiagnosticsPanel::render ( std::span< const SourceDiagnostic > diagnostics,
std::optional< std::uint64_t > sourceHoveredId,
float height )
nodiscard

Draw the diagnostic list and report hover or activation actions.

Parameters
diagnosticsDiagnostics for the displayed source revision.
sourceHoveredIdOptional diagnostic highlighted by source-pane hover.
heightAvailable panel height in logical UI pixels.

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