eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_edit_box.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_EDIT_BOX_F_DEFAULT
 This is edit box init flags. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FOCUSRECT | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_DENTED) as a default. More...
 
#define D4D_EDIT_BOX_FNT_PRTY_DEFAULT
 This is edit box init font properties. If not defined, it sets to ( 0 ) as a default. More...
 
#define D4D_EDIT_BOX_TXT_PRTY_DEFAULT
 This is edit box init text properties. If not defined, it sets to (D4D_ALIGN_H_LEFT_MASK | D4D_ALIGN_V_CENTER_MASK) as a default. More...
 
#define D4D_EDIT_BOX_CURSOR_BLINK_TICK_COUNTER
 This is definition of edit box cursor blink time (in ticks of eGUI time ticks - D4D_TimeTickPut). If not defined, it sets to ( 10 ) as a default. More...
 
#define D4D_EDIT_BOX_FLAGS_REDRAWTEXT
 
#define D4D_EDIT_BOX_FLAGS_MOVECURSOR
 
#define D4D_EDIT_BOX_FLAGS_REDRAWCURSOR
 
#define D4D_EDIT_BOX_FLAGS_CURSORSTATE
 
#define D4D_EDIT_BOX_FLAGS_FULL
 
#define D4D_EDIT_BOX_FLAGS_CHANGETEXT
 
#define D4D_GET_EDIT_BOX(pObj)
 
#define D4D_GET_EDIT_BOX_DATA(pEditBox)
 
#define _D4D_DECLARE_EDIT_BOX(type, name, x, y, cx, cy, radius, pMargin, pRelations, flags, pScheme, pInitText, fontId, maxStr, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the Edit Box object structure in memory including all substructures. More...
 
#define D4D_DECLARE_EDIT_BOX(name, x, y, cx, cy, pRelations, flags, pScheme, pInitText, fontId, maxStr, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the Edit Box object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_EDIT_BOX(name, x, y, cx, cy, pRelations, pInitText, fontId, maxStr, pOnEvent)
 Macro that create the Edit Box object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_REDIT_BOX(name, x, y, cx, cy, radius, pRelations, flags, pScheme, pInitText, fontId, maxStr, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the rounded Edit Box object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_REDIT_BOX(name, x, y, cx, cy, radius, pRelations, pInitText, fontId, maxStr, pOnEvent)
 Macro that create the rounded Edit Box object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_EDIT_BOX_INRAM(name, x, y, cx, cy, pRelations, flags, pScheme, pInitText, fontId, maxStr, pUser, pOnEvent, pOnUsrMsg)
 Same as D4D_DECLARE_EDIT_BOX, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_EDIT_BOX_INRAM(name, x, y, cx, cy, pRelations, pInitText, fontId, maxStr, pOnEvent)
 Same as D4D_DECLARE_STD_EDIT_BOX, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_REDIT_BOX_INRAM(name, x, y, cx, cy, radius, pRelations, flags, pScheme, pInitText, fontId, maxStr, pUser, pOnEvent, pOnUsrMsg)
 Same as D4D_DECLARE_REDIT_BOX, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_REDIT_BOX_INRAM(name, x, y, cx, cy, radius, pRelations, pInitText, fontId, maxStr, pOnEvent)
 Same as D4D_DECLARE_STD_REDIT_BOX, but is created in RAM instead of the ROM memory. More...
 

Typedefs

typedef void(* D4D_EDIT_BOX_ON_EVENT )(D4D_OBJECT *pThis, D4D_EVENTID eventId)
 Type definition of edit box on event callback function. More...
 
typedef sByte D4D_EDIT_BOX_INDEX
 
typedef Byte D4D_EDIT_BOX_FLAGS
 

Functions

D4D_BOOL D4D_EditBoxPutChar (D4D_OBJECT_PTR pObj, D4D_TCHAR ch)
 The function puts one char on cursor position and updates cursor. More...
 
D4D_BOOL D4D_EditBoxPutString (D4D_OBJECT_PTR pObj, D4D_TCHAR *pText)
 The function puts string on cursor position and updates cursor. More...
 
D4D_INDEX D4D_EditBoxSetCursor (D4D_OBJECT_PTR pObj, D4D_INDEX newPos)
 The function chenge the cursor position to new one. More...
 
D4D_INDEX D4D_EditBoxGetCursor (D4D_OBJECT_PTR pObj)
 The function returns the cursor position. More...
 
void D4D_EditBoxClearAll (D4D_OBJECT_PTR pObj)
 The function clear whole edit box data. More...
 
D4D_TCHARD4D_EditBoxGetText (D4D_OBJECT_PTR pObj)
 The function returns the pointer to the edit box text buffer. More...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_editBoxSysFunc
 

Detailed Description

D4D Driver editBox object header file.

Author
Petr Gargulak
Version
0.0.5.0
Date
Jan-14-2014

Definition in file d4d_edit_box.h.

Macro Definition Documentation

#define D4D_EDIT_BOX_FLAGS_CHANGETEXT

Definition at line 115 of file d4d_edit_box.h.

#define D4D_EDIT_BOX_FLAGS_CURSORSTATE

Definition at line 113 of file d4d_edit_box.h.

#define D4D_EDIT_BOX_FLAGS_FULL

Definition at line 114 of file d4d_edit_box.h.

#define D4D_EDIT_BOX_FLAGS_MOVECURSOR

Definition at line 111 of file d4d_edit_box.h.

#define D4D_EDIT_BOX_FLAGS_REDRAWCURSOR

Definition at line 112 of file d4d_edit_box.h.

#define D4D_EDIT_BOX_FLAGS_REDRAWTEXT

Definition at line 110 of file d4d_edit_box.h.

#define D4D_GET_EDIT_BOX (   pObj)

Definition at line 141 of file d4d_edit_box.h.

#define D4D_GET_EDIT_BOX_DATA (   pEditBox)

Definition at line 142 of file d4d_edit_box.h.

Typedef Documentation

Definition at line 108 of file d4d_edit_box.h.

Definition at line 106 of file d4d_edit_box.h.

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_editBoxSysFunc

Definition at line 56 of file d4d_edit_box.c.