Anyone have any recommendations for a lightweight gui library? By this I
mean
As few external dependencies as possible. I’d like to avoid the folder
full of extra dlls as much as possible, though I can make exceptions for an
otherwise good match.
LGPL or better license(not GPL).
C++
Good widget selection. I primarily need the basics. Windows, edit boxes,
text fields(multi-line preferable), buttons, check boxes, etc.
I found a couple decent ones that use SDL_Image, and while I’m waiting for
it to download(it’s slow as hell past few days). I have a question. Does
SDL_Image support excluding certain image formats? In an effort to reduce
further dependent dlls(libjpeg, libpng, possibly some others), I’d like to
trim some of the fat away in the form of formats that I can live
without(like jpeg), to lose a few dlls that would otherwise just be along
for the ride.
As few external dependencies as possible. I’d like to avoid the folder
full of extra dlls as much as possible, though I can make exceptions for an
otherwise good match.
LGPL or better license(not GPL).
C++
Good widget selection. I primarily need the basics. Windows, edit boxes,
text fields(multi-line preferable), buttons, check boxes, etc.
Same here. Emedding an SDL_Surface into a widget is fairly easy too.Also, fltk
supports OpenGL.I haven’t used FLTK + SDL + OpenGL, but I’m sure it would be
pretty straight forward.
AlvinOn Thursday 11 January 2007 16:12, Torsten Giebl wrote:
Hello !
As few external dependencies as possible. I’d like to avoid the folder
full of extra dlls as much as possible, though I can make exceptions for
an otherwise good match.
LGPL or better license(not GPL).
C++
Good widget selection. I primarily need the basics. Windows, edit
boxes, text fields(multi-line preferable), buttons, check boxes, etc.
That looks pretty good. I’ll give that a look and see if it’s what I’m
looking for. Thanks.
JOn 1/11/07, Alvin wrote:
On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
Hello !
As few external dependencies as possible. I’d like to avoid the
folder
full of extra dlls as much as possible, though I can make exceptions
for
an otherwise good match.
2) LGPL or better license(not GPL).
3) C++
4) Good widget selection. I primarily need the basics. Windows, edit
boxes, text fields(multi-line preferable), buttons, check boxes, etc.
Same here. Emedding an SDL_Surface into a widget is fairly easy too.Also,
fltk
supports OpenGL.I haven’t used FLTK + SDL + OpenGL, but I’m sure it would
be
pretty straight forward.
Anyone have any recommendations for a lightweight gui library? By this I
mean
As few external dependencies as possible. I’d like to avoid the folder
full of extra dlls as much as possible, though I can make exceptions for an
otherwise good match.
LGPL or better license(not GPL).
C++
Good widget selection. I primarily need the basics. Windows, edit
boxes, text fields(multi-line preferable), buttons, check boxes, etc.
I found a couple decent ones that use SDL_Image, and while I’m waiting for
it to download(it’s slow as hell past few days). I have a question. Does
SDL_Image support excluding certain image formats? In an effort to reduce
further dependent dlls(libjpeg, libpng, possibly some others), I’d like to
trim some of the fat away in the form of formats that I can live
without(like jpeg), to lose a few dlls that would otherwise just be along
for the ride.
Jeremy wrote:> That looks pretty good. I’ll give that a look and see if it’s what I’m
looking for. Thanks.
J
On 1/11/07, Alvin < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>> wrote:
On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> Hello !
>
> > 1) As few external dependencies as possible. I'd like to avoid
the folder
> > full of extra dlls as much as possible, though I can make
exceptions for
> > an otherwise good match.
> > 2) LGPL or better license(not GPL).
> > 3) C++
> > 4) Good widget selection. I primarily need the basics. Windows, edit
> > boxes, text fields(multi-line preferable), buttons, check boxes,
etc.
>
> My favourite is FLTK ( http://www.fltk.org )
Same here. Emedding an SDL_Surface into a widget is fairly easy
too.Also, fltk
supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm sure it
would be
pretty straight forward.
Alvin
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
That looks pretty good. I’ll give that a look and see if it’s what I’m
looking for. Thanks.
J
On 1/11/07, Alvin < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>> wrote:
On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> Hello !
>
> > 1) As few external dependencies as possible. I'd like to avoid
the folder
> > full of extra dlls as much as possible, though I can make
exceptions for
> > an otherwise good match.
> > 2) LGPL or better license(not GPL).
> > 3) C++
> > 4) Good widget selection. I primarily need the basics. Windows,
edit
> > boxes, text fields(multi-line preferable), buttons, check boxes,
etc.
>
> My favourite is FLTK ( http://www.fltk.org )
Same here. Emedding an SDL_Surface into a widget is fairly easy
too.Also, fltk
supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm sure it
would be
pretty straight forward.
Alvin
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
How do you get the resources within the executable file?
Ed> ----- Original Message -----
From: jswigart@gmail.com (Jeremy)
To: post at andre-krause.net; A list for developers using the SDL library. (includes SDL-announce)
Sent: Friday, 12 January, 2007 4:14:10 PM
Subject: Re: [SDL] Lightweight GUI libraries?
Nice. Is fltk rendering with opengl in this case?
On 1/12/07, Andre Krause wrote:
have a look at my current beta ( a tetris with a gravity gun ) ,
there you can see how nice fltk integrates with opengl and sdl:
That looks pretty good. I’ll give that a look and see if it’s what I’m
looking for. Thanks.
J
On 1/11/07, Alvin < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com wrote:
On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> Hello !
>
> > 1) As few external dependencies as possible. I'd like to avoid
the folder
> > full of extra dlls as much as possible, though I can make
exceptions for
> > an otherwise good match.
> > 2) LGPL or better license(not GPL).
> > 3) C++
> > 4) Good widget selection. I primarily need the basics. Windows, edit
> > boxes, text fields(multi-line preferable), buttons, check boxes,
etc.
>
> My favourite is FLTK ( http://www.fltk.org )
Same here. Emedding an SDL_Surface into a widget is fairly easy
too.Also, fltk
supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm sure it
would be
pretty straight forward.
Alvin
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
sorry, i the current version is not compiled yet for linux and it would
take alot efforts to do, but i will make it soon.
but you can download a linux version of gravytris from year 2004 (but no
sounds and textures) to get an idea how it looks like (but this old
version misses alot of features)
it uses SDL for events, joystick support and graphics (opengl via sdl)
and it uses fltk for the options menu. also, i have an immediate mode
gui inside the sdl for keyboard config etc.
i have one main loop, that mainloop drives sdl events, and, if
fltk-options window is visible, also polls fltk events (just calling
Fl::check() ).>
have a look at my current beta ( a tetris with a gravity gun :-) ) ,
there you can see how nice fltk integrates with opengl and sdl:
http://www.coreloop.com/dump/gravytris.exe
Jeremy wrote:
> That looks pretty good. I'll give that a look and see if it's what I'm
> looking for. Thanks.
>
> J
>
> On 1/11/07, *Alvin* < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com> <mailto:alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>>> wrote:
>
> On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> > Hello !
> >
> > > 1) As few external dependencies as possible. I'd like to
avoid
> the folder
> > > full of extra dlls as much as possible, though I can make
> exceptions for
> > > an otherwise good match.
> > > 2) LGPL or better license(not GPL).
> > > 3) C++
> > > 4) Good widget selection. I primarily need the basics.
Windows, edit
> > > boxes, text fields(multi-line preferable), buttons, check
boxes,
> etc.
> >
> > My favourite is FLTK ( http://www.fltk.org )
>
> Same here. Emedding an SDL_Surface into a widget is fairly easy
> too.Also, fltk
> supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm
sure it
> would be
> pretty straight forward.
>
> Alvin
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org <mailto:SDL at libsdl.org> <mailto:SDL at libsdl.org
<mailto:SDL at libsdl.org>>
> http://www.libsdl.org/mailman/listinfo/sdl
>
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org <mailto:SDL at libsdl.org>
> http://www.libsdl.org/mailman/listinfo/sdl
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
since sdl is supposed to be multi platform, why did you only post an exe
for dos or windows ? perhaps you could post the source and a make file
for those not using windows or dos?
Andre Krause wrote:> have a look at my current beta ( a tetris with a gravity gun ) ,
there you can see how nice fltk integrates with opengl and sdl:
That looks pretty good. I’ll give that a look and see if it’s what I’m
looking for. Thanks.
J
On 1/11/07, Alvin < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>> wrote:
On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> Hello !
>
> > 1) As few external dependencies as possible. I'd like to avoid
the folder
> > full of extra dlls as much as possible, though I can make
exceptions for
> > an otherwise good match.
> > 2) LGPL or better license(not GPL).
> > 3) C++
> > 4) Good widget selection. I primarily need the basics. Windows, edit
> > boxes, text fields(multi-line preferable), buttons, check boxes,
etc.
>
> My favourite is FLTK ( http://www.fltk.org )
Same here. Emedding an SDL_Surface into a widget is fairly easy
too.Also, fltk
supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm sure it
would be
pretty straight forward.
Alvin
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
sorry, i the current version is not compiled yet for linux and it would
take alot efforts to do, but i will make it soon.
but you can download a linux version of gravytris from year 2004 (but no
sounds and textures) to get an idea how it looks like (but this old
version misses alot of features)
if you are using a cross platform lib like sdl, why is your application
difficult to build on another system?
Just because one of the major libraries he’s using is cross platform doesn’t mean everything in his program is. There are a wealth of libraries compatible with SDL which are not actually themselves cross-platform, and it is fully possible to access a number of Windows routines directly while using SDL.
if you are using a cross platform lib like sdl, why is your application
difficult to build on another system?
Just because one of the major libraries he’s using is cross platform doesn’t mean everything in his program is. There are a wealth of libraries compatible with SDL which are not actually themselves cross-platform, and it is fully possible to access a number of Windows routines directly while using SDL.
if you are using a cross platform lib like sdl, why is your application
difficult to build on another system?
Just because one of the major libraries he’s using is cross platform doesn’t mean everything in his program is. There are a wealth of libraries compatible with SDL which are not actually themselves cross-platform, and it is fully possible to access a number of Windows routines directly while using SDL.
i was thinking that, but an older version was for linux. so i wasnt
sure what was used that was not cross platform.
i have kept great effort to not depend on windows stuff in any way. i use:
SDL
FLTK
OpenAL
OpenGL
Vorbis
bzlib
boost
libcurl
so everything is available under linux. i just happened to develop under
windows only, so i will have some effort to 1. install a newer linux,
2. install and compile all that libraries, and 3. to actually smooth out
some nonportable code that eventually could have creeped into my code.
so i think 2-4days i will need to port. but as the current beta is not
that stable right now, i just want to finish gravytris and then compile
a linux version.
i promise to make a linux version, as some people seem to be interested.
nice to see that
How do you get the resources within the executable file?
Ed
its handmade. i use bzip2 compression library to compress resources and
directly append them to the end of the .exe. after all resources comes a
compressed table that tells where to place the file pointer to load and
decompress a resource. after that table comes a file pointer that points
to the beginning of that table.
so, after startup of the executable, i go to the exe-file end, read an
int that tells me where the table starts, load an int telling table
size, load it , decompress resource table. then i am ready to load all
other stuff.>
----- Original Message ----
From: Jeremy
To: @Andre_Krause; A list for developers using the SDL library.
(includes SDL-announce)
Sent: Friday, 12 January, 2007 4:14:10 PM
Subject: Re: [SDL] Lightweight GUI libraries?
have a look at my current beta ( a tetris with a gravity gun :-) ) ,
there you can see how nice fltk integrates with opengl and sdl:
http://www.coreloop.com/dump/gravytris.exe
Jeremy wrote:
> That looks pretty good. I'll give that a look and see if it's what I'm
> looking for. Thanks.
>
> J
>
> On 1/11/07, *Alvin* < alvinbeach at gmail.com <mailto:alvinbeach at gmail.com> <mailto:alvinbeach at gmail.com <mailto:alvinbeach at gmail.com>>> wrote:
>
> On Thursday 11 January 2007 16:12, Torsten Giebl wrote:
> > Hello !
> >
> > > 1) As few external dependencies as possible. I'd like to
avoid
> the folder
> > > full of extra dlls as much as possible, though I can make
> exceptions for
> > > an otherwise good match.
> > > 2) LGPL or better license(not GPL).
> > > 3) C++
> > > 4) Good widget selection. I primarily need the basics.
Windows, edit
> > > boxes, text fields(multi-line preferable), buttons, check
boxes,
> etc.
> >
> > My favourite is FLTK ( http://www.fltk.org )
>
> Same here. Emedding an SDL_Surface into a widget is fairly easy
> too.Also, fltk
> supports OpenGL.I haven't used FLTK + SDL + OpenGL, but I'm
sure it
> would be
> pretty straight forward.
>
> Alvin
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org <mailto:SDL at libsdl.org> <mailto:SDL at libsdl.org
<mailto:SDL at libsdl.org>>
> http://www.libsdl.org/mailman/listinfo/sdl
>
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org <mailto:SDL at libsdl.org>
> http://www.libsdl.org/mailman/listinfo/sdl
_______________________________________________
SDL mailing list
SDL at libsdl.org <mailto:SDL at libsdl.org>
http://www.libsdl.org/mailman/listinfo/sdl
sorry, i the current version is not compiled yet for linux and it would
take alot efforts to do, but i will make it soon.
but you can download a linux version of gravytris from year 2004 (but no
sounds and textures) to get an idea how it looks like (but this old
version misses alot of features)
The big $10k question everybody’s thinking about but are too afraid to ask:
Why isn’t your game open source? Your game’s homepage
(http://www.gravytris.de/) has a donate button so my guess is you’re
not planning on selling it, so why keep it non-free? Why do we have to
wait for you to port it to whatever platform we’re interested in when
you can simply let us do it for you, free of charge?On 1/12/07, Andre Krause wrote:
On Friday 12 January 2007 12:10, Andre Krause wrote:
–
sorry, i the current version is not compiled yet for linux and it would
take alot efforts to do, but i will make it soon.
but you can download a linux version of gravytris from year 2004 (but no
sounds and textures) to get an idea how it looks like (but this old
version misses alot of features)
The big $10k question everybody’s thinking about but are too afraid to ask:
Why isn’t your game open source? Your game’s homepage
(http://www.gravytris.de/) has a donate button so my guess is you’re
not planning on selling it, so why keep it non-free? Why do we have to
wait for you to port it to whatever platform we’re interested in when
you can simply let us do it for you, free of charge?
it is open source! as you can see, on the homepage there is the old
source code for the 2004 final release.
im currently heavily into finishing a new 2007 release - please give me
some time to make everything stable. before that its just a waste of
time to port a beta with dozens of bugs.
another thing is: i WANT to have the "single executable, no install"
feature: all resources shall be appended to the .exe (or the linux
binary). why? becaus tetris is a casual game. the gamers should just
download and run. no installation, no unzipping, no hassles.
is it possible to append data to a linux executable binary without linux
complaining that the binary afterwards is invalid?
and same question goes for macos? is it possible there?