2024-01-07 16:20:37 -05:00
|
|
|
//
|
|
|
|
// Created by william on 1/7/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef NESEMULATOR_DIALOG_H
|
|
|
|
#define NESEMULATOR_DIALOG_H
|
|
|
|
|
|
|
|
#include <panel.h>
|
2024-01-09 14:46:20 -05:00
|
|
|
#include "../include/types.h"
|
2024-01-07 16:20:37 -05:00
|
|
|
|
|
|
|
typedef struct dialog {
|
|
|
|
PANEL *panel;
|
|
|
|
} Dialog;
|
|
|
|
|
2024-01-09 14:46:20 -05:00
|
|
|
Dialog dialog_create(char *message);
|
|
|
|
|
|
|
|
address dialog_get_address(Dialog *dialog, bool *cancelled);
|
|
|
|
|
|
|
|
void dialog_remove(Dialog *dialog);
|
2024-01-07 16:20:37 -05:00
|
|
|
|
|
|
|
#endif //NESEMULATOR_DIALOG_H
|