Functions | |
D4D_BOOL | D4D_CnslPutChar (D4D_OBJECT_PTR pObj, D4D_TCHAR ch) |
The function puts one char on cursor position and updates cursor. More... | |
D4D_BOOL | D4D_CnslPutString (D4D_OBJECT_PTR pObj, D4D_TCHAR *pText) |
The function puts string on cursor position and updates cursor. More... | |
void | D4D_CnslClearLine (D4D_OBJECT_PTR pObj, D4D_INDEX line) |
The function clear one line in console. More... | |
void | D4D_CnslGoToXY (D4D_OBJECT_PTR pObj, D4D_POINT newPosition) |
The function move cursor on new position if possible. More... | |
D4D_POINT | D4D_CnslGetCursor (D4D_OBJECT_PTR pObj) |
The function returns the cursor position. More... | |
void | D4D_CnslEnsureVisible (D4D_OBJECT_PTR pObj) |
The function update automatically the scroll bars to ensure visible position of cursor. More... | |
void | D4D_CnslSetScrollBarPosition (D4D_OBJECT_PTR pObj, D4D_INDEX hor, D4D_INDEX ver) |
The function move the scroll bars on to new position if it's applicable. More... | |
D4D_POINT | D4D_CnslGetScrollBarPosition (D4D_OBJECT_PTR pObj) |
The function returns the scroll bars position. More... | |
void | D4D_CnslClearAll (D4D_OBJECT_PTR pObj) |
The function clear whole console data. More... | |
This section specifies the exact usage for each API function.
THE EXTERNAL API FUNCTIONS
void D4D_CnslClearAll | ( | D4D_OBJECT_PTR | pObj | ) |
The function clear whole console data.
pObj | - pointer to the console object |
Definition at line 734 of file d4d_console.c.
void D4D_CnslClearLine | ( | D4D_OBJECT_PTR | pObj, |
D4D_INDEX | line | ||
) |
The function clear one line in console.
pObj | - pointer to the console object |
line | - index of line that should be cleared |
Definition at line 619 of file d4d_console.c.
void D4D_CnslEnsureVisible | ( | D4D_OBJECT_PTR | pObj | ) |
The function update automatically the scroll bars to ensure visible position of cursor.
pObj | - pointer to the console object |
Definition at line 680 of file d4d_console.c.
D4D_POINT D4D_CnslGetCursor | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the cursor position.
pObj | - pointer to the console object |
Definition at line 664 of file d4d_console.c.
D4D_POINT D4D_CnslGetScrollBarPosition | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the scroll bars position.
pObj | - pointer to the console object |
Definition at line 715 of file d4d_console.c.
void D4D_CnslGoToXY | ( | D4D_OBJECT_PTR | pObj, |
D4D_POINT | newPosition | ||
) |
The function move cursor on new position if possible.
pObj | - pointer to the console object |
newPosition | - new cursor position |
Definition at line 643 of file d4d_console.c.
D4D_BOOL D4D_CnslPutChar | ( | D4D_OBJECT_PTR | pObj, |
D4D_TCHAR | ch | ||
) |
The function puts one char on cursor position and updates cursor.
pObj | - pointer to the console object |
ch | - char that will be puts on console |
Definition at line 498 of file d4d_console.c.
D4D_BOOL D4D_CnslPutString | ( | D4D_OBJECT_PTR | pObj, |
D4D_TCHAR * | pText | ||
) |
The function puts string on cursor position and updates cursor.
pObj | - pointer to the console object |
pText | - string that will be puts on console |
Definition at line 579 of file d4d_console.c.
void D4D_CnslSetScrollBarPosition | ( | D4D_OBJECT_PTR | pObj, |
D4D_INDEX | hor, | ||
D4D_INDEX | ver | ||
) |
The function move the scroll bars on to new position if it's applicable.
pObj | - pointer to the console object |
hor | - new position of horizontal scroll bar |
ver | - new position of vertical scroll bar |
Definition at line 696 of file d4d_console.c.