diff options
author | b0ric <b0risov.alexandr@rambler.ru> | 2009-08-07 17:15:47 +0300 |
---|---|---|
committer | b0ric <b0risov.alexandr@rambler.ru> | 2009-08-07 17:15:47 +0300 |
commit | 88db5cdceabf042f5e5d5695bf984900f8396225 (patch) | |
tree | a5b53bc578a5621d0e62f5d17ffb22c2d0e964d8 /interface.h | |
parent | 180da16f3c1592d1515de2e647144a37cc23c1b9 (diff) |
Search bug fix
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interface.h b/interface.h index 2b444ea..6fc00aa 100644 --- a/interface.h +++ b/interface.h @@ -22,6 +22,9 @@ #include <gtk/gtk.h> #include "listview.h" +#define SEARCH_FORWARD 0 +#define SEARCH_BACKWARD 1 + GtkWidget *main_window; void create_main_window(); void add_sentence(char *); @@ -33,5 +36,6 @@ void set_find_text(gchar *); void clear_search_tags(); void find_next(const gchar *word); void find_prev(const gchar *word); +void find_other(const gchar *word, const int direction); #endif /*INTERFACE_H*/ |