X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fdraw_wins.h;h=d209d8259800e7aa4c8535054703b3c3d6124a6f;hb=550d22ec0c3f530f5d317746f3f7e75251a1de4b;hp=8801f13fe8978d4fd977edfce14d872b6d102606;hpb=daa6ea14e28a79d1ea3edb868404247c80179b5e;p=plomrogue diff --git a/src/draw_wins.h b/src/draw_wins.h index 8801f13..d209d82 100644 --- a/src/draw_wins.h +++ b/src/draw_wins.h @@ -12,40 +12,18 @@ struct Win; -/* 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". - * - * TODO: Why is this external? - */ -extern void draw_text_from_bottom(struct Win * win, char * text); - - - -/* Write game log text into "win" from bottom to top. */ -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); - - - -/* Draw into "win" the game / player status infos. */ -extern void draw_info_win(struct Win * win); - - -/* Draw keybindings selection/manipulation menu. */ -extern void draw_keys_win(struct Win * win); +/* Default routines to draw the various windows' contents. */ +extern void draw_win_log(struct Win * win); +extern void draw_win_map(struct Win * win); +extern void draw_win_info(struct Win * win); +extern void draw_win_keybindings_global(struct Win * win); +extern void draw_win_keybindings_winconf_geometry(struct Win * win); +extern void draw_win_keybindings_winconf_keybindings(struct Win * win); + +/* Routines to draw windows' configuration views. */ +extern void draw_winconf_keybindings(struct Win * win); +extern void draw_winconf_geometry(struct Win * win);