TEXT* name = { ... }

This defines a formatted text named name. Texts are used to hold string pointer arrays and to display them for menus, messages or dialogs.

Example:

STRING* welcome_str = "Welcome";

TEXT* welcome_txt =	
{
  layer = 1;
  pos_x = 10;
  pos_y = 10;
  string (welcome_str,"this is","a","TEXT");
  flags = CENTER_X | TRANSLUCENT | SHOW;
} 

Remarks:

See also:

txt_create, layer, pos_x, pos_y, size_y, offset_y, strings, font, string, alpha, flags

► latest version online