Author Topic: GUI's  (Read 7115 times)

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
GUI's
« 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?
« Last Edit: December 10, 2011, 08:02:30 AM by Pueo »
{O.o}
 |)__)
   ” ”   o RLY?

RogueMaster

  • Rogueliker
  • ***
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: GUI's
« Reply #1 on: December 11, 2011, 10:39:54 AM »
What's the problem exactly?

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
Re: GUI's
« Reply #2 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.
{O.o}
 |)__)
   ” ”   o RLY?

Kyzrati

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 508
  • Karma: +0/-0
    • View Profile
    • Grid Sage Games
    • Email
Re: GUI's
« Reply #3 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.

Leaf

  • Rogueliker
  • ***
  • Posts: 64
  • Karma: +0/-0
    • View Profile
    • Email
Re: GUI's
« Reply #4 on: December 14, 2011, 05:22:57 AM »
Edit: Gah, wrong thread!  Sorry!