void HelloWorldModule::Draw() { // BeginDraw prevents screen updates until a matching EndDraw BeginDraw(); // Clear the screen ClearScreen(); // Draw window border DrawFrame(); // Draw any children objects DrawChildren(); // Draw "Hey" at relative window position (10,10) PegColor col; PegPoint p = {10,10}; DrawTextR(p,"Hey",col,PegTextThing::GetBasicFont()); // Matching EndDraw. If this is the outer layer EndDraw // then the screen will be updated. EndDraw(); }
This is from HelloWorld.
How can I draw a text, maybe after a buttonclick, later?
I don´t cant edit the window, only when I edit the Draw() sequence.
Edited by NT2005, 28 October 2009 - 09:49 PM.