/**
 * Copyright (c) 2021 Dominic Masters
 * 
 * This software is released under the MIT License.
 * https://opensource.org/licenses/MIT
 */

#pragma once
#include <dawn/dawn.h>
#include "../input/input.h"
#include "../epoch/epoch.h"

/**
 * Initialize a menu.
 * 
 * @param menu Menu to initialize.
 * @param columns Count of rows.
 * @param rows Count of columns.
 */
void menuInit(menu_t *menu, int32_t columns, int32_t rows);

/**
 * Updates the menu to handle inputs.
 * 
 * @param menu Menu to update.
 * @param engine Engine to update from.
 */
void menuUpdate(menu_t *menu, engine_t *engine);