void PAGE_ChantestModal(void(*return_page)(int page), int page) { cp->type = MONITOR_CHANNELOUTPUT; PAGE_ChantestInit(page); cp->return_page = return_page; cp->return_val = page; }
static void _navigate_pages(s8 direction) { if ((direction == -1 && cp->type == MONITOR_RAWINPUT) || (direction == 1 && cp->type == MONITOR_MIXEROUTPUT)) { cp->type = cp->type == MONITOR_RAWINPUT ? MONITOR_MIXEROUTPUT : MONITOR_RAWINPUT; PAGE_ChantestInit(0); } }