diff options
author | mid-kid <esteve.varela@gmail.com> | 2019-06-09 02:31:24 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2019-06-09 02:31:24 +0200 |
commit | c048b24d255f5f5ac71f5e9d2f4d4864a06edeaf (patch) | |
tree | 5078ac0d0b7c74c82bf1b18d7e33c92882e6f572 /docs/menus.md | |
parent | 6b3735340604670d5fe1bfe4a31e59ad5c7bfb02 (diff) |
Create constants for ScrollingMenu item formats
...I should've done this quite a while ago.
Diffstat (limited to 'docs/menus.md')
-rw-r--r-- | docs/menus.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/menus.md b/docs/menus.md index 35bb14d3a..cd783290a 100644 --- a/docs/menus.md +++ b/docs/menus.md @@ -26,7 +26,7 @@ Structure: .MenuData: db 0 ; flags db 5, 0 ; rows, columns - db 1 ; horizontal spacing + db SCROLLINGMENU_ITEMS_NORMAL ; item format dba Items dba Function1 dba Function2 @@ -66,9 +66,9 @@ Function3: Called to display anything else, whenever the cursor is moved. There is no register of importance that should be preserved in any of these functions. -The `; horizontal spacing` item in each `MenuData` is a misnomer. It changes how the `Items` struct looks. +The `; item format` entry in each `MenuData` changes how the `Items` struct looks. -If it's 1: +If it's `SCROLLINGMENU_ITEMS_NORMAL` (1): ``` db entries not including cancel @@ -78,7 +78,7 @@ db -1 ; cancel ... ``` -If it's 2: +If it's `SCROLLINGMENU_ITEMS_QUANTITY` (2): ``` db entries not including cancel |