Add SetDoNotScroll

This commit is contained in:
Alex
2023-03-26 21:16:02 +03:00
parent ab64b9f3b0
commit c6da67a7a3
3 changed files with 22 additions and 2 deletions

View File

@ -84,6 +84,7 @@ namespace Video
uint32_t Color;
uint32_t CursorX, CursorY;
char Brightness;
bool DoNotScroll;
long Checksum;
};
@ -135,6 +136,7 @@ namespace Video
void SetPixel(uint32_t X, uint32_t Y, uint32_t Color, int Index);
uint32_t GetPixel(uint32_t X, uint32_t Y, int Index);
void Scroll(int Index, int Lines);
void SetDoNotScroll(bool Value, int Index);
char Print(char Char, int Index, bool WriteToUART = false);
void DrawString(const char *String, uint32_t X, uint32_t Y, int Index, bool WriteToUART = false);