Choco OS
V.0.16.9.0
Join to the chocolate world
|
#include <oc_terminal.h>
Data Fields | |
bool(* | ResetDevice )(void *Context) |
bool(* | ClearScreen )(void *Context) |
oC_Terminal_CursorPos_t(* | GetCursorPosition )(void *Context) |
bool(* | EnableLineWrap )(void *Context) |
bool(* | DisableLineWrap )(void *Context) |
bool(* | SetCursorHome )(void *Context, oC_Terminal_CursorPos_t CursorPos) |
bool(* | CursorHome )(void *Context) |
bool(* | CursorUp )(void *Context, int Count) |
bool(* | CursorDown )(void *Context, int Count) |
bool(* | CursorForward )(void *Context, int Count) |
bool(* | CursorBackward )(void *Context, int Count) |
bool(* | SaveCursorPosition )(void *Context) |
bool(* | RestoreCursorPosition )(void *Context) |
bool(* | SaveCursorPositionAndAttrs )(void *Context) |
bool(* | RestoreCursorPositionAndAttrs )(void *Context) |
bool(* | EnableScrollScreen )(void *Context) |
bool(* | EnableScrollScreenTo )(void *Context, int startRow, int endRow) |
bool(* | ScrollUp )(void *Context) |
bool(* | ScrollDown )(void *Context) |
bool(* | SetTab )(void *Context) |
bool(* | ClearTab )(void *Context) |
bool(* | ClearAllTabs )(void *Context) |
bool(* | EraseToEndOfLine )(void *Context) |
bool(* | EraseToStartOfLine )(void *Context) |
bool(* | EraseCurrentLine )(void *Context) |
bool(* | SetKeyDefinition )(void *Context, char Key, char *String) |
bool(* | ResetAllAttributes )(void *Context) |
bool(* | SetBright )(void *Context) |
bool(* | SetDim )(void *Context) |
bool(* | SetUnderscore )(void *Context) |
bool(* | SetBlink )(void *Context) |
bool(* | SetReverese )(void *Context) |
bool(* | SetHidden )(void *Context) |
bool(* | SetForegroundColor )(void *Context, oC_Terminal_Color_t Color) |
bool(* | SetBackgroundColor )(void *Context, oC_Terminal_Color_t Color) |
The structure with interface configuration
Definition at line 76 of file oc_terminal.h.
bool(* ClearAllTabs) (void *Context) |
bool(* ClearScreen) (void *Context) |
bool(* ClearTab) (void *Context) |
bool(* CursorBackward) (void *Context, int Count) |
Moves cursor the Count number characters backward
Count | Characters to moves cursor |
Definition at line 185 of file oc_terminal.h.
bool(* CursorDown) (void *Context, int Count) |
Moves cursor the Count line down
Count | Lines to moves cursor |
Definition at line 163 of file oc_terminal.h.
bool(* CursorForward) (void *Context, int Count) |
Moves cursor the Count number characters forward
Count | Characters to moves cursor |
Definition at line 174 of file oc_terminal.h.
bool(* CursorHome) (void *Context) |
bool(* CursorUp) (void *Context, int Count) |
Moves cursor the Count line up
Count | Lines to moves cursor |
Definition at line 152 of file oc_terminal.h.
bool(* DisableLineWrap) (void *Context) |
The function disable wrapping of lines
Definition at line 121 of file oc_terminal.h.
bool(* EnableLineWrap) (void *Context) |
The function enables wrapping of lines
Definition at line 112 of file oc_terminal.h.
bool(* EnableScrollScreen) (void *Context) |
Enable scrolling for entire display.
Definition at line 230 of file oc_terminal.h.
bool(* EnableScrollScreenTo) (void *Context, int startRow, int endRow) |
Enable scrolling from row {startRow} to row {endRow}.
startRow | start row of scroll |
endRow | end row of scroll |
Definition at line 242 of file oc_terminal.h.
bool(* EraseCurrentLine) (void *Context) |
bool(* EraseToEndOfLine) (void *Context) |
Erases from the current cursor position to the end of the current line.
Definition at line 296 of file oc_terminal.h.
bool(* EraseToStartOfLine) (void *Context) |
Erases from the current cursor position to the start of the current line.
Definition at line 305 of file oc_terminal.h.
oC_Terminal_CursorPos_t(* GetCursorPosition) (void *Context) |
The function returns current position of the cursor
Definition at line 103 of file oc_terminal.h.
bool(* ResetAllAttributes) (void *Context) |
Reset all set attributes and restore default values
Definition at line 335 of file oc_terminal.h.
bool(* ResetDevice) (void *Context) |
The function for reseting terminal device
Definition at line 85 of file oc_terminal.h.
bool(* RestoreCursorPosition) (void *Context) |
Restores previous saved cursor position
Definition at line 203 of file oc_terminal.h.
bool(* RestoreCursorPositionAndAttrs) (void *Context) |
Restores cursor position from last save and attributes from last save
Definition at line 221 of file oc_terminal.h.
bool(* SaveCursorPosition) (void *Context) |
Saves current position of the cursor to restore it later
Definition at line 194 of file oc_terminal.h.
bool(* SaveCursorPositionAndAttrs) (void *Context) |
Saves current position of the cursor and attributes to restore it later
Definition at line 212 of file oc_terminal.h.
bool(* ScrollDown) (void *Context) |
bool(* ScrollUp) (void *Context) |
bool(* SetBackgroundColor) (void *Context, oC_Terminal_Color_t Color) |
Sets background color
Color | Color to set |
Definition at line 411 of file oc_terminal.h.
bool(* SetBlink) (void *Context) |
bool(* SetBright) (void *Context) |
bool(* SetCursorHome) (void *Context, oC_Terminal_CursorPos_t CursorPos) |
Sets home position of the cursor
CursorPos | Position to set |
Definition at line 132 of file oc_terminal.h.
bool(* SetDim) (void *Context) |
bool(* SetForegroundColor) (void *Context, oC_Terminal_Color_t Color) |
Sets foreground color
Color | Color to set |
Definition at line 400 of file oc_terminal.h.
bool(* SetHidden) (void *Context) |
bool(* SetKeyDefinition) (void *Context, char Key, char *String) |
Associates a string of text to a keyboard key. {key} indicates the key by its ASCII value.
Key | Ascii code of key to define |
String | String to associate with the Key |
Definition at line 326 of file oc_terminal.h.
bool(* SetReverese) (void *Context) |
bool(* SetTab) (void *Context) |
bool(* SetUnderscore) (void *Context) |