Guichan implementation

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
aanderse
Posts: 155
Joined: Sun Aug 10, 2008 2:02 pm
Location: Canada

Guichan implementation

Post by aanderse »

This is a project I wanted to do a couple months ago when I first came to Irrlicht. At the time I didn't have the knowledge required to complete it, so I scrapped it and thought I'd come back to it later. Yesterday I was surfing the net and saw a project using Guichan so I thought I'd try to implement Guichan with Irrlicht again.

What is Guichan? From the website... http://guichan.sourceforge.net/wiki/index.php/About
Guichan is a small, efficient C++ GUI library designed for games. It comes with a standard set of widgets and can use several different back-ends for displaying graphics and grabbing user input.
I started this when I got home from work last night but didn't finish until pretty late so I forgot to take some screenshots; I'll post some tonight.

What is missing/broken:
- Guichan wants a function to draw a single pixel to the screen; I've submitted a patch for Irrlicht to include a function to do this (but in the meantime have implemented a hack)
- The implementation of the Guichan input handler for Irrlicht is pretty lacking. This is because I haven't used the Irrlicht input system enough to properly finish this function. I'll read up on Irrlicht input today and get this finished soon.

Benefits:
If you want to know the benefits of using Guichan you can read the Guichan wiki which has lots of information http://guichan.sourceforge.net/wiki/index.php/Main_Page
Guichan is different than Irrlicht gui. Irrlicht gui may be much more suited for your needs. There's usually not a definitive "which one is better" answer to these questions, just based on your needs. So if you are interested read the Guichan api and see if this is something you might want to use.

Help!:
- Someone who has Direct X experience please read this thread http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=30741 and implement the drawPixel function for the 2 Direct X drivers please!
- Review the code, optimize, tell me what I'm doing wrong please!

Is there a place to host this code?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

For file hosting just upload to somewhere like mediafire/rapidshare/megaupload etc and then post the link.

I'd advise using mediafire as the files will remain there (if you signup) and it will give you a download counter and is a pretty useful site!
Image Image Image
aanderse
Posts: 155
Joined: Sun Aug 10, 2008 2:02 pm
Location: Canada

Post by aanderse »

a friend was kind enough to host this for me:
http://www.techiem2.net/files/irr-chan.zip

you need to download and install guichan for this to work:
http://guichan.googlecode.com/files/gui ... 8.1.tar.gz

once you have guichan installed you can go into the irr-chan.zip file and there is an "examples" directory which provides a makefile. you will need to modify this to fit your own irrlicht paths. sorry no windows binaries/builds, but i don't run any machines with windows on them.

the makefile will compile 3 examples which you can check out!
aanderse
Posts: 155
Joined: Sun Aug 10, 2008 2:02 pm
Location: Canada

Post by aanderse »

took a screenshot

http://img404.imageshack.us/my.php?image=guichanzr4.png

all the gui good stuff: icons, windows, labels, lists, text, text areas, buttons, radio buttons, check boxes, tabbed areas, scroll bars.
it is very easy to extend guichan to add new widgets, etc...
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

sweeeet 8)
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Post by netpipe »

added some CB projects to it.

http://www.xup.in/dl,18442296/irr-guichan.7z/

it would be cool if the text was selectable somehow.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
Post Reply