Added SetBufferCursor

This commit is contained in:
Alex 2022-10-25 04:56:05 +03:00
parent e11b49b566
commit 50ebd3fbd1
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -135,6 +135,11 @@ namespace Video
this->Buffers[Index]->Checksum = 0; // Making sure that the buffer is not used anymore this->Buffers[Index]->Checksum = 0; // Making sure that the buffer is not used anymore
delete this->Buffers[Index]; delete this->Buffers[Index];
} }
void SetBufferCursor(int Index, uint32_t X, uint32_t Y)
{
this->Buffers[Index]->CursorX = X;
this->Buffers[Index]->CursorY = Y;
}
void SetPixel(uint32_t X, uint32_t Y, uint32_t Color, int Index) void SetPixel(uint32_t X, uint32_t Y, uint32_t Color, int Index)
{ {