2010-08-11 02:58:50 +08:00
|
|
|
#ifndef _PERF_UI_UTIL_H_
|
|
|
|
#define _PERF_UI_UTIL_H_ 1
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2011-10-25 23:45:16 +08:00
|
|
|
int ui__getch(int delay_secs);
|
2010-08-11 02:58:50 +08:00
|
|
|
int ui__popup_menu(int argc, char * const argv[]);
|
|
|
|
int ui__help_window(const char *text);
|
|
|
|
bool ui__dialog_yesno(const char *msg);
|
2011-10-26 18:00:55 +08:00
|
|
|
int ui__question_window(const char *title, const char *text,
|
|
|
|
const char *exit_msg, int delay_secs);
|
2010-08-11 02:58:50 +08:00
|
|
|
|
|
|
|
#endif /* _PERF_UI_UTIL_H_ */
|