|
BEEP-8 Helper Lib 1.0.0
|
Represents the cursor state for background-based text rendering. More...
#include <pico8.h>
Public Member Functions | |
| void | Reset () |
| Resets the cursor state to its default values. | |
Public Attributes | |
| int | x |
| The x-coordinate in 8x8 TILE units. | |
| int | y |
| The y-coordinate in 8x8 TILE units. | |
| BgPal | pal |
| The palette index for text rendering (default: BG_PAL_CURRENT). | |
Represents the cursor state for background-based text rendering.
This structure manages the cursor for rendering text on the background layer. Background rendering operates in 8x8 TILE units and uses palette-based colors.
|
inline |
Resets the cursor state to its default values.
Sets the position to (0, 0) and palette to BG_PAL_CURRENT.