ACPICA - Replace acacess.h with a modified version of the ForgeOS one, no longer...
[tpg/acess2.git] / Usermode / Applications / gui_terminal_src / display.c
index 8b61bd8..1b026d5 100644 (file)
@@ -42,6 +42,8 @@ struct sLine {
 };
 
 struct sTerminal {
+       void    *TermState;
+       
         int    ViewCols;
         int    ViewRows;
 
@@ -97,6 +99,13 @@ tTerminal *Display_Init(int Cols, int Lines, int ExtraScrollbackLines)
        return term;
 }
 
+void *Display_GetTermState(tTerminal *Term) {
+       return Term->TermState;
+}
+void Display_SetTermState(tTerminal *Term, void *State) {
+       Term->TermState = State;
+}
+
 // Return the byte length of a single on-screen character
 size_t _GetCharLength(size_t AvailLength, const char *Text, uint32_t *BaseCodepoint)
 {
@@ -458,6 +467,10 @@ void Display_ClearLines(tTerminal *Term, int Dir)  // 0: All, 1: Forward, -1: Rev
        }
 }
 
+void Display_ResetAttributes(tTerminal *Term)
+{
+       UNIMPLIMENTED();
+}
 void Display_SetForeground(tTerminal *Term, uint32_t RGB)
 {
        char    buf[7+1];
@@ -523,3 +536,8 @@ void Display_ShowAltBuffer(tTerminal *Term, bool AltBufEnabled)
        Display_int_SetCursor(Term, row, col);
 }
 
+void Display_SetTitle(tTerminal *Term, const char *Title)
+{
+       _SysDebug("TODO: Set window title to '%s'", Title);
+}
+

UCC git Repository :: git.ucc.asn.au