ubitxv6/menu_utils.h
2020-02-09 16:01:52 -08:00

15 lines
434 B
C

#pragma once
#include "button.h"
//Returns true if submenu was run, false otherwise
bool runSubmenu(Menu_t* current_menu,
void(*const redraw_callback)(),
const ButtonPress_e tuner_button,
const ButtonPress_e touch_button,
const Point touch_point,
const int16_t knob);
void movePuck(const Button *const b_old,
const Button *const b_new);