gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > BuffGUI, a window GUI for development of GUIbased apps

#92235 - Buffi - Wed Jul 12, 2006 7:32 am

Im developing a windowed GUI, which is supposed to make setting up applications that need to output stuff in a pretty window based GUI easy to develop.

The main reason that I'm doing this is because I've got some decent ideas for applications, but since most of them will be window based, I thought it would be nice to develop a library for showing... a bunch of stuff.

Approaching 1500 lines of code now, and stuff is starting to work rather well.

[Images not permitted - Click here to view it]

edit: beta now up
Beta version to try out is available here
http://buffis.com/stuff/buffgui


Last edited by Buffi on Thu Jul 13, 2006 11:10 am; edited 1 time in total

#92245 - Nushio - Wed Jul 12, 2006 9:09 am

I like the way it looks. Based on Moonshell, I presume?

There should be a way to switch screens btw. Dunno if its already there. Just giving my $0.20 MXN

#92249 - Buffi - Wed Jul 12, 2006 9:22 am

Nushio wrote:
I like the way it looks. Based on Moonshell, I presume?

There should be a way to switch screens btw. Dunno if its already there. Just giving my $0.20 MXN


No, it's not based on anything except palib.
All the code for window handling is written from scratch.

The option to switch screens are already there (dpad left and right). Other controls are
dpad up = bring up keyboard for window input
dpad down = hide keyboard
L = put the active window to the other screen

Stuff that works as of now:
Creating, closing, moving, resizing windows and lists.
Keyboard input to windows (text shows up in window right now).
Adding / removing items from lists

And uh... a bunch of other stuff. But it's still in a very early stage of development.

#92353 - Patater - Thu Jul 13, 2006 12:51 am

I have developed a GUIKit for the Nintendo DS. It works great, and is totally independent of graphic modes. So you can use it for mode5, mode0, 3d or on the PC or whatever. I haven't had time to make many widgets for it yet, but the primitives from which other widgets are derived are all there.

http://www.patatersoft.info/guikit.html

I am up for some guikit collaboration if you are interested. I have it done for the most part, but any ideas or patches to the code are appreciated.

Cheers,
Patater

#92375 - Buffi - Thu Jul 13, 2006 7:19 am

Seems nice, gonna have a better look at it later today.

My internet connection is dead at home right now though, so I can only have a quick look at it here at work right now, but I'll download it to an usb memory and bring it home later or something...

My internet connection being down at home is also the reason that the link to my demo won't work... but I'll get that on an usb drive and upload it to my server which is elsewhere later today :)

I might be interested in having a look at your code, but I don't really have much experience on lower levels of NDS programming (I've only just started, and am using palib). I like to utilize high level libraries when programming, but I'd be happy to learn the other libraries as well :)

#92402 - Buffi - Thu Jul 13, 2006 11:10 am

Beta now online at
http://buffis.com/stuff/buffgui