Documentation ¶
Index ¶
- func NewButton(res *Resources, text string, onclick func()) *widget.Button
- func NewButtonWithConfig(res *Resources, config ButtonConfig) *widget.Button
- func NewCenteredLabel(text string, ff font.Face) *widget.Text
- func NewCenteredLabelWithMaxWidth(text string, ff font.Face, width float64) *widget.Text
- func NewColoredLabel(text string, ff font.Face, clr color.RGBA, options ...widget.TextOpt) *widget.Text
- func NewGraphic(res *Resources, imageID resource.ImageID) *widget.Graphic
- func NewLabel(text string, ff font.Face, options ...widget.TextOpt) *widget.Text
- func NewPanelWithPadding(res *Resources, minWidth, minHeight int, padding widget.Insets) *widget.Container
- func NewRowLayoutContainerWithMinWidth(minWidth, spacing int, rowscale []bool) *widget.Container
- func NewSelectButton(config SelectButtonConfig) *widget.Button
- func NewSeparator(ld interface{}, clr color.RGBA) widget.PreferredSizeLocateableWidget
- type ButtonConfig
- type Resources
- type SceneObject
- type SelectButtonConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewButtonWithConfig ¶
func NewButtonWithConfig(res *Resources, config ButtonConfig) *widget.Button
func NewColoredLabel ¶
func NewPanelWithPadding ¶
func NewSelectButton ¶
func NewSelectButton(config SelectButtonConfig) *widget.Button
func NewSeparator ¶
func NewSeparator(ld interface{}, clr color.RGBA) widget.PreferredSizeLocateableWidget
Types ¶
type ButtonConfig ¶
type Resources ¶
type Resources struct {
// contains filtered or unexported fields
}
func PrepareResources ¶
type SceneObject ¶
type SceneObject struct {
// contains filtered or unexported fields
}
func NewSceneObject ¶
func NewSceneObject(root *widget.Container) *SceneObject
func (*SceneObject) Draw ¶
func (o *SceneObject) Draw(screen *ebiten.Image)
func (*SceneObject) Init ¶
func (o *SceneObject) Init(scene *ge.Scene)
func (*SceneObject) IsDisposed ¶
func (o *SceneObject) IsDisposed() bool
func (*SceneObject) Update ¶
func (o *SceneObject) Update(delta float64)
Click to show internal directories.
Click to hide internal directories.