Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/forth/shortcuts.4th
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
: menu ( -- ) | : menu ( -- ) | ||||
clear \ Clear the screen (in screen.4th) | clear \ Clear the screen (in screen.4th) | ||||
print_version \ print version string (bottom-right; see version.4th) | print_version \ print version string (bottom-right; see version.4th) | ||||
draw-beastie \ Draw FreeBSD logo at right (in beastie.4th) | draw-beastie \ Draw FreeBSD logo at right (in beastie.4th) | ||||
draw-brand \ Draw FIS logo at top (in brand.4th) | draw-brand \ Draw FIS logo at top (in brand.4th) | ||||
menu-init \ Initialize menu and draw bounding box (in menu.4th) | menu-init \ Initialize menu and draw bounding box (in menu.4th) | ||||
menu-display \ Launch interactive menu (in menu.4th) | menu-display \ Launch interactive menu (in menu.4th) | ||||
; | ; | ||||
\ This "shortcut" word will fully redraw the current menu. | |||||
\ The regular menu-redraw word does not clear the screen, and if there is | |||||
\ any excess output, the menu will be redrawn incorrectly | |||||
\ | |||||
: menu-refresh ( -- ) | |||||
clear \ Clear the screen (in screen.4th) | |||||
print_version \ print version string (bottom-right; see version.4th) | |||||
draw-beastie \ Draw FreeBSD logo at right (in beastie.4th) | |||||
draw-brand \ Draw brand.4th logo at top (in brand.4th) | |||||
menu-init \ Initialize menu and draw bounding box (in menu.4th) | |||||
menu-redraw \ Redraw menu (in menu.4th) | |||||
; |