22 lines
369 B
C
22 lines
369 B
C
//
|
|
// Created by william on 1/7/24.
|
|
//
|
|
|
|
#ifndef NESEMULATOR_DIALOG_H
|
|
#define NESEMULATOR_DIALOG_H
|
|
|
|
#include <panel.h>
|
|
#include "../include/types.h"
|
|
|
|
typedef struct dialog {
|
|
PANEL *panel;
|
|
} Dialog;
|
|
|
|
Dialog dialog_create(char *message);
|
|
|
|
address dialog_get_address(Dialog *dialog, bool *cancelled);
|
|
|
|
void dialog_remove(Dialog *dialog);
|
|
|
|
#endif //NESEMULATOR_DIALOG_H
|