summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-entry.h')
-rw-r--r--src/fe-text/gui-entry.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fe-text/gui-entry.h b/src/fe-text/gui-entry.h
new file mode 100644
index 00000000..443d2509
--- /dev/null
+++ b/src/fe-text/gui-entry.h
@@ -0,0 +1,22 @@
+#ifndef __GUI_ENTRY_H
+#define __GUI_ENTRY_H
+
+void gui_entry_set_prompt(const char *str);
+
+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);
+
+int gui_entry_get_pos(void);
+void gui_entry_set_pos(int pos);
+void gui_entry_move_pos(int pos);
+
+void gui_entry_redraw(void);
+
+void gui_entry_init(void);
+void gui_entry_deinit(void);
+
+#endif