Documentation ¶
Index ¶
- type Border
- func (b *Border) Active()
- func (b *Border) ApplyRect(config *WinConfig, rect xrect.Rect, f int) xrect.Rect
- func (b *Border) Attention()
- func (b *Border) Bottom(config *WinConfig) int
- func (b *Border) Destroy()
- func (b *Border) HeightNeeded(config *WinConfig) int
- func (b *Border) InActive()
- func (b *Border) Left(config *WinConfig) int
- func (b *Border) Right(config *WinConfig) int
- func (b *Border) Top(config *WinConfig) int
- func (b *Border) WidthNeeded(config *WinConfig) int
- type BorderConfig
- type Decoration
- type Decorations
- func (d *Decorations) Active()
- func (d *Decorations) ApplyRect(config *WinConfig, rect xrect.Rect, f int) xrect.Rect
- func (d *Decorations) Attention()
- func (d *Decorations) Bottom(config *WinConfig) int
- func (d *Decorations) Destroy()
- func (d *Decorations) HeightNeeded(config *WinConfig) int
- func (d *Decorations) InActive()
- func (d *Decorations) Left(config *WinConfig) int
- func (d *Decorations) Right(config *WinConfig) int
- func (d *Decorations) Top(config *WinConfig) int
- func (d *Decorations) WidthNeeded(config *WinConfig) int
- type Position
- type WinConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Border ¶
type Border struct {
// contains filtered or unexported fields
}
func (*Border) HeightNeeded ¶
func (*Border) WidthNeeded ¶
type BorderConfig ¶
type Decoration ¶
type Decoration interface { ApplyRect(config *WinConfig, rect xrect.Rect, f int) xrect.Rect WidthNeeded(config *WinConfig) int HeightNeeded(config *WinConfig) int Left(config *WinConfig) int Right(config *WinConfig) int Top(config *WinConfig) int Bottom(config *WinConfig) int Active() InActive() Attention() Destroy() }
func CreateBorder ¶
func CreateBorder(parent *xwindow.Window, position Position, config *BorderConfig) Decoration
type Decorations ¶
type Decorations []Decoration
func (*Decorations) Active ¶
func (d *Decorations) Active()
func (*Decorations) Attention ¶
func (d *Decorations) Attention()
func (*Decorations) Bottom ¶
func (d *Decorations) Bottom(config *WinConfig) int
func (*Decorations) Destroy ¶
func (d *Decorations) Destroy()
func (*Decorations) HeightNeeded ¶
func (d *Decorations) HeightNeeded(config *WinConfig) int
func (*Decorations) InActive ¶
func (d *Decorations) InActive()
func (*Decorations) Left ¶
func (d *Decorations) Left(config *WinConfig) int
func (*Decorations) Right ¶
func (d *Decorations) Right(config *WinConfig) int
func (*Decorations) Top ¶
func (d *Decorations) Top(config *WinConfig) int
func (*Decorations) WidthNeeded ¶
func (d *Decorations) WidthNeeded(config *WinConfig) int
Click to show internal directories.
Click to hide internal directories.