mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
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
This commit is contained in:
parent
46b318b831
commit
2c3216d10c
4 changed files with 54 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue