NXC: automatic word wrapping

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

NXC: automatic word wrapping

Post 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?
mcsummation
Posts: 220
Joined: 23 Jan 2012, 17:07
Location: Round Rock, TX

Re: NXC: automatic word wrapping

Post by mcsummation »

There are a number of user interface enhancements included in this library http://lenkaspace.net/lab/legoMindstorm ... onLibrary .
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: automatic word wrapping

Post by HaWe »

thank you, but what I actually meant was sort of parameter which could be used with TextOut or so.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: NXC: automatic word wrapping

Post by afanofosc »

The FontTextOut API function includes support for wrapping.

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

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: automatic word wrapping

Post by HaWe »

yes! DRAW_OPT_FONT_WRAP! that's it! I knew there was such a thing!
Thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests