Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeftRightCenter ¶
type LeftRightCenter struct{}
func (*LeftRightCenter) Layout ¶
func (l *LeftRightCenter) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
func (*LeftRightCenter) MinSize ¶
func (l *LeftRightCenter) MinSize(objects []fyne.CanvasObject) fyne.Size
type MinSizeLayout ¶
type MinSizeLayout struct {
// contains filtered or unexported fields
}
func (*MinSizeLayout) Layout ¶
func (l *MinSizeLayout) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
func (*MinSizeLayout) MinSize ¶
func (l *MinSizeLayout) MinSize(objects []fyne.CanvasObject) fyne.Size
type SliderWithLabel ¶
func NewSliderWithLabel ¶
func NewSliderWithLabel(label, format string, min, max, step, start float64) SliderWithLabel
func (SliderWithLabel) Container ¶
func (s SliderWithLabel) Container() *fyne.Container
func (SliderWithLabel) Get ¶
func (s SliderWithLabel) Get() (float64, error)
type StringerApp ¶
type StringerApp struct { fyne.App Window fyne.Window FileOpenDialog *dialog.FileDialog FileSaveDialog *dialog.FileDialog Widgets struct { Lines SliderWithLabel Darkness SliderWithLabel Erase SliderWithLabel Resolution SliderWithLabel Pins SliderWithLabel OpenButton *widget.Button RecalculateButton *widget.Button SaveButton *widget.Button ProgressBar *widget.ProgressBar LeftImage *canvas.Image RightImage *canvas.Image } State struct { Calculating bool CancelRecalculation chan struct{} CompletedLines int TargetImages []*image.RGBA ResultImages []*image.RGBA Instructions []int Lengths []float64 } Options struct { ImageDisplaySize int } }
func NewStringerApp ¶
func NewStringerApp() (s *StringerApp)
func (*StringerApp) Cancel ¶
func (s *StringerApp) Cancel()
func (*StringerApp) LinesVariants ¶
func (s *StringerApp) LinesVariants() int
func (*StringerApp) Recalculate ¶
func (s *StringerApp) Recalculate()
func (*StringerApp) ShowAndRun ¶
func (s *StringerApp) ShowAndRun()
Click to show internal directories.
Click to hide internal directories.