Class IZagalaSpecDocumentRowRenderer#

Inheritance Relationships#

Derived Type#

Class Documentation#

class IZagalaSpecDocumentRowRenderer#

Creates the widget that shows the content of one document row (the segments of the row).

The document view adds the indentation and the selection highlight around the content, so renderers only draw the text. Renderers are registered per row type in a FZagalaSpecDocumentRowRendererRegistry.

Subclassed by FZagalaSpecDefaultRowRenderer

Public Functions

virtual ~IZagalaSpecDocumentRowRenderer() = default#
virtual TSharedRef<SWidget> CreateRowContent(const FZagalaSpecDocumentRow &Row) const = 0#

Creates the content widget of a row.

Parameters:

Row – The row to draw.

Returns:

The widget to show in the document view.