|
0 registered members (),
5,733
guests, and 39
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Linebreak in draw_text ???
[Re: pegamode]
#224601
08/31/08 08:08
08/31/08 08:08
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Line break for the draw_text command is "\n" Lower case N and carefully note the direction of the slash...
EG draw_text("First Line\nSecond Line",xxx,xxx) will display as "First Line" "Second Line"
Look up the formatting rules for PRINTF command and they should be the same for text manipulation.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Linebreak in draw_text ???
[Re: pegamode]
#224820
09/01/08 11:43
09/01/08 11:43
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Also try "\\n" rather than "\n" in the FILE. I think it may be losing the first "\" during the read process. I havent tested thisd though.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|