src

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReturnData

type ReturnData struct {
	Status string `json:"status"`
}

type UpApplication

type UpApplication struct {
	DiscordInstance   *middle.DiscordInstance
	Config            middle.Config
	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) ResetWithDiscordInstance

func (app *UpApplication) ResetWithDiscordInstance(save bool, location string)

func (*UpApplication) ShowCredits

func (app *UpApplication) ShowCredits(back framework.ButtonBehavior)

func (*UpApplication) ShowDiscordFinder added in v1.3.0

func (app *UpApplication) ShowDiscordFinder(back framework.ButtonBehavior, vfsPath string)

func (*UpApplication) ShowInstanceFinder

func (app *UpApplication) ShowInstanceFinder(locations []middle.DiscordInstance)

func (*UpApplication) ShowManagerView added in v1.1.0

func (app *UpApplication) ShowManagerView(installed bool, back framework.ButtonBehavior)

func (*UpApplication) ShowOptionsMenu

func (app *UpApplication) ShowOptionsMenu(back framework.ButtonBehavior)

func (*UpApplication) ShowPluginView

func (app *UpApplication) ShowPluginView(back framework.ButtonBehavior, plugin api.Plugin, warnings []framework.FlexboxSlot)

func (*UpApplication) ShowPreface

func (app *UpApplication) ShowPreface()

func (*UpApplication) ShowPrimaryView

func (app *UpApplication) ShowPrimaryView()

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