summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-entry.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-29 03:13:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-29 03:13:06 +0000
commit2c3216d10cac60e3a0fdf8bc034a04eda70ba894 (patch)
tree0310654c7c0bb6c98df144e0d2496a18cb114c81 /src/fe-text/gui-entry.h
parent46b318b83127e638c2bbc49f0d84e9468e064d16 (diff)
downloadirssi-2c3216d10cac60e3a0fdf8bc034a04eda70ba894.zip
A bit more better utf8 support, still not a good input line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2355 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-entry.h')
-rw-r--r--src/fe-text/gui-entry.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-text/gui-entry.h b/src/fe-text/gui-entry.h
index 70bccb55..364f92da 100644
--- a/src/fe-text/gui-entry.h
+++ b/src/fe-text/gui-entry.h
@@ -11,18 +11,20 @@ typedef struct {
char *prompt;
int redraw_needed_from;
+ unsigned int utf8:1;
} GUI_ENTRY_REC;
extern GUI_ENTRY_REC *active_entry;
-GUI_ENTRY_REC *gui_entry_create(int xpos, int ypos, int width);
+GUI_ENTRY_REC *gui_entry_create(int xpos, int ypos, int width, int utf8);
void gui_entry_destroy(GUI_ENTRY_REC *entry);
-void gui_entry_move(GUI_ENTRY_REC *entry, int xpos, int ypos, int width);
+void gui_entry_move(GUI_ENTRY_REC *entry, int xpos, int ypos, int width);
void gui_entry_set_active(GUI_ENTRY_REC *entry);
void gui_entry_set_prompt(GUI_ENTRY_REC *entry, const char *str);
void gui_entry_set_hidden(GUI_ENTRY_REC *entry, int hidden);
+void gui_entry_set_utf8(GUI_ENTRY_REC *entry, int utf8);
void gui_entry_set_text(GUI_ENTRY_REC *entry, const char *str);
char *gui_entry_get_text(GUI_ENTRY_REC *entry);