Page 1 of 1

producer and cegui tutorial

Posted: Sun Aug 21, 2005 00:24
by granx
Hi,
I've started a new tutorial on the wiki with a lot of example code for newbies wishing to gain insight injecting CEGUI input for a given windowing toolkit. I think the using Producer is a good example for accomplishing this goal. It's pretty ugly right now as I was not able to quicly find docs on the wiki syntax necessary for formatting the page. I'll revisit it, adding comments and more code if necessary, but I was fed up with the wiki display results, so I quit for the night. I hope that is not a problem. If you can point me to a a reference for the wiki syntax, especially one that will help me mark the beginning and ending of a code block, I would appreciate it much.

When this is finished, I would like to show an example of using a script module in an application to handle events. it will be an extension of this tutorial. Thanks, -granx

Re: producer and cegui tutorial

Posted: Sun Aug 21, 2005 08:56
by scriptkid
Hi!

I'm anxious to see this! Thanks in advance :-)

For the Wiki page, can't you try to copy the sources from another page which includes code blocks, like:

http://www.cegui.org.uk/wiki/index.php/ ... ialisation

Good luck anyway!

Re: producer and cegui tutorial

Posted: Sun Aug 21, 2005 16:09
by CrazyEddie
Thanks for your efforts - it's very much appreciated :)

Try this:
http://meta.wikimedia.org/wiki/Help:Con ... or_editors

Re: producer and cegui tutorial

Posted: Mon Aug 22, 2005 10:57
by boto
good work granx ;-)

cheers
boto

Re: producer and cegui tutorial

Posted: Tue Aug 23, 2005 00:42
by granx
scriptkid,
i'm glad you're excited. i don't see what the page you recommended does differently than what i'm doing.

CE,
Same to you, man. CEGUI rocks! Unfortunately, I did not see anything that helped me 'block-off' code chunks. It seems like the wiki parser does this automagically. There has to be a tag that you can use to override it. It sure is doing a bad job with my code snippets.


boto,
thanks for the vote of confidence. ;)

Re: producer and cegui tutorial

Posted: Tue Aug 23, 2005 12:34
by CrazyEddie
Yeah I think you can't define code in blocks like you can here on the forums, for example.

Basically, you just start each line with a space.