summaryrefslogtreecommitdiffstats
path: root/src/intrfn.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-09-11 18:53:59 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-09-11 18:53:59 +0200
commit9d7bbc6b52602933dda5f4e6d56939a8a9e9adc4 (patch)
tree2d27cbd09dcaaf5f37d90960f65d8c72bf2e83bc /src/intrfn.h
parent2b5f0bec982e57f322ee0c78df1d63092ab48f75 (diff)
If compiled with "./configure --enable-mouse", most PhotoRec screens can be driven by mouse.
gpm library is dynamicaly loaded by ncurses, so this option isn't compatible with static binaries.
Diffstat (limited to 'src/intrfn.h')
-rw-r--r--src/intrfn.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/intrfn.h b/src/intrfn.h
index 6bdc374..8abc370 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -45,9 +45,10 @@ void dump2(WINDOW *window, const void *dump_1, const void *dump_2, const unsigne
void dump(WINDOW *window,const void *nom_dump,unsigned int lng);
int screen_buffer_display_ext(WINDOW *window, const char *options_org, const struct MenuItem *menuItems, unsigned int *menu);
int screen_buffer_display(WINDOW *window, const char *options_org, const struct MenuItem *menuItems);
-int wmenuSelect_ext(WINDOW *window, const int yinfo, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int *current, int *real_key);
-int wmenuSelect(WINDOW *window, const int yinfo, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int menuDefault);
-int wmenuSimple(WINDOW *window, const struct MenuItem *menuItems, unsigned int menuDefault);
+int wmenuSelect_ext(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, unsigned int *current, int *real_key);
+int wmenuSelect(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, const unsigned int menuDefault);
+int wmenuSimple(WINDOW *window, const struct MenuItem *menuItems, const unsigned int menuDefault);
+int menu_to_command(const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, const int y_real, const int x_real);
int start_ncurses(const char *prog_name, const char *real_prog_name);
int end_ncurses(void);
int interface_partition_type_ncurses(disk_t *disk_car);