diff options
author | toni <matzeton@googlemail.com> | 2015-10-17 18:11:00 +0200 |
---|---|---|
committer | toni <toni@devlap.local> | 2015-10-20 11:16:20 +0200 |
commit | 60f9330c35085d067a1c491714d7de49d2120b76 (patch) | |
tree | 03380b684d801699616e14f4d8e396ffc6e10918 /ui_nwindow.h | |
parent | a108c1aec43d1f2a5dac0984a5fe9aa4b1c74b91 (diff) | |
parent | d7071577be3f49b964c4d234024bf62328d0209d (diff) |
Merge branch 'master' of raspberrypi.local:/home/git/naskpass
Diffstat (limited to 'ui_nwindow.h')
-rw-r--r-- | ui_nwindow.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui_nwindow.h b/ui_nwindow.h index 5a983f7..614644c 100644 --- a/ui_nwindow.h +++ b/ui_nwindow.h @@ -19,12 +19,13 @@ struct txtwindow { size_t text_len; int (*window_func)(WINDOW *, struct txtwindow *); chtype attrs; + chtype text_attrs; }; typedef int (*window_func)(WINDOW *, struct txtwindow *); struct txtwindow * -init_txtwindow(unsigned int, unsigned int y, unsigned int width, unsigned int height, chtype attrs, window_func cb_update); +init_txtwindow(unsigned int, unsigned int y, unsigned int width, unsigned int height, chtype attrs, chtype text_attrs, window_func cb_update); void free_txtwindow(struct txtwindow *a); @@ -36,9 +37,12 @@ void register_txtwindow(struct txtwindow *a); void -set_txtwindow_text(struct txtwindow *a, const char *text); +set_txtwindow_text(struct txtwindow *a, char *text); void set_txtwindow_scrollable(struct txtwindow *a, bool scrollable); +void +set_txtwindow_title(struct txtwindow *a, const char *title); + #endif |