Significant refactoring with separate Console Handler.
This commit is contained in:
11
AVR Working Controller/ConsoleHandler.h
Normal file
11
AVR Working Controller/ConsoleHandler.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
void Console_Init(short Width, short Height, short bottomScrollHeight);
|
||||
void Console_Cls();
|
||||
bool Console_SetCursorVisibility(bool visible);
|
||||
void Console_SetCursor(short x, short y);
|
||||
void Console_Write(const char *text);
|
||||
void Console_WriteAt(short x, short y, const char *text);
|
||||
void Console_ScrollBottomRegion();
|
||||
bool Console_AdvanceToNextLineIfNotRoomFor(short x, int scroll = -1);
|
||||
Reference in New Issue
Block a user