Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Interpolate ¶
Interpolate returns all the points hit by the line connecting points a and b. The interpolated points are returned in random order. The returned points excludes a (beginning) and includes b (ending).
Types ¶
type Component ¶
type Component interface { InBoundary(sdl.Point) bool Render() Destroy() OnEnter() OnLeave() OnMotion(*sdl.MouseMotionEvent) bool OnScroll(*sdl.MouseWheelEvent) bool OnClick(*sdl.MouseButtonEvent) bool OnResize(x, y int32) fmt.Stringer }
Component describes which functions a UI component must implement
Click to show internal directories.
Click to hide internal directories.