src

package
v0.0.0-...-db5c983 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpApplication

type UpApplication struct {
	Config            middle.UpdaterConfig
	MainContainer     *framework.UISlideTransitionContainer
	Window            frenyard.Window
	UpQueued          chan func()
	CachedPrimaryView framework.UILayoutElement
	TeleportSettings  framework.SlideTransition
}

func (*UpApplication) GSDownwards

func (app *UpApplication) GSDownwards()

GSRightwards sets the teleportation affinity to DOWN.

func (*UpApplication) GSInstant

func (app *UpApplication) GSInstant()

GSInstant sets the teleportation affinity to INSTANT.

func (*UpApplication) GSLeftwards

func (app *UpApplication) GSLeftwards()

GSLeftwards sets the teleportation affinity to LEFT.

func (*UpApplication) GSRightwards

func (app *UpApplication) GSRightwards()

GSRightwards sets the teleportation affinity to RIGHT.

func (*UpApplication) GSUpwards

func (app *UpApplication) GSUpwards()

GSLeftwards sets the teleportation affinity to UP.

func (*UpApplication) MessageBox

func (app *UpApplication) MessageBox(title string, text string, b func())

func (*UpApplication) ShowPreface

func (app *UpApplication) ShowPreface()

func (*UpApplication) ShowPrimaryView

func (app *UpApplication) ShowPrimaryView()

func (*UpApplication) ShowRepoView

func (app *UpApplication) ShowRepoView(back framework.ButtonBehavior, repo api.Repository)

Clearly inspired by packageView. It's not like I really had any other option to display metadata properly. TODO: Overhaul? Someday?

func (*UpApplication) ShowWaiter

func (app *UpApplication) ShowWaiter(text string, a func(func(string)), b func())

func (*UpApplication) Teleport

func (app *UpApplication) Teleport(target framework.UILayoutElement)

Teleport starts a transition with the cached affinity settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL