From b2c92b2eb4ba8695923b72ff05493068b2be5934 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Mon, 14 May 2012 12:38:20 +0200 Subject: src/utils.c: Add a status_ask_simplechoice() function We need a simpler version, based on the previously defined `status_ask_choice()` function, that asks to choose amongst a number of alternatives that can simply enumerated, without needing to bind keys on them. Signed-off-by: Baptiste Jonglez Signed-off-by: Lukas Fleischer --- src/calcurse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 4b54549..e26976a 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -897,6 +897,7 @@ void warnbox (const char *); void status_mesg (const char *, const char *); void status_mesg_yesno (const char *); int status_ask_choice (const char *, const char[], int); +int status_ask_simplechoice (const char *, const char *[], int); void erase_window_part (WINDOW *, int, int, int, int); WINDOW *popup (int, int, int, int, const char *, const char *, int); void print_in_middle (WINDOW *, int, int, int, const char *); -- cgit v1.2.3-54-g00ecf