Temple of The Roguelike Forums

Development => Programming => Topic started by: Pueo on December 10, 2011, 06:59:40 AM

Title: GUI's
Post by: Pueo on December 10, 2011, 06:59:40 AM
//Note! Don't feel obliged to answer this question, as some looking around by me (and a good referral by XLambda, Corremn, and Dephbokks) have led me to nCurses, where I found the answer to my question (by using nCurses) in about 10 seconds. I'll leave my original post up so you can laugh at my stupidity  :P

So I'm feeling very, very stupid right now. I'm using libtcod with C, and I'm currently trying to get a simple @ moving across the screen program, but I can't figure out how to tell the computer to make a GUI.  I can get it to do plenty of stuff in the console, but I can't get it to open a GUI. I feel like I'm missing a tiny little thing, like a snippet of code that I can't find. I've google'd all over the place, but I can't find anything. Any help?
Title: Re: GUI's
Post by: RogueMaster on December 11, 2011, 10:39:54 AM
What's the problem exactly?
Title: Re: GUI's
Post by: Pueo on December 11, 2011, 04:41:12 PM
What's the problem exactly?
The problem is:
I can't get it to open a GUI.

I guess I should have put that somewhere more prominent.
Title: Re: GUI's
Post by: Kyzrati on December 12, 2011, 12:55:01 AM
Since you're using libtcod and C, just look at the sample program that comes with the library. It's in the distribution, or you can browse the source online here (https://bitbucket.org/jice/libtcod/src/42be7d8548b3/samples/samples_c.c).
Title: Re: GUI's
Post by: Leaf on December 14, 2011, 05:22:57 AM
Edit: Gah, wrong thread!  Sorry!