Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fonts ¶
type Fonts struct { TitleFace text.Face PageListEntryFace text.Face RegularFace text.Face HeadingFace text.Face MonospaceFace text.Face }
type UIResources ¶
type UIResources struct { Fonts *Fonts BGImage *eui_image.NineSlice TitleBarBGImage *eui_image.NineSlice LabelColor *widget.LabelColor PageListScrollContainerImage *widget.ScrollContainerImage PageListEntryColor *widget.ListEntryColor ButtonImage *widget.ButtonImage ButtonTextColor *widget.ButtonTextColor DangerButtonImage *widget.ButtonImage DangerButtonTextColor *widget.ButtonTextColor TextAreaScrollContainerImage *widget.ScrollContainerImage ScrollSliderTrackImage *widget.SliderTrackImage ScrollButtonImage *widget.ButtonImage TooltipBGImage *eui_image.NineSlice ListSliderTrackImage *widget.SliderTrackImage ListScrollContainerImage *widget.ScrollContainerImage ListEntryColor *widget.ListEntryColor SliderTrackImage *widget.SliderTrackImage SeparatorImage *eui_image.NineSlice CheckboxGraphic *widget.CheckboxGraphicImage CheckboxButtonImage *widget.ButtonImage TextInputImage *widget.TextInputImage TextInputColor *widget.TextInputColor }
var UIRes *UIResources
UIRes is the main UIResources instance.
func NewUIResources ¶
func NewUIResources(fsys fs.FS) (*UIResources, error)
NewUIResources creates a new UIResources.
Click to show internal directories.
Click to hide internal directories.