This section specifies the exact usage for each API function.
The function clear whole edit box data.
- Parameters
-
pObj | - pointer to the edit box object |
- Returns
- none
- Note
- none
Definition at line 621 of file d4d_edit_box.c.
The function returns the cursor position.
- Parameters
-
pObj | - pointer to the edit box object |
- Returns
- the position of cursor
- Note
- none
Definition at line 604 of file d4d_edit_box.c.
The function returns the pointer to the edit box text buffer.
- Parameters
-
pObj | - pointer to the edit box object |
- Returns
- pointer to edit box text
- Note
- none
Definition at line 652 of file d4d_edit_box.c.
The function puts one char on cursor position and updates cursor.
- Parameters
-
pObj | - pointer to the edit box object |
ch | - char that will be puts on edit box |
- Returns
- D4D_TRUE - character has been add / D4D_FALSE - character hasn't been add
- Note
- The result returns if the character was add or not (non printed characters, max count of characters achived).
Definition at line 393 of file d4d_edit_box.c.
The function puts string on cursor position and updates cursor.
- Parameters
-
pObj | - pointer to the edit box object |
pText | - pointer to string that should be added |
- Returns
- D4D_TRUE - string has been completely add / D4D_FALSE - string hasn't ben complete add
- Note
- The result returns if the string was add or not (non printed characters, max count of characters achived).
Definition at line 455 of file d4d_edit_box.c.
The function chenge the cursor position to new one.
- Parameters
-
pObj | - pointer to the edit box object |
newPos | - new position index |
- Returns
- the real position of cursor after this operation
- Note
- The real position could be different to request one in case the the limits are exceed.
Definition at line 490 of file d4d_edit_box.c.