Screen API for controlling other things around the terminal.
More...
Go to the source code of this file.
|
const char * | Window_getTitle () |
| Gets the title of the terminal window.
|
|
void | Window_setTitle (const char *title) |
| Sets the title of the terminal window.
|
|
void | Window_getSize (int *width, int *height) |
| Gets the size of the terminal window, and stores it in the width and height variables.
|
|
void | Window_setSize (int width, int height) |
| Sets the size of the terminal window.
|
|
void | Screen_getSize (int *width, int *height) |
| Gets the size of the screen, and stores it in the width and height variables.
|
|
Screen API for controlling other things around the terminal.
- Author
- Gregory Mitchell (me@gm.nosp@m.itch.nosp@m.215.x.nosp@m.yz)
- Version
- 0.1.0
- Date
- 2025-01-24
- Copyright
- Copyright (c) 2025
◆ Screen_getSize()
void Screen_getSize |
( |
int * | width, |
|
|
int * | height ) |
Gets the size of the screen, and stores it in the width and height variables.
- Parameters
-
width | The pointer to the width of the screen. |
height | The pointer to the height of the screen. |
◆ Window_getSize()
void Window_getSize |
( |
int * | width, |
|
|
int * | height ) |
Gets the size of the terminal window, and stores it in the width and height variables.
- Parameters
-
width | The pointer to the width of the terminal window. |
height | The pointer to the height of the terminal window. |
◆ Window_getTitle()
const char * Window_getTitle |
( |
| ) |
|
Gets the title of the terminal window.
- Returns
- The title of the terminal window.
◆ Window_setSize()
void Window_setSize |
( |
int | width, |
|
|
int | height ) |
Sets the size of the terminal window.
- Parameters
-
width | The width of the terminal window. |
height | The height of the terminal window. |
◆ Window_setTitle()
void Window_setTitle |
( |
const char * | title | ) |
|
Sets the title of the terminal window.
- Parameters
-