|
Post by airblaster on Mar 18, 2005 20:56:54 GMT
Hi,
is there a chance you will add enhanced text functions? E.g. to simplify creation of a chatlog it would be nice to have functions to - make a text-object scrollable - add new lines to an existing text object - scroll a text object one page up/down, scroll to its beginning/end, scroll up/down x lines
|
|
|
Post by Xpressive on Mar 19, 2005 10:40:13 GMT
Have a look at the additional text commands like HUD_GetLines( ), HUD_GetLineHeight( ), HUD_CountLines( ) and HUD_GetTextWidth( ). Using these commands you should be able to create scrolling texts by modifying a text string internally, then using HUD_SetText( ) to print that string to screen.
Remember, that you can use "|" to force a line break anywhere, too. I will add a simple example on how to create scrolling texts as soon as I'll find the time and post it here then.
EDIT: added two new commands that can be used to easily create scrolling texts. The update will be available tomorrow.
|
|