Improve clarity for menu batch codes
This commit is contained in:
parent
06938a9628
commit
ac3eacbf74
@ -7,10 +7,12 @@ import (
|
|||||||
type BatchCode uint16
|
type BatchCode uint16
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MENU_DOWN = 256
|
_MENU_OFFSET = 256
|
||||||
MENU_UP = 257
|
MENU_DOWN = _MENU_OFFSET
|
||||||
MENU_NEXT = 258
|
MENU_UP = _MENU_OFFSET + 1
|
||||||
MENU_PREVIOUS = 259
|
MENU_NEXT = _MENU_OFFSET + 2
|
||||||
|
MENU_PREVIOUS = _MENU_OFFSET + 3
|
||||||
|
//MENU_BROWSE = _MENU_OFFSET + 4
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -19,6 +21,7 @@ var (
|
|||||||
"UP": MENU_UP,
|
"UP": MENU_UP,
|
||||||
"NEXT": MENU_NEXT,
|
"NEXT": MENU_NEXT,
|
||||||
"PREVIOUS": MENU_PREVIOUS,
|
"PREVIOUS": MENU_PREVIOUS,
|
||||||
|
//"BROWSE": MENU_BROWSE,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user