Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
More ScreenUtils info.
  • Loading branch information
razterizer authored Nov 4, 2024
1 parent 95d3e92 commit 806d9b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 806d9b2

Please sign in to comment.