#ifndef GUITOP_H_
#define GUITOP_H_

#include "modal.h"

struct nk_context;

struct modal_config *guitop_get_modal_cfg(void);
void guitop(struct nk_context *ctx, int window_w, int window_h);
int  guitop_is_measuring(void);
void guitop_invalidate_layout(void);
void guitop_esc(void);
void guitop_set_menu(int menu_id);
void guitop_show_setup_menu(void);
void guitop_show_launcher(void);
void guitop_show_rom_browser(void);
void guitop_show_toast_msg(const char *msg);
void guitop_show_saved_toast(const char *saved_msg);
int  guitop_hamburger_open(void);
void guitop_hamburger_set(int open);
int  guitop_hamburger_close_pending(void);
void guitop_hamburger_clear_pending(void);
void guitop_consume_navigation_input(struct nk_context *ctx);
void guitop_draw_colorband_divider(struct nk_context *ctx, int compact);

#endif
