From 1177a2ec843533b76fa9bd8573686f684103075c Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 13 Nov 2015 07:07:04 -0500 Subject: dialog buttons --- include/ui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ui.h') diff --git a/include/ui.h b/include/ui.h index 6ebbd1f..6fafb17 100644 --- a/include/ui.h +++ b/include/ui.h @@ -25,6 +25,8 @@ namespace ui { extern bool debug; extern bool posFlag; extern unsigned int fontSize; + extern bool dialogBoxExists; + extern unsigned char dialogOptChosen; /* * Initializes the FreeType system. @@ -57,7 +59,7 @@ namespace ui { * limited until a right click is given, closing the box. */ - void dialogBox(const char *name,const char *text,...); + void dialogBox(const char *name,char *opt,const char *text,...); /* * Draws a larger string in the center of the screen. Drawing is done inside this function. -- cgit v1.2.3