Page 1 of 1

NXC: automatic word wrapping

Posted: 21 Aug 2012, 19:17
by HaWe
I vaguely remember that there is a possibility for an automatic word wrapping for long lines of text - I don't find where and how. Does someone know?

Re: NXC: automatic word wrapping

Posted: 22 Aug 2012, 01:26
by mcsummation
There are a number of user interface enhancements included in this library http://lenkaspace.net/lab/legoMindstorm ... onLibrary .

Re: NXC: automatic word wrapping

Posted: 22 Aug 2012, 06:40
by HaWe
thank you, but what I actually meant was sort of parameter which could be used with TextOut or so.

Re: NXC: automatic word wrapping

Posted: 23 Aug 2012, 18:30
by afanofosc
The FontTextOut API function includes support for wrapping.

http://bricxcc.sourceforge.net/nbc/nxcd ... ample.html

John Hansen

Re: NXC: automatic word wrapping

Posted: 24 Aug 2012, 06:39
by HaWe
yes! DRAW_OPT_FONT_WRAP! that's it! I knew there was such a thing!
Thank you!