MCPcopy Create free account

hub / github.com/JoshuaDoes/pixel-tensor-audio-decompressor / functions

Functions40 in github.com/JoshuaDoes/pixel-tensor-audio-decompressor

↓ 8 callersMethodChangeMenu
ChangeMenu changes to another available menu
menu/menus.go:322
↓ 7 callersMethodErrorText
ErrorText generates an error message menu with menuID "INTERNAL_ERROR_TEXT" and navigates to it It is used internally as well as being made available,
menu/menus.go:396
↓ 7 callersMethodinit
()
menu/menus.go:83
↓ 6 callersMethodrender
()
menu/menus.go:515
↓ 5 callersMethodAddItem
(name, desc, itemType, action string)
menu/menus.go:30
↓ 5 callersMethodVars
Vars returns a string formatted with all vars replaced, in order from longest var name to shortest to avoid partial var name replacements
menu/menus.go:489
↓ 5 callersFunctionclear
(delay time.Duration)
menu/main.go:95
↓ 4 callersMethodisBackVisible
()
menu/menus.go:101
↓ 3 callersMethodPrevMenu
PrevMenu returns to the last menu in history
menu/menus.go:357
↓ 2 callersMethodAddMenu
AddMenu adds a menu to the menu list
menu/menus.go:310
↓ 2 callersMethodClose
Close closes the keycode listener
menu/keycodes.go:111
↓ 2 callersMethodExplorer
Explorer abuses the powers of AddMenu, ChangeMenu, and PrevMenu to create a file browser with support for passing a selected file to an executable
menu/menus.go:249
↓ 2 callersMethodLock
()
menu/menus.go:76
↓ 2 callersFunctionNewKeycodeListener
NewKeycodeListener returns a new keycode listener
menu/keycodes.go:59
↓ 2 callersMethodRun
Run starts the keycode listener and blocks until it's closed
menu/keycodes.go:73
↓ 2 callersMethodRun
Run runs the given command, but halts the menu engine until completion
menu/menus.go:296
↓ 2 callersMethodUnlock
()
menu/menus.go:79
↓ 1 callersMethodBind
Bind binds a keycode to a handler, bind nil to remove all bindings to the keycode
menu/keycodes.go:28
↓ 1 callersMethodDisplayText
DisplayText generates a text message menu with menuID "INTERNAL_DISPLAY_TEXT" and navigates to it It is used internally as well as being made availabl
menu/menus.go:417
↓ 1 callersMethodGetRender
GetRender returns a rendered menu text to be displayed immediately, as the menu state can change freely before and after
menu/menus.go:433
↓ 1 callersMethodHome
Home returns to the home menu
menu/menus.go:352
↓ 1 callersFunctionNewMenuEngine
NewMenuEngine returns a menu engine ready to be used
menu/menus.go:55
↓ 1 callersMethodRedraw
()
menu/menus.go:512
↓ 1 callersMethodResetHistory
ResetHistory clears the linked item and menu histories, and resets the cursor to item 0
menu/menus.go:426
↓ 1 callersFunctionRun
(prog string, args ...string)
menu/runner.go:9
↓ 1 callersFunctionRunRealtime
(prog string, args ...string)
menu/runner.go:25
↓ 1 callersMethodRunRealtime
RunRealtime runs the given command, but doesn't halt the menu engine
menu/menus.go:285
↓ 1 callersFunctionbindKeys
()
menu/keycalibrator.go:19
↓ 1 callersFunctioncalibrate
()
menu/keycalibrator.go:71
MethodAction
Action activates the selected item's action, such as navigating to a menu or executing a program
menu/menus.go:153
MethodHook
(id string, hook func(me *MenuEngine))
menu/menus.go:68
MethodInput
(keyboard string, keycode uint16, onRelease bool)
menu/keycalibrator.go:49
MethodLoadMenu
(id string, itemList *MenuItemList)
menu/menus.go:72
MethodNextItem
NextItem navigates to the next menu item, or to the first if none next
menu/menus.go:130
MethodPrevItem
PrevItem navigates to the previous menu item, or to the last if none previous
menu/menus.go:109
MethodRemoveBind
RemoveBind removes all bindings to a keycode
menu/keycodes.go:44
MethodRemoveMenu
RemoveMenu removes a menu from the menu list
menu/menus.go:316
Functioninit
()
menu/main.go:35
Functionmain
()
menu/main.go:83
Functionrender
(menu string)
menu/main.go:104