TAP_Win_AddItem

Topfield Documentation

void TAP_Win_AddItem(TYPE_Window *win, char *str);

It adds the optional strings after changing to the list mode.

Additional Documentation

str can contain additional control characters:

| acts as an absolute 100 pixel tab. Text after the first | is placed at 100 pixels and coloured blue. Text after the second | is places at 200 pixels and coloured teal.

@ positions and colours text with the same rules as |, but only shows the text when the item is selected.

Note that you can manipulate the TYPE_Window structure directly once the items have been added, which allows values to be changed. To refresh the screen use

TAP_Win_SetSelection(win, TAP_Win_GetSelection(win));