home · contact · privacy
Strongly overhauled keybinding managemment. Window-specific keybindings and a window...
[plomrogue] / src / draw_wins.h
index 8801f13fe8978d4fd977edfce14d872b6d102606..d209d8259800e7aa4c8535054703b3c3d6124a6f 100644 (file)
 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);