View previous topic - View next topic |
Author |
Message |
Da Sk1be Guest
|
Posted: Mon Nov 18, 2002 5:09 am Post subject: Map editor gui stuff |
[quote] |
|
I have made a really basic mapeditor that just gives you a 100x100 map and lets you change the tiles that are on it.
Okay, that might work fine for some really simple projects but now I want to move on and this simply demands more features from my mapeditor. Mainly and more specifically a GUI. There are no tutorials anywhere (googled it) describing how to make a decent gui with menus, dialog boxes and some simple controls like that. How do I do this without using WIN32 api? Does anyone have some sourcecode lying around? Any help is greatly apricheated...
Ive posted this on XMARKs allready because it looked just like this one and I got tricked into thinking that it was this one
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Mon Nov 18, 2002 6:48 pm Post subject: |
[quote] |
|
If you're using Allegro... it's got a GUI with it which is initially ugly and combersome but there are a lot of extensions for it (making it prettier or easier to build the layout).
|
|
Back to top |
|
|
Hard Rock Sick of Being A Fairy Princess Yet?
Joined: 22 Jun 2002 Posts: 14
|
Posted: Mon Nov 18, 2002 10:52 pm Post subject: |
[quote] |
|
Yep, thats the one i use too,(allegros gui) my favourite skinning system for the allegro gui(but its not 100% complete yet, it just needs the file selector) is this lex_gui:
found at
http://www.steinke.net/allegro/
I hacked it to get it to work in 8 bit mode since i couldnt find any other ones that seemed easy to get working in 8 bit mode.
And theres a large allegro gui tutorial, if you want i can find it and post the link.
(only thing is, is that lex_gui doesnt skin the menus, but uh you can use naskin(i think thats its name) for some really nice allegro skinned menus) _________________ Hard Rock
http://starsdev.cjb.net
|
|
Back to top |
|
|
Tenshi Everyone's Peachy Lil' Bitch
Joined: 31 May 2002 Posts: 386 Location: Newport News
|
Posted: Mon Nov 18, 2002 10:53 pm Post subject: |
[quote] |
|
Hmm... are you talking about Win32 or a DOS application?
_________________ - Jaeda
|
|
Back to top |
|
|
Da Skr1be Guest
|
Posted: Tue Nov 19, 2002 3:20 am Post subject: tenshi |
[quote] |
|
The Allegro stuff looks great, but I am not using Allegro. We are talking SDL here. I am impressed with your screenshots. How is that accomplished? Is it OOP? How does it handle input? Thank you
|
|
Back to top |
|
|
Rainer Deyke Demon Hunter
Joined: 05 Jun 2002 Posts: 672
|
Posted: Tue Nov 19, 2002 3:56 pm Post subject: SDL GUI |
[quote] |
|
Did you look at SDL_gui? ParaGUI?
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Tue Nov 19, 2002 10:52 pm Post subject: Re: tenshi |
[quote] |
|
Da Skr1be wrote: | The Allegro stuff looks great, but I am not using Allegro. We are talking SDL here. I am impressed with your screenshots. How is that accomplished? Is it OOP? How does it handle input? Thank you |
It is like OOP but without the classes stuff as Allegro is programmed in C. It handles input through the use of messages to the different widgets (mouseover, click, keypress kind of stuff). The skin support is accomplished by replacing the standard Allegro widgets with skinnable ones that still rely on the Allegro ones for their functionality (though I don't know lex_gui specifically, that's how it is done generally).
That editor looks nice Tenshi. Here's how the first incarnation of my RPG Edit looked, a GUI done in QB:
After this one I did my own GUI with Allegro but later I decided that choosing and using a GUI lib is much easier and yields better results most of the time.
|
|
Back to top |
|
|