summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-04-23 10:30:44 +0800
committerIan C <ianc@noddybox.co.uk>2023-04-23 10:30:44 +0800
commit62e0729de4b856d1230e5fd2d6558c188386a683 (patch)
treec62ba2584aed4cf19ce0a1592305c806fde9dde9 /include
parentd68d6a14ba9c37eef243d6b739d590ec0f05c6c4 (diff)
Added global last_dir[] to record last file selector dir.HEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui.h b/include/gui.h
index c5eeaed..77bfb60 100644
--- a/include/gui.h
+++ b/include/gui.h
@@ -21,6 +21,7 @@
#ifndef DS81_GUI_H
#define DS81_GUI_H
+void GUI_Init(void);
int GUI_Menu(const char *opts[]);
void GUI_Alert(int fatal, const char *text);
void GUI_Config(void);
@@ -30,4 +31,6 @@ int GUI_InputName(const char *prompt, const char *ext,
char name[], int maxlen);
int GUI_Input(const char *prompt, char text[], int maxlen);
+extern char last_dir[FILENAME_MAX];
+
#endif /* DS81_GUI_H */