Improve clarity for menu batch codes

This commit is contained in:
lash 2023-04-03 09:14:45 +01:00
parent 06938a9628
commit ac3eacbf74
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 7 additions and 4 deletions

View File

@ -7,10 +7,12 @@ import (
type BatchCode uint16
const (
MENU_DOWN = 256
MENU_UP = 257
MENU_NEXT = 258
MENU_PREVIOUS = 259
_MENU_OFFSET = 256
MENU_DOWN = _MENU_OFFSET
MENU_UP = _MENU_OFFSET + 1
MENU_NEXT = _MENU_OFFSET + 2
MENU_PREVIOUS = _MENU_OFFSET + 3
//MENU_BROWSE = _MENU_OFFSET + 4
)
var (
@ -19,6 +21,7 @@ var (
"UP": MENU_UP,
"NEXT": MENU_NEXT,
"PREVIOUS": MENU_PREVIOUS,
//"BROWSE": MENU_BROWSE,
}
)