Merge branch 'master' of git://cadel.mutabah.net/acess2
[tpg/acess2.git] / Usermode / Applications / gui_shell_src / include / display.h
index 80bc69c..4feaf35 100644 (file)
@@ -3,11 +3,15 @@
  * - By John Hodge (thePowersGang)
  *
  * display.h
- * - RichText Termianl Translation
+ * - RichText terminal translation
  */
 #ifndef _DISPLAY_H_
 #define _DISPLAY_H_
 
+#include <stdint.h>
+
+extern void    Display_Init(int Cols, int Lines, int ExtraScrollbackLines);
+
 extern void    Display_AddText(int Length, const char *UTF8Text);
 extern void    Display_Newline(int bCarriageReturn);
 extern void    Display_SetCursor(int Row, int Col);
@@ -16,6 +20,16 @@ extern void  Display_ClearLine(int Dir);     // 0: All, 1: Forward, -1: Reverse
 extern void    Display_ClearLines(int Dir);    // 0: All, 1: Forward, -1: Reverse
 extern void    Display_SetForeground(uint32_t RGB);
 extern void    Display_SetBackground(uint32_t RGB);
+/**
+ * \brief Ensure that recent updates are flushed to the server
+ * \note Called at the end of an "input" buffer
+ */
+extern void    Display_Flush(void);
+
+/**
+ * \brief Switch the display to the alternate buffer (no scrollback)
+ */
+extern void    Display_ShowAltBuffer(int AltBufEnabled);
 
 #endif
 

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