eui

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

エンティティと関わらない、ebiten UIを組み合わせた基本的なパーツを提供するパッケージ。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseRowLayoutOpts added in v1.55.0

func BaseRowLayoutOpts() []widget.RowLayoutOpt

func LoadButtonImage

func LoadButtonImage() *widget.ButtonImage

TODO: いい感じにしたい

func LoadFont

func LoadFont(world w.World) *text.Face

TODO: いい感じにしたい

func NewBodyText

func NewBodyText(title string, color color.RGBA, world w.World) *widget.Text

func NewButton added in v1.58.0

func NewButton(text string, world w.World, opts ...widget.ButtonOpt) *widget.Button

func NewItemGridContainer

func NewItemGridContainer(opts ...widget.ContainerOpt) *widget.Container

アイテム系メニューのRootとなる3x3のグリッドコンテナ

func NewList added in v1.52.0

func NewList(entries []any, listOpts []euiext.ListOpt, world w.World) *euiext.List

func NewMenuText

func NewMenuText(title string, world w.World) *widget.Text

func NewRowContainer

func NewRowContainer(opts ...widget.ContainerOpt) *widget.Container

汎用的なrowコンテナ

func NewSmallWindow

func NewSmallWindow(title *widget.Container, content *widget.Container) *widget.Window

ウィンドウ

func NewVSplitContainer added in v1.22.0

func NewVSplitContainer(top *widget.Container, bottom *widget.Container, opts ...widget.ContainerOpt) *widget.Container

縦分割コンテナ

func NewVerticalContainer added in v1.19.0

func NewVerticalContainer(opts ...widget.ContainerOpt) *widget.Container

中身が縦並びのコンテナ

func NewWSplitContainer added in v1.28.0

func NewWSplitContainer(right *widget.Container, left *widget.Container, opts ...widget.ContainerOpt) *widget.Container

横分割コンテナ

func NewWindowContainer

func NewWindowContainer(world w.World) *widget.Container

ウィンドウの本体

func NewWindowHeaderContainer

func NewWindowHeaderContainer(title string, world w.World) *widget.Container

ウィンドウのヘッダー

Types

This section is empty.

Jump to

Keyboard shortcuts

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