diff options
author | Frederic Culot <calcurse@culot.org> | 2006-11-02 13:39:36 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-11-02 13:39:36 +0000 |
commit | c87a7bd64d1aa12c81d3526aa476c39d051a88b6 (patch) | |
tree | 379d5284a1594553b4e4b73e0985c6222f9f8299 | |
parent | 3812d77f58e947e614b35d3637efcddc1da6556a (diff) | |
download | calcurse-c87a7bd64d1aa12c81d3526aa476c39d051a88b6.zip |
getstring() prototype modified, and updatestring() created
-rwxr-xr-x | src/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 37f34fc..4c8a0fc 100755 --- a/src/utils.h +++ b/src/utils.h @@ -1,4 +1,4 @@ -/* $calcurse: utils.h,v 1.7 2006/10/28 13:13:18 culot Exp $ */ +/* $calcurse: utils.h,v 1.8 2006/11/02 13:39:36 culot Exp $ */ /* * Calcurse - text-based organizer @@ -56,7 +56,8 @@ void del_char(int pos, char *str); char *add_char(int pos, int ch, char *str); void showcursor(WINDOW *win, int y, int pos, char *str, int l, int offset); void showstring(WINDOW *win, int y, int x, char *str, int len, int pos); -int getstring(WINDOW *win, int colr, char *string, int x, int y); +int getstring(WINDOW *win, int colr, char *str, int l, int x, int y); +void updatestring(WINDOW *win, int colr, char **str, int x, int y); int is_all_digit(char *string); void border_color(WINDOW *window, int bcolr); void border_nocolor(WINDOW *window); |