1. wxEuphoria window - placing text

Hi there,

I just started looking into Euphoria today, and I have some newbie questions.
Following the directions from Guiphoria, I created a simple window with no
controls. That's how I want to keep it, as I'd like to make an ASCII
based game. I tried to figure it out from others coding examples, but came
up dry. How do I just place text on there? I messed around with wPuts and
paint rectangle, but no luck.

Take it easy,


Macoln

new topic     » topic index » view message » categorize

2. Re: wxEuphoria window - placing text

to my understanding (if it is anything like win32lib), you need to place the 
text placing or drawing routines inside an *onpaint* event handler. consult the
documentation for wxeuphoria on event handlers and set up the appropriate
onpaint
handler in wxeu and place your drawing functions inside.

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria window - placing text

Macoln wrote:
> 
> controls. That's how I want to keep it, as I'd like to make an ASCII
> based game. I tried to figure it out from others coding examples, but came
> up dry. How do I just place text on there?

Did you look at the "text-on-window.exw" example?


-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu