home · contact · privacy
Also save active window selection in windows config.
[plomrogue] / src / draw_wins.h
index 79cc03d42c88943be1fc385584f9974962f55a8e..c0a156ce625a36d63c37906f3ed1130307469b25 100644 (file)
 struct Win;
 
 
-/* Write "text" into window "win". Start on row "start_y". Fill unused rows with
- * whitespace.
- */
-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". */
-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_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);
+
+/* Routines to draw windows' configuration views. */
+extern void draw_winconf_keybindings(struct Win * win);
+extern void draw_winconf_geometry(struct Win * win);