home · contact · privacy
Changed the way the end of the map object list is identified.
[plomrogue] / src / draw_wins.h
index 8801f13fe8978d4fd977edfce14d872b6d102606..3ebdf76acbeab30c007051ab9a088af9db1b91af 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);
+/* 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_inventory(struct Win * win);
+extern void draw_win_available_keybindings(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);
 
 
 
-/* Draw keybindings selection/manipulation menu. */
-extern void draw_keys_win(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);