#include <NexText.h>
|
static void | iterate (NexTouch **list, uint8_t pid, uint8_t cid, int32_t event) |
|
uint8_t | getObjPid (void) |
|
uint8_t | getObjCid (void) |
|
const char * | getObjName (void) |
|
NexText::NexText |
( |
uint8_t |
pid, |
|
|
uint8_t |
cid, |
|
|
const char * |
name |
|
) |
| |
Constructor.
- Parameters
-
pid | - page id. |
cid | - component id. |
name | - pointer to an unique name in range of all components. |
uint32_t NexText::Get_background_color_bco |
( |
uint32_t * |
number | ) |
|
Get bco attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::Get_background_crop_picc |
( |
uint32_t * |
number | ) |
|
Get picc attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::Get_background_image_pic |
( |
uint32_t * |
number | ) |
|
Get pic attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::Get_font_color_pco |
( |
uint32_t * |
number | ) |
|
Get pco attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::Get_place_xcen |
( |
uint32_t * |
number | ) |
|
Get xcen attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::Get_place_ycen |
( |
uint32_t * |
number | ) |
|
Get ycen attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexText::getFont |
( |
uint32_t * |
number | ) |
|
Get font attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint16_t NexText::getText |
( |
char * |
buffer, |
|
|
uint16_t |
len |
|
) |
| |
Get text attribute of component.
- Parameters
-
buffer | - buffer storing text returned. |
len | - length of buffer. |
- Returns
- The real length of text returned.
bool NexText::Set_background_color_bco |
( |
uint32_t |
number | ) |
|
Set bco attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::Set_background_crop_picc |
( |
uint32_t |
number | ) |
|
Set picc attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::Set_background_image_pic |
( |
uint32_t |
number | ) |
|
Set pic attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::Set_font_color_pco |
( |
uint32_t |
number | ) |
|
Set pco attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::Set_place_xcen |
( |
uint32_t |
number | ) |
|
Set xcen attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::Set_place_ycen |
( |
uint32_t |
number | ) |
|
Set ycen attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::setFont |
( |
uint32_t |
number | ) |
|
Set font attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexText::setText |
( |
const char * |
buffer | ) |
|
Set text attribute of component.
- Parameters
-
buffer | - text buffer terminated with '\0'. |
- Returns
- true if success, false for failure.
The documentation for this class was generated from the following files: