bartext

package
v0.0.0-...-c572586 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextControl

type TextControl struct {
	*sdlgui.Control
	// contains filtered or unexported fields
}

func New

func New(x, y, z int, wx, wy int, s string, font *sdlgui.Font) *TextControl

func (*TextControl) DrawSurface

func (tc *TextControl) DrawSurface()

func (*TextControl) MouseButton

func (tc *TextControl) MouseButton(x, y int, btnnum uint8, btnstate uint8)

func (*TextControl) MouseOver

func (tc *TextControl) MouseOver(x, y int, btnstate uint32)

func (*TextControl) SetAlign

func (tc *TextControl) SetAlign(align uint8)

func (*TextControl) SetBG

func (tc *TextControl) SetBG(bg htmlcolors.RGBA)

func (*TextControl) SetBar

func (tc *TextControl) SetBar(bar float64)

func (*TextControl) SetBarText

func (tc *TextControl) SetBarText(bar float64, format string, a ...interface{})

func (*TextControl) SetFG

func (tc *TextControl) SetFG(fg htmlcolors.RGBA)

func (*TextControl) SetFGBG

func (tc *TextControl) SetFGBG(fg, bg htmlcolors.RGBA)

func (*TextControl) SetFGBGText

func (tc *TextControl) SetFGBGText(fg, bg htmlcolors.RGBA, format string, a ...interface{})

func (*TextControl) SetText

func (tc *TextControl) SetText(format string, a ...interface{})

Jump to

Keyboard shortcuts

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