Documentation ¶
Index ¶
- type ErrorMsg
- type HueBar
- type MenuFn
- type NavBar
- func (bar *NavBar) Down(int)
- func (bar *NavBar) Draw(x, y int, s tcell.Screen) int
- func (bar *NavBar) Handle(state.Change)
- func (bar *NavBar) Resize(w, h int)
- func (bar *NavBar) SetLabel(s string)
- func (bar *NavBar) SetPointerStyle(st tcell.Style)
- func (bar *NavBar) SetPos(idx int)
- func (bar *NavBar) Up(int)
- type PaletteBox
- type SaturationBar
- type ValueBar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorMsg ¶
type ErrorMsg struct {
// contains filtered or unexported fields
}
func NewErrorMsg ¶
func NewErrorMsg() *ErrorMsg
type HueBar ¶
type HueBar struct {
// contains filtered or unexported fields
}
func (*HueBar) Draw ¶
Draw redraws bar at given coordinates and screen, returning the number of rows occupied
func (*HueBar) SetPointerStyle ¶
type NavBar ¶
type NavBar struct {
// contains filtered or unexported fields
}
func (*NavBar) Draw ¶
Draw redraws bar at given coordinates and screen, returning the number of rows occupied
func (*NavBar) SetPointerStyle ¶
type PaletteBox ¶
type PaletteBox struct {
// contains filtered or unexported fields
}
func NewPaletteBox ¶
func NewPaletteBox(s *state.State) *PaletteBox
func (*PaletteBox) Down ¶
func (pb *PaletteBox) Down(step int)
func (*PaletteBox) Draw ¶
func (pb *PaletteBox) Draw(x, y int, s tcell.Screen) int
Draw redraws p at given coordinates and screen, returning the number of rows occupied
func (*PaletteBox) Handle ¶
func (pb *PaletteBox) Handle(state.Change)
func (*PaletteBox) Resize ¶
func (pb *PaletteBox) Resize(w, h int)
func (*PaletteBox) SetPointerStyle ¶
func (pb *PaletteBox) SetPointerStyle(st tcell.Style)
func (*PaletteBox) Up ¶
func (pb *PaletteBox) Up(step int)
type SaturationBar ¶
type SaturationBar struct { // contains filtered or unexported fields }
func NewSaturationBar ¶
func NewSaturationBar(s *state.State) *SaturationBar
func (*SaturationBar) Down ¶
func (bar *SaturationBar) Down(step int)
func (*SaturationBar) Draw ¶
func (bar *SaturationBar) Draw(x, y int, s tcell.Screen) int
Draw redraws bar at given coordinates and screen, returning the number of rows occupied
func (*SaturationBar) Handle ¶
func (bar *SaturationBar) Handle(change state.Change)
State change handler
func (*SaturationBar) Up ¶
func (bar *SaturationBar) Up(step int)
type ValueBar ¶
type ValueBar struct { // contains filtered or unexported fields }
func NewValueBar ¶
Click to show internal directories.
Click to hide internal directories.