Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynaText ¶
type DynaText struct { Color sdl.Color X int32 Y int32 Width int32 Height int32 // contains filtered or unexported fields }
DynaText represents dynamically changing text. The text is broken down into characters and each character is rendered using an existing character atlas. This is a base class for dynamic text.
func NewDynaText ¶
NewDynaText creates a Text object.
type Font ¶
type Font struct {
// contains filtered or unexported fields
}
Font wraps the SDL TTF fonts.
type IViewer ¶
type IViewer interface { // Open(IHost) Open() Run() Close() Quit() Configure() SetFont(fontPath string, size int) }
IViewer is the graph viewer
type Text ¶
Text represents a text texture for rendering.
type Viewer ¶
type Viewer struct {
// contains filtered or unexported fields
}
Viewer is the GUI and shows the plots and graphs. It receives commands for graphing and viewing various graphs.
func (*Viewer) Close ¶
func (v *Viewer) Close()
Close closes the viewer. Be sure to setup a "defer x.Close()"
func (*Viewer) Open ¶
func (v *Viewer) Open()
Open shows the viewer and begins event polling (host deuron.IHost)
func (*Viewer) Quit ¶
func (v *Viewer) Quit()
Quit stops the gui from running, effectively shutting it down.