Documentation
¶
Index ¶
- Constants
- type App
- type Backend
- type Rect
- func (ws Rect) AddWidget(gw gyro.Widget)
- func (r *Rect) Border() int
- func (r *Rect) BorderColor() gyro.Color
- func (r *Rect) Bottom() int
- func (r *Rect) Color() gyro.Color
- func (r *Rect) Height() int
- func (r *Rect) Radius() int
- func (r *Rect) Right() int
- func (r *Rect) SetBorder(b int)
- func (r *Rect) SetBorderColor(c gyro.Color)
- func (r *Rect) SetColor(c gyro.Color)
- func (r *Rect) SetHeight(h int)
- func (r *Rect) SetRadius(rr int)
- func (r *Rect) SetWidth(w int)
- func (r *Rect) SetX(x int)
- func (r *Rect) SetY(y int)
- func (r *Rect) Width() int
- func (r *Rect) X() int
- func (r *Rect) Y() int
- type Window
Constants ¶
View Source
const (
FPS = time.Second / 30 // TODO: make this configurable through NewApp(opts)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type Rect ¶
type Rect struct {
// contains filtered or unexported fields
}
func (*Rect) BorderColor ¶
func (*Rect) SetBorderColor ¶
Click to show internal directories.
Click to hide internal directories.