|
Sista v3.0.0-beta.10
C++ lightweight OS-agnostic library for terminal animations and videogames
|
Classes | |
| class | sista::Field |
| Class representing a terminal Field for pawns and borders. More... | |
| class | sista::SwappableField |
| Class representing a terminal SwappableField for pawns and borders. More... | |
| class | sista::Pawn |
| Class representing a Pawn owned by a Field or SwappableField. More... | |
| struct | sista::Cursor |
| Class representing a terminal cursor for movement operations. More... | |
Namespaces | |
| namespace | sista |
| Sista library namespace. | |
Functions | |
| None | sista.set_foreground_color (int color) |
| Set the terminal foreground color using one of the F_* constants. | |
| None | sista.set_background_color (int color) |
| Set the terminal background color using one of the B_* constants. | |
| None | sista.set_attribute (int attribute) |
| Enable a terminal text attribute using one of the A_* constants. | |
| None | sista.reset_attribute (int attribute) |
| Disable/reset a terminal text attribute using one of the A_* constants. | |
| None | sista.reset_ansi () |
| Reset all ANSI text attributes and colors to the terminal defaults. | |
| None | sista.clear_screen (bool spaces=True) |
| Clear the terminal and reposition the cursor to top-left. | |
| None | sista.print (str message) |
| Print a message to the terminal using Sista's configured output stream. | |
| Capsule | sista.create_ansi_settings (int fgcolor=..., int bgcolor=..., int attribute=...) |
| Create an ANSI settings object and return it as a Capsule. | |
| Capsule | sista.create_border (str symbol, Capsule ansi_settings) |
| Create a Border object that uses a single-character symbol and ANSI settings. | |
| Capsule | sista.create_coordinates (int y, int x) |
| Create a Coordinates object and return it as a Capsule. | |
Variables | |
| sista.Capsule = Any | |
| int | sista.F_BLACK |
| int | sista.F_RED |
| int | sista.F_GREEN |
| int | sista.F_YELLOW |
| int | sista.F_BLUE |
| int | sista.F_MAGENTA |
| int | sista.F_CYAN |
| int | sista.F_WHITE |
| int | sista.B_BLACK |
| int | sista.B_RED |
| int | sista.B_GREEN |
| int | sista.B_YELLOW |
| int | sista.B_BLUE |
| int | sista.B_MAGENTA |
| int | sista.B_CYAN |
| int | sista.B_WHITE |
| int | sista.A_RESET |
| int | sista.A_BRIGHT |
| int | sista.A_FAINT |
| int | sista.A_ITALIC |
| int | sista.A_UNDERLINE |
| int | sista.A_BLINK |
| int | sista.A_BLINK_FAST |
| int | sista.A_REVERSE |
| int | sista.A_HIDDEN |
| int | sista.A_STRIKETHROUGH |
| int | sista.DIRECTION_UP |
| int | sista.DIRECTION_DOWN |
| int | sista.DIRECTION_RIGHT |
| int | sista.DIRECTION_LEFT |
| int | sista.BEGINNING_OF_NEXT_LINE |
| int | sista.BEGINNING_OF_PREVIOUS_LINE |