19 lines
317 B
C
19 lines
317 B
C
//
|
|
// Created by william on 1/7/24.
|
|
//
|
|
|
|
#ifndef NESEMULATOR_DIALOG_H
|
|
#define NESEMULATOR_DIALOG_H
|
|
|
|
#include <panel.h>
|
|
|
|
typedef struct dialog {
|
|
PANEL *panel;
|
|
|
|
void (*callback)(char *user_input);
|
|
} Dialog;
|
|
|
|
Dialog dialog_create(char *message, void (*callback)(char *user_input));
|
|
|
|
#endif //NESEMULATOR_DIALOG_H
|