2016-04-18 09:00:57 -07:00
|
|
|
#ifndef NMS_H
|
|
|
|
#define NMS_H 1
|
2016-04-15 11:28:06 -07:00
|
|
|
|
2016-04-20 15:16:19 -07:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#define INIT_NMSARGS { NULL, NULL, -1, -1, false }
|
2016-04-20 14:08:35 -07:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char *src;
|
|
|
|
char *return_opts;
|
2016-04-20 14:51:36 -07:00
|
|
|
int input_cursor_x;
|
|
|
|
int input_cursor_y;
|
2016-04-20 15:16:19 -07:00
|
|
|
bool show_cursor;
|
2016-04-20 14:24:11 -07:00
|
|
|
} NmsArgs;
|
2016-04-20 14:08:35 -07:00
|
|
|
|
2016-04-15 11:28:06 -07:00
|
|
|
// Function prototypes
|
2016-04-12 13:18:53 -07:00
|
|
|
|
2016-04-18 09:00:57 -07:00
|
|
|
// Display the characters stored in the display queue
|
2016-04-20 14:55:07 -07:00
|
|
|
char nms_exec(NmsArgs *);
|
2016-04-12 13:18:53 -07:00
|
|
|
|
2016-04-18 09:00:57 -07:00
|
|
|
#endif
|