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 development > gui's

#127126 - ninjasenses - Mon Apr 30, 2007 5:25 am

Im currently creating a program to make an inventory @ work and I have a couple questions...

here is a sample of what the gui will look like(i know i got amazing paint skills right?)

[Images not permitted - Click here to view it]

I was wondering how I would begin to make this simple gui using the devkitpro library with visual studio c++. Would I have to use already made images for all of this, or can I simply use c++ commands? Also, how would I go about making menus? images or c++ commands once again. Im a beginnner at this homebrew stuff but I know C++ pretty well thanks.

#127156 - pas - Mon Apr 30, 2007 2:13 pm

Uh ? What's that exactly ?
_________________
Starcraft DS ?

#127168 - ninjasenses - Mon Apr 30, 2007 3:52 pm

pas wrote:
Uh ? What's that exactly ?


wha do you mean?

#127170 - ninjasenses - Mon Apr 30, 2007 4:06 pm

maybe this will help, i just need to know how to make buttons and a side menu. the bars going across are all buttons, and the side menu is on the side. Do I have o use sprites or what? Im still not sure how much oh c++ i can still use, with devkit

#127185 - tepples - Mon Apr 30, 2007 7:10 pm

You need to implement the methods textout, hline, vline, and rectfill. From there, you can draw a GUI. But you will need to make images for the glyphs in the font that textout uses.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#127190 - ninjasenses - Mon Apr 30, 2007 7:29 pm

tepples wrote:
You need to implement the methods textout, hline, vline, and rectfill. From there, you can draw a GUI. But you will need to make images for the glyphs in the font that textout uses.


so It would pretty much be easier to use images...Thanks for the help

#127195 - tepples - Mon Apr 30, 2007 8:55 pm

If you can write an image blitter, you can write a rectfill.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#127276 - OSW - Tue May 01, 2007 10:00 am

Even if you made it in paint, straighten the lines for god's sake!

#127356 - Dood77 - Tue May 01, 2007 10:48 pm

OSW wrote:
Even if you made it in paint, straighten the lines for god's sake!

Hold shift!