From 50ebd3fbd1ea9b40c0f1f83217d7aec6a1f851b6 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 25 Oct 2022 04:56:05 +0300 Subject: [PATCH] Added SetBufferCursor --- include/display.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/display.hpp b/include/display.hpp index f0a3a19..1d0d47f 100644 --- a/include/display.hpp +++ b/include/display.hpp @@ -135,6 +135,11 @@ namespace Video this->Buffers[Index]->Checksum = 0; // Making sure that the buffer is not used anymore 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) {