Documentation ¶
Index ¶
- type ReturnData
- type UpApplication
- func (app *UpApplication) GSDownwards()
- func (app *UpApplication) GSInstant()
- func (app *UpApplication) GSLeftwards()
- func (app *UpApplication) GSRightwards()
- func (app *UpApplication) GSUpwards()
- func (app *UpApplication) MessageBox(title string, text string, b func())
- func (app *UpApplication) ResetWithDiscordInstance(save bool, location string)
- func (app *UpApplication) ShowCredits(back framework.ButtonBehavior)
- func (app *UpApplication) ShowInstanceFinder(locations []middle.DiscordInstance)
- func (app *UpApplication) ShowManagerView(installed bool, back framework.ButtonBehavior)
- func (app *UpApplication) ShowOptionsMenu(back framework.ButtonBehavior)
- func (app *UpApplication) ShowPluginView(back framework.ButtonBehavior, plugin api.Plugin, ...)
- func (app *UpApplication) ShowPreface()
- func (app *UpApplication) ShowPrimaryView()
- func (app *UpApplication) ShowWaiter(text string, a func(func(string)), b func())
- func (app *UpApplication) Teleport(target framework.UILayoutElement)
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) 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.
Click to show internal directories.
Click to hide internal directories.