Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshuaDoes/pixel-tensor-audio-decompressor
/ functions
Functions
40 in github.com/JoshuaDoes/pixel-tensor-audio-decompressor
⨍
Functions
40
◇
Types & classes
8
↓ 8 callers
Method
ChangeMenu
ChangeMenu changes to another available menu
menu/menus.go:322
↓ 7 callers
Method
ErrorText
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 callers
Method
init
()
menu/menus.go:83
↓ 6 callers
Method
render
()
menu/menus.go:515
↓ 5 callers
Method
AddItem
(name, desc, itemType, action string)
menu/menus.go:30
↓ 5 callers
Method
Vars
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 callers
Function
clear
(delay time.Duration)
menu/main.go:95
↓ 4 callers
Method
isBackVisible
()
menu/menus.go:101
↓ 3 callers
Method
PrevMenu
PrevMenu returns to the last menu in history
menu/menus.go:357
↓ 2 callers
Method
AddMenu
AddMenu adds a menu to the menu list
menu/menus.go:310
↓ 2 callers
Method
Close
Close closes the keycode listener
menu/keycodes.go:111
↓ 2 callers
Method
Explorer
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 callers
Method
Lock
()
menu/menus.go:76
↓ 2 callers
Function
NewKeycodeListener
NewKeycodeListener returns a new keycode listener
menu/keycodes.go:59
↓ 2 callers
Method
Run
Run starts the keycode listener and blocks until it's closed
menu/keycodes.go:73
↓ 2 callers
Method
Run
Run runs the given command, but halts the menu engine until completion
menu/menus.go:296
↓ 2 callers
Method
Unlock
()
menu/menus.go:79
↓ 1 callers
Method
Bind
Bind binds a keycode to a handler, bind nil to remove all bindings to the keycode
menu/keycodes.go:28
↓ 1 callers
Method
DisplayText
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 callers
Method
GetRender
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 callers
Method
Home
Home returns to the home menu
menu/menus.go:352
↓ 1 callers
Function
NewMenuEngine
NewMenuEngine returns a menu engine ready to be used
menu/menus.go:55
↓ 1 callers
Method
Redraw
()
menu/menus.go:512
↓ 1 callers
Method
ResetHistory
ResetHistory clears the linked item and menu histories, and resets the cursor to item 0
menu/menus.go:426
↓ 1 callers
Function
Run
(prog string, args ...string)
menu/runner.go:9
↓ 1 callers
Function
RunRealtime
(prog string, args ...string)
menu/runner.go:25
↓ 1 callers
Method
RunRealtime
RunRealtime runs the given command, but doesn't halt the menu engine
menu/menus.go:285
↓ 1 callers
Function
bindKeys
()
menu/keycalibrator.go:19
↓ 1 callers
Function
calibrate
()
menu/keycalibrator.go:71
Method
Action
Action activates the selected item's action, such as navigating to a menu or executing a program
menu/menus.go:153
Method
Hook
(id string, hook func(me *MenuEngine))
menu/menus.go:68
Method
Input
(keyboard string, keycode uint16, onRelease bool)
menu/keycalibrator.go:49
Method
LoadMenu
(id string, itemList *MenuItemList)
menu/menus.go:72
Method
NextItem
NextItem navigates to the next menu item, or to the first if none next
menu/menus.go:130
Method
PrevItem
PrevItem navigates to the previous menu item, or to the last if none previous
menu/menus.go:109
Method
RemoveBind
RemoveBind removes all bindings to a keycode
menu/keycodes.go:44
Method
RemoveMenu
RemoveMenu removes a menu from the menu list
menu/menus.go:316
Function
init
()
menu/main.go:35
Function
main
()
menu/main.go:83
Function
render
(menu string)
menu/main.go:104