Expand description
A small menu that opens under what was pressed: what can be done to pass a note on, what the cog above the feed offers, how fast a video plays.
ConstantsΒ§
- MENU_
GAP - MENU_
ITEM_ πHEIGHT - How tall one thing a menu offers is, at most.
- MENU_
PADDING π - MENU_
WIDTH - How wide a menu is, the room around what it offers, and the gap between what was pressed and the menu.
FunctionsΒ§
- at_
the_ πkeys - How an item of a menu looks while the keyboard is at it: as one the pointer is over, wherever the pointer is.
- choice_
menu - A menu of
choices, one under the other,widthwide: each what it is called, whether it is the one chosen now, which is ticked, and what choosing it does. - menu
- A menu of
items, one under the other: each a picture, what it is called, and what choosing it does. One that does nothing shows, and canβt be chosen. - menu_at
- As
menu, with the keyboard at the item that isatinitems, if it is at one: that item is shown as one the pointer is over. - menu_
height - How tall a menu that offers
itemsthings is, at most: the room it needs under what was pressed to show all of them.