norns_menu.c
norns_menu.c
1. Top
2. Core Menu Mechanics
2.1. typedef + struct
2.2. Initialization
2.3. Re-Initialization
2.4. Core Menu Data
2.4.1. DONE Video Buffer
2.4.2. DONE Menu Name
2.4.3. DONE Menu Items
2.4.4. DONE Selected Item
2.4.5. User Data
2.4.6. Counter + Speed
2.4.7. Offset
2.5. A single menu item
2.6. Drawing the Menu
2.6.1. DONE Top Level Draw
2.6.2. DONE Write the header
2.6.3. DONE Write items
2.7. Peripheral callbacks
2.7.1. DONE Setting Peripheral Callbacks
2.7.2. DONE Key
2.7.3. DONE Knob
3. The Main Norns Interface
3.1. DONE Norns Main Menu Data
3.1.1. DONE typedef + struct
3.1.2. DONE init + cleanup
3.2. DONE Norns Main Menu Items
3.2.1. DONE (Re-)selecting the Main Menu
3.2.2. DONE Power Off
3.2.3. DONE Quitting
3.2.4. DONE Page Selection
3.2.4.1. Menu Item
3.2.4.2. DONE Selecting the Page Selector
3.2.5. WIP Aux Menu
3.3. Main Menu Drawing
4. The Norns Menu Page
4.1. DONE Creating the page
4.1.1. DONE Norns Menu Creation Main
4.1.2. In C (norns_menu_new)
4.1.3. In Janet (monolith/norns-menu-new)
4.2. DONE Norns Menu Page Creation
4.2.1. DONE Norns Open
4.2.2. DONE Norns Free
5. Janet Loader
6. Additional Menu Items (via Janet)