Documentation ¶
Overview ¶
Package palettegrideditorwidget provides a giu widget implementation of a palette editor, for viewing and editing a palette.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaletteGridEditorWidget ¶
type PaletteGridEditorWidget struct {
// contains filtered or unexported fields
}
PaletteGridEditorWidget represents a palette grid editor
func Create ¶
func Create(state []byte, id string, colors *[]palettegridwidget.PaletteColor) *PaletteGridEditorWidget
Create creates a new palette grid editor widget
func (*PaletteGridEditorWidget) Build ¶
func (p *PaletteGridEditorWidget) Build()
Build Builds a widget
func (*PaletteGridEditorWidget) OnChange ¶
func (p *PaletteGridEditorWidget) OnChange(onChange func()) *PaletteGridEditorWidget
OnChange sets on change callback this callback is ran, when editor's slider or field gets change
Click to show internal directories.
Click to hide internal directories.