X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=src%2Fdraw_wins.h;h=8801f13fe8978d4fd977edfce14d872b6d102606;hb=daa6ea14e28a79d1ea3edb868404247c80179b5e;hp=c7950b829b3ee476339be20161335af7df79a72c;hpb=56bd66b2302f09e9b8f39e9c059c1eb0d105b9fa;p=plomrogue diff --git a/src/draw_wins.h b/src/draw_wins.h index c7950b8..8801f13 100644 --- a/src/draw_wins.h +++ b/src/draw_wins.h @@ -12,15 +12,19 @@ struct Win; -/* Write "text" into window "win". Start on row "start_y". Fill unused rows with - * whitespace. +/* Write "text" into window "win" as far as possible. Start on row "start_y". + * + * TODO: Why is this external? */ extern void draw_with_linebreaks(struct Win * win, char * text, uint16_t start_y); -/* Write "text" not starting from the top but from the bottom of "win". */ +/* Write "text" not starting from the top but from the bottom of "win". + * + * TODO: Why is this external? + */ extern void draw_text_from_bottom(struct Win * win, char * text); @@ -31,17 +35,17 @@ extern void draw_log_win(struct Win * win); /* Draw game map and actors/objects on it into "win". Respect scroll offset. */ -extern void draw_map_win (struct Win * win); +extern void draw_map_win(struct Win * win); /* Draw into "win" the game / player status infos. */ -extern void draw_info_win (struct Win * win); +extern void draw_info_win(struct Win * win); /* Draw keybindings selection/manipulation menu. */ -extern void draw_keys_win (struct Win * win); +extern void draw_keys_win(struct Win * win);