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_TCHAR * | D4D_EditBoxGetText (D4D_OBJECT_PTR pObj) |
The function returns the pointer to the edit box text buffer. More... | |
This section specifies the exact usage for each API function.
void D4D_EditBoxClearAll | ( | D4D_OBJECT_PTR | pObj | ) |
The function clear whole edit box data.
pObj | - pointer to the edit box object |
Definition at line 621 of file d4d_edit_box.c.
D4D_INDEX D4D_EditBoxGetCursor | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the cursor position.
pObj | - pointer to the edit box object |
Definition at line 604 of file d4d_edit_box.c.
D4D_TCHAR* D4D_EditBoxGetText | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the pointer to the edit box text buffer.
pObj | - pointer to the edit box object |
Definition at line 652 of file d4d_edit_box.c.
D4D_BOOL D4D_EditBoxPutChar | ( | D4D_OBJECT_PTR | pObj, |
D4D_TCHAR | ch | ||
) |
The function puts one char on cursor position and updates cursor.
pObj | - pointer to the edit box object |
ch | - char that will be puts on edit box |
Definition at line 393 of file d4d_edit_box.c.
D4D_BOOL D4D_EditBoxPutString | ( | D4D_OBJECT_PTR | pObj, |
D4D_TCHAR * | pText | ||
) |
The function puts string on cursor position and updates cursor.
pObj | - pointer to the edit box object |
pText | - pointer to string that should be added |
Definition at line 455 of file d4d_edit_box.c.
D4D_INDEX D4D_EditBoxSetCursor | ( | D4D_OBJECT_PTR | pObj, |
D4D_INDEX | newPos | ||
) |
The function chenge the cursor position to new one.
pObj | - pointer to the edit box object |
newPos | - new position index |
Definition at line 490 of file d4d_edit_box.c.