Documentation
¶
Index ¶
- type TextControl
- func (tc *TextControl) DrawSurface()
- func (tc *TextControl) MouseButton(x, y int, btnnum uint8, btnstate uint8)
- func (tc *TextControl) MouseOver(x, y int, btnstate uint32)
- func (tc *TextControl) SetAlign(align uint8)
- func (tc *TextControl) SetBG(bg htmlcolors.RGBA)
- func (tc *TextControl) SetBar(bar float64)
- func (tc *TextControl) SetBarText(bar float64, format string, a ...interface{})
- func (tc *TextControl) SetFG(fg htmlcolors.RGBA)
- func (tc *TextControl) SetFGBG(fg, bg htmlcolors.RGBA)
- func (tc *TextControl) SetFGBGText(fg, bg htmlcolors.RGBA, format string, a ...interface{})
- func (tc *TextControl) SetText(format string, a ...interface{})
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 (*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{})
Click to show internal directories.
Click to hide internal directories.