nesemu/debugger/dialog.h

19 lines
317 B
C
Raw Normal View History

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>
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