renderers

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: ISC Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type HTMLProvider

type HTMLProvider struct {
	// contains filtered or unexported fields
}

func RenderHTML

func RenderHTML(html string, theme *decredmaterial.Theme) *HTMLProvider

func (*HTMLProvider) Layout

func (p *HTMLProvider) Layout(gtx C) D

type MarkdownProvider

type MarkdownProvider struct {
	// contains filtered or unexported fields
}

func RenderMarkdown

func RenderMarkdown(gtx C, theme *decredmaterial.Theme, source string) *MarkdownProvider

func (*MarkdownProvider) Layout

func (p *MarkdownProvider) Layout() ([]layout.Widget, map[string]*widget.Clickable)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL