Qpalzmx
Member
|
TextDS Problem
Hello,
I just want to print some words with different TextDS. But
It don't work. No text is printed.
Code:
TextDS tds;
Bool Init()
{
tds.color = RED;
return true;
}
void Draw()
{
D.clear(BLACK);
D.text(tds,0,0,"ABC");
}
It works!
Code:
void Draw()
{
D.clear(BLACK);
TextDS tds;
tds.color = RED;
D.text(tds,0,0,"ABC");
}
What's the problem?
Thanks!
|
|
01-22-2010 07:14 AM |
|
Esenthel
Administrator
|
RE: TextDS Problem
in first you'll need to call tds.reset first
|
|
01-22-2010 05:28 PM |
|