Project

General

Profile

Previous Up Next

_ADDcompText
Adds some text into a CompText

CompText _ADDcompText (
CompText _text_
S _content_
ObjFont _font_
[I I I I] _textparams_
I _update_
)
Parameters

_text_
any CompText
_content_
new text content
_font_
font to use for new text content
_textparams_
format parameters are :
text color
text transparency where 0 stands for opaque and 100 for transparent
shadow value where 0 stands for no shadow and any positive integer value for the shift in pixels
shadow color
_update_
indicates what part of the text to show after update, can be any of following value :
Value Meaning
CT_NOCHANGE text position remains unchanged
CT_BEGIN text position is moved to top
CT_END text position is moved to bottom
Return value

same CompText
Remark

_font_ and _textparams_ must be nil : features not yet implemented.