eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_console.c File Reference
#include "d4d.h"
#include "common_files/d4d_private.h"
Include dependency graph for d4d_console.c:

Macros

#define _calc
 

Functions

void D4D_ConsoleOnMessage (D4D_MESSAGE *pMsg)
 
static void D4D_CnslNewLine (D4D_OBJECT_PTR pObj, D4D_BOOL returnCarrier)
 
static D4D_BOOL D4D_CnslPutCharInt (D4D_OBJECT_PTR pObj, D4D_TCHAR ch)
 
static void D4D_CnslUpdateScrollbars (D4D_OBJECT *pThis)
 
static void D4D_CnslOnInit (D4D_MESSAGE *pMsg)
 
static void D4D_ConsoleTimeTick (D4D_MESSAGE *pMsg)
 
static D4D_INDEX D4D_CnslFindMaxTextLenght (D4D_TCHAR *pText, D4D_FONT font, D4D_INDEX startOffset, D4D_INDEX maxLenght)
 
static void D4D_CnslValue2Coor (D4D_OBJECT *pThis)
 
static void D4D_ConsoleOnDraw (D4D_MESSAGE *pMsg)
 
void D4D_CnslScrollBarsFeedBack (D4D_OBJECT *pThis, D4D_INDEX old_position, D4D_INDEX new_position)
 
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...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_consoleSysFunc
 

Detailed Description

D4D driver console object c file.

Author
Petr Gargulak
Version
0.0.28.0
Date
Oct-15-2013

Definition in file d4d_console.c.

Macro Definition Documentation

#define _calc

Definition at line 79 of file d4d_console.c.

Function Documentation

static D4D_INDEX D4D_CnslFindMaxTextLenght ( D4D_TCHAR pText,
D4D_FONT  font,
D4D_INDEX  startOffset,
D4D_INDEX  maxLenght 
)
static

Definition at line 118 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_CnslNewLine ( D4D_OBJECT_PTR  pObj,
D4D_BOOL  returnCarrier 
)
static

Definition at line 443 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_CnslOnInit ( D4D_MESSAGE pMsg)
static

Definition at line 297 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static D4D_BOOL D4D_CnslPutCharInt ( D4D_OBJECT_PTR  pObj,
D4D_TCHAR  ch 
)
static

THE INTERNAL HELP FUNCTIONS

Definition at line 352 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_CnslScrollBarsFeedBack ( D4D_OBJECT pThis,
D4D_INDEX  old_position,
D4D_INDEX  new_position 
)

Definition at line 394 of file d4d_console.c.

Here is the call graph for this function:

static void D4D_CnslUpdateScrollbars ( D4D_OBJECT pThis)
static

Definition at line 405 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_CnslValue2Coor ( D4D_OBJECT pThis)
static

Definition at line 82 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ConsoleOnDraw ( D4D_MESSAGE pMsg)
static

Definition at line 145 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_ConsoleOnMessage ( D4D_MESSAGE pMsg)

THE INTERNAL API FUNCTIONS

Definition at line 774 of file d4d_console.c.

Here is the call graph for this function:

static void D4D_ConsoleTimeTick ( D4D_MESSAGE pMsg)
static

Definition at line 323 of file d4d_console.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_consoleSysFunc

Definition at line 62 of file d4d_console.c.