This wiki is out of date, use the continuation of this wiki instead

Text

From FenixWiki

Revision as of 09:05, 7 August 2007 by Sandman (Talk | contribs)
Jump to: navigation, search

Definition

A text is a text written on screen with texts functions, like write() or write_int(). A text is addressed using the associated TextID.

There are two kinds of texts:

  • Static text is any text written with write(); it is static, because the content of the text cannot be changed after writing, but the text can be moved and deleted.
  • Dynamic text is any text written with write_xxx() functions; it is dynamic because the content of the text always reflects the current value of the variable specified. Of course moving and deleting is also possible.

Example

Program f;
Begin

    write(0,1,1,0,"FPS:");
    write_int(0,31,1,0,&fps);

    Repeat
        frame;
    Until(key(_esc))

End

Used in example: write(), write_int(), fps

See also

Personal tools