TIM SDK
TIM API C
|
|
Custom receipt formatter line definition.
Contains array of text elements.
Data Fields | |
const ta_s_custom_receipt_formatter_text_element_t * | elements |
Array of elements in the line. More... | |
size_t | element_count |
Number of elements in array. | |
ta_e_custom_receipt_formatter_condition_t | condition |
int | condition_mask |
Condition mask. More... | |
int | padding |
Padding character. More... | |
ta_e_custom_receipt_formatter_condition_t ta_s_custom_receipt_formatter_line_format::condition |
int ta_s_custom_receipt_formatter_line_format::condition_mask |
Condition mask.
Set bit "1 << condition" to enable respective condition. Line is shown if at least one enabled condition is fulfilled.
Condition flag are values ta_crfc_* from ta_e_custom_receipt_formatter_condition_t.
const ta_s_custom_receipt_formatter_text_element_t* ta_s_custom_receipt_formatter_line_format::elements |
Array of elements in the line.
Array has to point to valid memory location during construction of the object. After the object has been constructed the memory location can become invalid.
If array count is 0 the array pointer can be 0-pointer.
int ta_s_custom_receipt_formatter_line_format::padding |
Padding character.
Character has to be a valid printable unicode character.