X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-entry.h;fp=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-entry.h;h=ff8f3ef5b42d159e6fb2f409eb66976e79879209;hb=23c5df1c8b0bfe539d3fa65802186e6e09e044aa;hp=0000000000000000000000000000000000000000;hpb=0f9738ce962b8498bbed0a75d5fb6fa127e3577f;p=silc.git diff --git a/apps/irssi/src/fe-text/gui-entry.h b/apps/irssi/src/fe-text/gui-entry.h new file mode 100644 index 00000000..ff8f3ef5 --- /dev/null +++ b/apps/irssi/src/fe-text/gui-entry.h @@ -0,0 +1,31 @@ +#ifndef __GUI_ENTRY_H +#define __GUI_ENTRY_H + +void gui_entry_set_prompt(const char *str); + +/* permanent prompt can't be overwritten with gui_entry_set_prompt() */ +void gui_entry_set_perm_prompt(const char *str); +void gui_entry_remove_perm_prompt(void); +void gui_entry_set_hidden(int hidden); + +void gui_entry_set_text(const char *str); +char *gui_entry_get_text(void); + +void gui_entry_insert_text(const char *str); +void gui_entry_insert_char(char chr); + +void gui_entry_erase(int size); +void gui_entry_erase_word(void); +void gui_entry_erase_next_word(void); + +int gui_entry_get_pos(void); +void gui_entry_set_pos(int pos); +void gui_entry_move_pos(int pos); +void gui_entry_move_words(int count); + +void gui_entry_redraw(void); + +void gui_entry_init(void); +void gui_entry_deinit(void); + +#endif