BEEP-8 Helper Lib 1.0.0
|
This structure is used to manage the context of the buffer output. More...
#include <bgprint.h>
Public Attributes | |
b8PpuBgTile * | cpuaddr = nullptr |
Please specify the beginning of the b8PpuBgTile array for text output. | |
u16 | _w_pow2 = 4 |
Specify the width of the b8PpuBgTile array in powers of 2. For example, if you specify 4, it will be 2^4=16. Recommended value is 4. | |
u16 | _h_pow2 = 5 |
Specify the height of the b8PpuBgTile array in powers of 2. For example, if you specify 5, it will be 2^5=32. Recommended value is 5. | |
u16 | _h_disp = 30 |
Specifies the display area height in decimal units. | |
bool | _scroll = true |
Indicates whether scrolling is enabled when the text exceeds the display height. | |
This structure is used to manage the context of the buffer output.
u16 bgprint::Context::_h_disp = 30 |
Specifies the display area height in decimal units.
This value determines the height of the actual visible area on the screen. It is defined in decimal format, allowing fine control over the display area. Recommended value is 30.
bool bgprint::Context::_scroll = true |
Indicates whether scrolling is enabled when the text exceeds the display height.
If set to true, the text will scroll upward when it reaches the bottom of the display area.
b8PpuBgTile* bgprint::Context::cpuaddr = nullptr |
Please specify the beginning of the b8PpuBgTile array for text output.
If nullptr is assigned, memory will be automatically allocated from the heap.