From 806d9b2557ec1483b238df2283771383c1ab0b45 Mon Sep 17 00:00:00 2001 From: Rasmus Anthin <32767250+razterizer@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:26:17 +0100 Subject: [PATCH] Update README.md More ScreenUtils info. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b1a054f..6113626 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,9 @@ Supported platforms (including but not limited to) are: * `RC.h` : A struct representing the row and column position on the screen or in a texture or bounding box to mention a few. * `Rectangle.h` : A rectangle struct that can be used for bounding boxes etc. * `ScreenUtils.h` : A collection of functions for rendering dialogs and such: - * Low-level functions: `clear_screen()`, `return_cursor()`, `restore_cursor()`, `gotorc()`. + * Low-level functions: `clear_screen()`, `return_cursor()`, `restore_cursor()`, `hide_cursor()`, `show_cursor()`, `gotorc()`. + * Medium-level functions: `get_terminal_window_size()`, `resize_terminal_window()`, `save_terminal_colors()`, `restore_terminal_colors()`. + * High-level functions: `begin_screen()`, `end_screen()`. These take care of color restoration, clearing screen, hiding the cursor etc, except for the resizing of the terminal window. * `draw_frame()` : Draws a simple frame around your frame buffer. * `draw_game_over()`, `draw_you_won()` : Draws wavy banners in the FIGlet font Grafitti. Used by `GameEngine` if those features are enabled.