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 > ANN: DS GUI Library 0.3

#144821 - bjoerngiesler - Wed Nov 07, 2007 11:22 pm

Hi,

sorry for not showing up here during the next months. I'm going on vacation next week and have decided to put up my GUI library for download beforehand. It's the library I've used for ReadMore and in later versions of DSFTP.

I'll make it short: The source is at

http://giesler.biz/~bjoern/downloads/dsgui/DSGUI-0.2.zip

and you can look at the very incomplete online docs at

http://www.giesler.biz/~bjoern/downloads/dsgui/doc/html/

The source compiles with DKP 21 on my Mac. I've also tried DKP 18, works too.

The license for use is very liberal: Use it for what you like, no royalties required (although donations are very much welcome!), but do not distribute the source yourself.

I'd also much prefer if this were NOT distributed to mirror sites without my consent. I've had far too much work with supporting people who grabbed outdated versions of DSFTP from some site I hadn't even heard of.

I'll answer any questions until Saturday morning, then I'm off on vacation for three weeks.

Regards,
Bj?rn
_________________
DSFTP homepage


Last edited by bjoerngiesler on Sat Dec 29, 2007 10:06 am; edited 1 time in total

#144832 - tepples - Thu Nov 08, 2007 1:56 am

bjoerngiesler wrote:
The license for use is very liberal: Use it for what you like, no royalties required (although donations are very much welcome!), but do not distribute the source yourself.

Ouch. A library under such a license is not for use in ports of GPL'd software.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#144845 - bjoerngiesler - Thu Nov 08, 2007 8:04 am

tepples wrote:
bjoerngiesler wrote:
The license for use is very liberal: Use it for what you like, no royalties required (although donations are very much welcome!), but do not distribute the source yourself.

Ouch. A library under such a license is not for use in ports of GPL'd software.


That's true. And GPL'd libraries won't let you develop proprietary software with them; this one will.

That said: It's well possible that I change the license at a later date. Right now I just want to avoid the debacle I experienced with DSFTP and ReadMore, i.e. people downloading ancient copies of the software from some mirror site in West Caoutchoucistan [1] and me spending ages debugging long-fixed problems. I will not, however, put the library under the [L]GPL at any time; it will more likely be a BSD-ish licence.

BTW: I know the scroller code still has problems (thumb not draggable, and page-wise scrolling sometimes goes in the wrong direction). That somehow arose in the port to DKP 21. I won't fix it before my vacation, so patches are welcome... or just wait a month. :-)

[1] Apologies to any West Caoutchoucistyi reading this. No offense intended to your beautiful country.
_________________
DSFTP homepage

#144848 - theli - Thu Nov 08, 2007 8:55 am

thanks for releasing it at last :)
sorry, for slighlty offtopic:
i'm developing software using lgpled library .... and am looking into using this lib for GUI ...
i wonder what are the impacts on releasing full source/only changes to libs/something other ...?
i'm just not good when it comes to licenses

#144865 - theli - Thu Nov 08, 2007 2:05 pm

i've tried to build it and got:
Code:
$      0 [main] make 2504 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
make: *** [release] Error 5

(MSYS WinXP)
i'll try on linux at home

Edit: sorry , twas 'make' filename collision

#144921 - bjoerngiesler - Fri Nov 09, 2007 7:43 am

Just a quick overview over what DSGUI can do so far (taken from the test app):


Labels:
[Images not permitted - Click here to view it]

Buttons:
[Images not permitted - Click here to view it]

List boxes:
[Images not permitted - Click here to view it]

Message boxes:
[Images not permitted - Click here to view it]

On-screen keyboard (layout loadable from cart):
[Images not permitted - Click here to view it]

File selection dialog:
[Images not permitted - Click here to view it]

Font selection dialog (fonts loadable from cart):
[Images not permitted - Click here to view it]

Result of font selection applied:
[Images not permitted - Click here to view it]

Font selection dialog, book-style rotation (can be done with any widget):
[Images not permitted - Click here to view it]

Not shown are the animations, since my screen shot code doesn't grab the actual display but just the screen buffer. The widgets are ugly, but it's fully theme-able, and I'm not an artist :-)
_________________
DSFTP homepage

#144923 - HyperHacker - Fri Nov 09, 2007 9:15 am

Not bad, but doesn't really take advantage of available space. The keyboard could easily fit number keys on it, and why don't the file and font selectors fill the screen to show more of the names?
_________________
I'm a PSP hacker now, but I still <3 DS.

#144929 - theli - Fri Nov 09, 2007 10:17 am

bjoern, how do i "setText" to some 2-byte characters?
( like in (0x00000410, 0x0000044f) range) ?
edit:nevermind ...i've changed BFont class so it expects UTF-8

#144947 - bjoerngiesler - Fri Nov 09, 2007 6:53 pm

HyperHacker wrote:
Not bad, but doesn't really take advantage of available space. The keyboard could easily fit number keys on it, and why don't the file and font selectors fill the screen to show more of the names?


For demo purposes. You can specify the dialog's size, of course. And the keyboard layout is 100% flexible. Look at the docs.
_________________
DSFTP homepage

#144948 - bjoerngiesler - Fri Nov 09, 2007 6:55 pm

theli wrote:
edit:nevermind ...i've changed BFont class so it expects UTF-8


You did? Perfect! Care to mail me a patch?
_________________
DSFTP homepage

#144970 - theli - Fri Nov 09, 2007 10:51 pm

bjoerngiesler wrote:
theli wrote:
edit:nevermind ...i've changed BFont class so it expects UTF-8


You did? Perfect! Care to mail me a patch?

yes, of course, i tried to contact you no aim .... but failed :(
can you contact me on jabber (theli <at> theli.is-a-geek.org)
or icq/aim (101915541) ?
however .... just found your mail address on your homepage .... i'll mail you patch tomorrow :)

#147866 - bjoerngiesler - Sat Dec 29, 2007 10:17 am

Hi all,

I've put up DSGUI 0.3 at

http://giesler.biz/~bjoern/downloads/dsgui/DSGUI-0.3.zip, docs are here, and a demo program is here (must be DLDI-patched).

New features are:
- Font management cleaned up
- BVirtualFile and BFileManager can handle libfat and gba_nds_fat (configurable via #define)
- More utilities in the BFileManager class
- Many more docs, bugfixes and cleanups

Theli has been working on UTF-8 support, so maybe DSGUI will be completely Unicode soon (see here). :-)

Please mail me with
_________________
DSFTP homepage