496
Graphics / Two questions.
« on: September 05, 2011, 08:33:13 pm »
You call "App.Draw(diala)" but you aren't displaying it (with App.Display).
I would use a bool (e.g. DrawText) and do something like this:
The only thing you have to do when the user presses enter is to make DrawText true.
If you use objects over multiple files then you will have to put everything in a class and put the class in a header.
I would use a bool (e.g. DrawText) and do something like this:
Code: [Select]
App.Clear();
App.Draw(Textbox);
if (DrawText)
App.Draw(diala);
App.Display();
The only thing you have to do when the user presses enter is to make DrawText true.
If you use objects over multiple files then you will have to put everything in a class and put the class in a header.