initial framework for additional screens

This commit is contained in:
2024-01-22 12:49:13 -06:00
parent 687b14334b
commit 8642b1f73a
3 changed files with 26 additions and 2 deletions

View File

@@ -81,6 +81,21 @@ var (
KeyLabel: "F2",
KeyDesc: "display assets screen",
}
ShelvesScreenKey = uiKeyInfo{
Key: tcell.KeyF3,
KeyLabel: "F3",
KeyDesc: "display shelves screen",
}
CategoriesScreenKey = uiKeyInfo{
Key: tcell.KeyF4,
KeyLabel: "F4",
KeyDesc: "display categories screen",
}
BuildingsScreenKey = uiKeyInfo{
Key: tcell.KeyF5,
KeyLabel: "F5",
KeyDesc: "display buildings screen",
}
)
var UIKeyBindings = []uiKeyInfo{
@@ -98,6 +113,9 @@ var UIKeyBindings = []uiKeyInfo{
AppExitKey,
HelpScreenKey,
AssetsScreenKey,
ShelvesScreenKey,
CategoriesScreenKey,
BuildingsScreenKey,
}
type uiKeyInfo struct {