imported irssi.
[silc.git] / apps / irssi / src / fe-text / gui-entry.h
1 #ifndef __GUI_ENTRY_H
2 #define __GUI_ENTRY_H
3
4 void gui_entry_set_prompt(const char *str);
5
6 /* permanent prompt can't be overwritten with gui_entry_set_prompt() */
7 void gui_entry_set_perm_prompt(const char *str);
8 void gui_entry_remove_perm_prompt(void);
9 void gui_entry_set_hidden(int hidden);
10
11 void gui_entry_set_text(const char *str);
12 char *gui_entry_get_text(void);
13
14 void gui_entry_insert_text(const char *str);
15 void gui_entry_insert_char(char chr);
16
17 void gui_entry_erase(int size);
18 void gui_entry_erase_word(void);
19 void gui_entry_erase_next_word(void);
20
21 int gui_entry_get_pos(void);
22 void gui_entry_set_pos(int pos);
23 void gui_entry_move_pos(int pos);
24 void gui_entry_move_words(int count);
25
26 void gui_entry_redraw(void);
27
28 void gui_entry_init(void);
29 void gui_entry_deinit(void);
30
31 #endif