Widgets

anybody reccomend some really simple SDL + C (not c++) widget things for text
boxes, sliders and the like?

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes, but I
still have no idea.

May someone give us some ideas?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes, but I
still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be easilly
configurable,
i have seen a few sets of widgets about when i last checked but iirc they were
c++, or just abit to over the top, i think its a case of write your own for
what you need really, i only really need stuff for short single string input
when a player is created, to keep it sdl and non keyboard system freindly i
might just have a keyboard that pops up on the screen and you push the buttons
on the on screen keyboard with the mouse.

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes, but I
still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be easilly
configurable,
i have seen a few sets of widgets about when i last checked but iirc they were
c++, or just abit to over the top, i think its a case of write your own for
what you need really, i only really need stuff for short single string input
when a player is created, to keep it sdl and non keyboard system freindly i
might just have a keyboard that pops up on the screen and you push the buttons
on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that you wont find
any easier widget toolkit. any fullblown toolkit is almost always likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134

I’m quite a fan of http://guichan.sourceforge.net/ myself.On Nov 28, 2007 10:14 AM, Andre Krause wrote:

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes, but I
still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be easilly
configurable,
i have seen a few sets of widgets about when i last checked but iirc
they were
c++, or just abit to over the top, i think its a case of write your own
for
what you need really, i only really need stuff for short single string
input
when a player is created, to keep it sdl and non keyboard system
freindly i
might just have a keyboard that pops up on the screen and you push the
buttons
on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that you wont
find
any easier widget toolkit. any fullblown toolkit is almost always likely
to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Doh, you don’t want c++, so guichan doesn’t meet that requirement. You’re
really missing out by limiting yourself to C.On Nov 28, 2007 1:10 PM, Jeremy <@Jeremy> wrote:

I’m quite a fan of http://guichan.sourceforge.net/ myself.

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes, but I
still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be easilly
configurable,
i have seen a few sets of widgets about when i last checked but iirc
they were
c++, or just abit to over the top, i think its a case of write your
own for
what you need really, i only really need stuff for short single string
input
when a player is created, to keep it sdl and non keyboard system
freindly i
might just have a keyboard that pops up on the screen and you push the
buttons
on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that you
wont find
any easier widget toolkit. any fullblown toolkit is almost always likely
to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Without wanting to start a flamewar, out in the real world, C is only
used when C++ is too much for the work in question.

I would also advise you to take a look into C++.

Jeremy schrieb:> Doh, you don’t want c++, so guichan doesn’t meet that requirement.

You’re really missing out by limiting yourself to C.

On Nov 28, 2007 1:10 PM, Jeremy < jswigart at gmail.com <mailto:jswigart at gmail.com>> wrote:

I'm quite a fan of http://guichan.sourceforge.net/ myself.


On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net <mailto:post at andre-krause.net>> wrote:

    neil at cloudsprinter.com <mailto:neil at cloudsprinter.com> wrote:
    > Quoting cocobear <cocobear.cn at gmail.com
    <mailto:cocobear.cn at gmail.com>>:
    >
    >> ? Wed, 28 Nov 2007 12:19:31 +0000
    >> neil at cloudsprinter.com <mailto:neil at cloudsprinter.com> ??:
    >>
    >>> anybody reccomend some really simple SDL + C (not c++)
    widget things
    >>> for text boxes, sliders and the like?
    >>>
    >>>
    >> I'm try do a music player, and maybe it will use a text
    boxes, but I
    >> still have no idea.
    >>
    >> May someone give us some ideas?
    >>
    >>
    >
    > i have been on-paper planning a slider bar that should be
    easilly
    > configurable,
    > i have seen a few sets of widgets about when i last checked
    but iirc they were
    > c++, or just abit to over the top, i think its a case of
    write your own for
    > what you need really, i only really need stuff for short
    single string input
    > when a player is created, to keep it sdl and non keyboard
    system freindly i
    > might just have a keyboard that pops up on the screen and
    you push the buttons
    > on the on screen keyboard with the mouse.
    >
    > _______________________________________________
    > SDL mailing list
    > SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
    <http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>

    you should google after "imgui" - immediate mode gui.

    it is so easy to write your own simple gui widgets that way,
    that you wont find
    any easier widget toolkit. any fullblown toolkit is almost
    always likely to be
    more complicated and stuffed with external dependencies.

    https://mollyrocket.com/forums/viewtopic.php?t=134
    _______________________________________________
    SDL mailing list
    SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
    <http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I’ve known C++ for some time, but I use C mostly. Only now I’m getting
started up again in C++ because I fell in a OOP hype. :slight_smile:
(I almost fell into C# again… OH MY GOD, 18 megs’o’ram for a simple
text editor?!)

Paulo Pinto wrote:> Without wanting to start a flamewar, out in the real world, C is only

used when C++ is too much for the work in question.

I would also advise you to take a look into C++.

Jeremy schrieb:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

On Nov 28, 2007 1:10 PM, Jeremy < jswigart at gmail.com <mailto:jswigart at gmail.com>> wrote:

I'm quite a fan of http://guichan.sourceforge.net/ myself.


On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net <mailto:post at andre-krause.net>> wrote:

    neil at cloudsprinter.com <mailto:neil at cloudsprinter.com> wrote:
    > Quoting cocobear <cocobear.cn at gmail.com
    <mailto:cocobear.cn at gmail.com>>:
    >
    >> ? Wed, 28 Nov 2007 12:19:31 +0000
    >> neil at cloudsprinter.com <mailto:neil at cloudsprinter.com> ??:
    >>
    >>> anybody reccomend some really simple SDL + C (not c++)
    widget things
    >>> for text boxes, sliders and the like?
    >>>
    >>>
    >> I'm try do a music player, and maybe it will use a text
    boxes, but I
    >> still have no idea.
    >>
    >> May someone give us some ideas?
    >>
    >>
    >
    > i have been on-paper planning a slider bar that should be
    easilly
    > configurable,
    > i have seen a few sets of widgets about when i last checked
    but iirc they were
    > c++, or just abit to over the top, i think its a case of
    write your own for
    > what you need really, i only really need stuff for short
    single string input
    > when a player is created, to keep it sdl and non keyboard
    system freindly i
    > might just have a keyboard that pops up on the screen and
    you push the buttons
    > on the on screen keyboard with the mouse.
    >
    > _______________________________________________
    > SDL mailing list
    > SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
    <http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>

    you should google after "imgui" - immediate mode gui.

    it is so easy to write your own simple gui widgets that way,
    that you wont find
    any easier widget toolkit. any fullblown toolkit is almost
    always likely to be
    more complicated and stuffed with external dependencies.

    https://mollyrocket.com/forums/viewtopic.php?t=134
    _______________________________________________
    SDL mailing list
    SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
    <http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

? Wed, 28 Nov 2007 13:14:01 -0800
Jeremy ??:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

I’m quite a fan of http://guichan.sourceforge.net/ myself.

It’s portable?
But I did not find DLL files.> On Nov 28, 2007 1:10 PM, Jeremy wrote:

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

neil at cloudsprinter.com wrote:

Quoting cocobear <@cocobear>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget
things for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes,
but I still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be
easilly configurable,
i have seen a few sets of widgets about when i last checked but
iirc
they were
c++, or just abit to over the top, i think its a case of write
your
own for
what you need really, i only really need stuff for short single
string
input
when a player is created, to keep it sdl and non keyboard system
freindly i
might just have a keyboard that pops up on the screen and you
push the
buttons
on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that
you wont find
any easier widget toolkit. any fullblown toolkit is almost always
likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/

cocobear wrote:

? Wed, 28 Nov 2007 13:14:01 -0800
Jeremy ??:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

I’m quite a fan of http://guichan.sourceforge.net/ myself.

It’s portable?
But I did not find DLL files.

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget
things for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes,
but I still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be
easilly configurable,
i have seen a few sets of widgets about when i last checked but
iirc

they were

c++, or just abit to over the top, i think its a case of write
your

own for

what you need really, i only really need stuff for short single
string

input

when a player is created, to keep it sdl and non keyboard system

freindly i

might just have a keyboard that pops up on the screen and you
push the

buttons

on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that
you wont find
any easier widget toolkit. any fullblown toolkit is almost always
likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try Agar!
You can find it on http://libagar.org/agar/
Bye.>>On Nov 28, 2007 1:10 PM, Jeremy wrote:

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

It’s portable?
But I did not find DLL files.

We don’t provide DLLs for Guichan because of binary incompatibility
with C++ between different compilers. I’m afraid you have to compile
Guichan yourself or simply include the source of Guichan to your
project.

/OlofOn 29/11/2007, Marco Faletra <marco.faletra at sirioautomazione.it> wrote:

cocobear wrote:

? Wed, 28 Nov 2007 13:14:01 -0800
Jeremy ??:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

On Nov 28, 2007 1:10 PM, Jeremy wrote:

I’m quite a fan of http://guichan.sourceforge.net/ myself.

It’s portable?
But I did not find DLL files.

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget
things for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes,
but I still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be
easilly configurable,
i have seen a few sets of widgets about when i last checked but
iirc

they were

c++, or just abit to over the top, i think its a case of write
your

own for

what you need really, i only really need stuff for short single
string

input

when a player is created, to keep it sdl and non keyboard system

freindly i

might just have a keyboard that pops up on the screen and you
push the

buttons

on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way, that
you wont find
any easier widget toolkit. any fullblown toolkit is almost always
likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try Agar!
You can find it on http://libagar.org/agar/
Bye.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Doh, you don’t want c++, so guichan doesn’t meet that requirement. You’re
really missing out by limiting yourself to C.

why is it C++ ? does it really need to be C++? why do i want to use C++? other
than to make my code even more pointlessly complicated?

can you give an exapmle of where use of C++ would be essential? ( over
plain C )

because of binary incompatibility
with C++ between different compilers.

i think thats why i dont want C++ is it ? :wink:

i dunno, i know quite a few heavy duty proper programmer types that will say c
always over c++ ( well perhaps 3 )

Hi,

I don’t like to fuel flame wars, since I already
had my share during university days.

But people have to face that C is becoming a "legacy"
language.

In the Telecommunications world, where I work, I only
see C being used on:

  • legacy projects;
  • embedded systems like communication devices where a
    C++ runtime would take too much space

Everything else is being done in C++, or when the performance
is not the 1 requirement, then in some other language.

When developers choose to use C++ over C, they just want to
leverage C++ language features that help one code more productive.

Since I have STL and Boost, I seldom recoded any low level
data structures like one has to in C. Just as an example.

And the problem with C++ ABI is that it took several years before
Intel, Microsoft and others joined up to make a C++ ABI that could
work across vendors.

Nothing new here, it also took several years before a standard C ABI
existed.

I’m currently only using C++ has an hobby language, since I spend most
on my time on other languages nowadays. But I don’t write a line of C
since 2003, only C++ when the need comes!

There are good reasons for choosing C++ and there are good reasons for
choosing C, just don’t blame other people for their language choices.
They must had a good reason for it.

Regards,
Paulo

Quoting neil at cloudsprinter.com:> > because of binary incompatibility

with C++ between different compilers.

i think thats why i dont want C++ is it ? :wink:

i dunno, i know quite a few heavy duty proper programmer types that will say
c
always over c++ ( well perhaps 3 )


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


This message was sent using IMP, the Internet Messaging Program.

We should stop this conversation about C over C++ at this point, before
it starts to become a never ending flame war. :slight_smile:
As usual there are of course several reasons to use C++ instead of C
(which can be found easily on the web). And as you mentioned in your
last mail, there are reasons not to use it. We should leave it that way
and let others decide, since it depends heavily on their specific needs.

neil at cloudsprinter.com wrote:>> Doh, you don’t want c++, so guichan doesn’t meet that requirement. You’re

really missing out by limiting yourself to C.

why is it C++ ? does it really need to be C++? why do i want to use C++? other
than to make my code even more pointlessly complicated?

can you give an exapmle of where use of C++ would be essential? ( over
plain C )


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Quoting Matthias Weigand :

We should stop this conversation about C over C++ at this point,
before it starts to become a never ending flame war. :slight_smile:
As usual there are of course several reasons to use C++ instead of C
(which can be found easily on the web). And as you mentioned in your
last mail, there are reasons not to use it. We should leave it that
way and let others decide, since it depends heavily on their specific
needs.

i do like a conversation, but not a flame war :wink:

i think most people that use SDL are like minded people, prepared to be
different, prepared to try new things, are a little more opwn minded than your
average mainstream, so sometimes it is good to ask an off topic question here,
because it usually realtes to everyone elses progect in some way, and
you get a
more human, non biased anwser, so i think we should start bugging sam
to have an
otsdl at lists.libsdl.org , so if a question is raised that becomes off topic and
clogging up the main sdl lists it can be moved to there, and the people that
arnt interested in our random discussions can stick with sdl at lists.libsdl.org
while the nonsence or nonsdl can trickle away to its content in
otsdl at lists.libsdl.org

Have you checked kyra yet?
http://www.grinninglizard.com/kyra/

It supports widgets and it’s in C. But there’s no
slider bar:
https://sourceforge.net/forum/message.php?msg_id=2448713

It’s not simple. But if you have got SDL compiled in
your environment. This shouldn’t be too hard. I
started from scratch. It’s worth the effort, my
comment:
https://sourceforge.net/forum/message.php?msg_id=3155116

After I used it in my project I also created a new
project to publish my modified codes:

kyra-widget tools allow you to create your widgets
with graphic images and it generates header files and
other information which are compiled in your project,
in other words, the widgets are created in the compile
time.

I built some more codes (C++) around so that you can
load widgets (skin) in runtime. sdl-skin has been
written for my own use therefore it’s a mess :slight_smile:

— cocobear <cocobear.cn at gmail.com> wrote:

??Ž Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com
?†™?�“:

anybody reccomend some really simple SDL + C (not
c++) widget things
for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a
text boxes, but I
still have no idea.

May someone give us some ideas?


SDL mailing list
SDL at lists.libsdl.org

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

  Make the switch to the world's best email. Get the new Yahoo!7 Mail now. www.yahoo7.com.au/worldsbestemail

It’s a silly argument anyway. IMHO, it comes down to the following two
engineering maxims:

  1. Use the correct tool for the job.
  2. There is no such thing as a universal tool.On Thu, 29 Nov 2007 11:20:07 +0100 Matthias wrote:

We should stop this conversation about C over C++ at this point,
before it starts to become a never ending flame war. :slight_smile:

? Thu, 29 Nov 2007 10:48:18 +0100
"Olof N?ss?n" <olof.naessen at gmail.com> ??:

It’s portable?
But I did not find DLL files.

We don’t provide DLLs for Guichan because of binary incompatibility
with C++ between different compilers. I’m afraid you have to compile
Guichan yourself or simply include the source of Guichan to your
project.

I get it. Thanks.

/Olof

cocobear wrote:

? Wed, 28 Nov 2007 13:14:01 -0800
Jeremy ??:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

I’m quite a fan of http://guichan.sourceforge.net/ myself.

It’s portable?
But I did not find DLL files.

neil at cloudsprinter.com wrote:

Quoting cocobear <@cocobear>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget
things for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes,
but I still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be
easilly configurable,
i have seen a few sets of widgets about when i last checked but
iirc

they were

c++, or just abit to over the top, i think its a case of write
your

own for

what you need really, i only really need stuff for short single
string

input

when a player is created, to keep it sdl and non keyboard
system

freindly i

might just have a keyboard that pops up on the screen and you
push the

buttons

on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way,
that you wont find
any easier widget toolkit. any fullblown toolkit is almost
always likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try Agar!
You can find it on http://libagar.org/agar/
Bye.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/> On 29/11/2007, Marco Faletra <marco.faletra at sirioautomazione.it> wrote:

On Nov 28, 2007 1:10 PM, Jeremy wrote:

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

You actually prefer external dependencies? I simply imported guichan into my
project and off I went. I avoid external dependencies as much as possible.
They add pointless complexity. That’s actually why I changed from SDL to
SFML as well. Piling on additional dlls to the project for supporting fonts,
network, etc is something I prefer to avoid when possible. A Gui framework
is a good example of a usage where C++ simplifies things significantly, in
both implementation and the ability for users to extend existing widgets and
make new ones. I cringe at the thought of a pure C gui library. ymmv.

JOn Nov 29, 2007 5:54 AM, cocobear <cocobear.cn at gmail.com> wrote:

? Thu, 29 Nov 2007 10:48:18 +0100
"Olof N?ss?n" <olof.naessen at gmail.com> ??:

It’s portable?
But I did not find DLL files.

We don’t provide DLLs for Guichan because of binary incompatibility
with C++ between different compilers. I’m afraid you have to compile
Guichan yourself or simply include the source of Guichan to your
project.

I get it. Thanks.

/Olof

On 29/11/2007, Marco Faletra <marco.faletra at sirioautomazione.it> wrote:

cocobear wrote:

? Wed, 28 Nov 2007 13:14:01 -0800
Jeremy <@Jeremy> ??:

Doh, you don’t want c++, so guichan doesn’t meet that requirement.
You’re really missing out by limiting yourself to C.

On Nov 28, 2007 1:10 PM, Jeremy <@Jeremy> wrote:

I’m quite a fan of http://guichan.sourceforge.net/ myself.

It’s portable?
But I did not find DLL files.

On Nov 28, 2007 10:14 AM, Andre Krause < post at andre-krause.net> wrote:

neil at cloudsprinter.com wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

? Wed, 28 Nov 2007 12:19:31 +0000
neil at cloudsprinter.com ??:

anybody reccomend some really simple SDL + C (not c++) widget
things for text boxes, sliders and the like?

I’m try do a music player, and maybe it will use a text boxes,
but I still have no idea.

May someone give us some ideas?

i have been on-paper planning a slider bar that should be
easilly configurable,
i have seen a few sets of widgets about when i last checked but
iirc

they were

c++, or just abit to over the top, i think its a case of write
your

own for

what you need really, i only really need stuff for short single
string

input

when a player is created, to keep it sdl and non keyboard
system

freindly i

might just have a keyboard that pops up on the screen and you
push the

buttons

on the on screen keyboard with the mouse.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

you should google after “imgui” - immediate mode gui.

it is so easy to write your own simple gui widgets that way,
that you wont find
any easier widget toolkit. any fullblown toolkit is almost
always likely to be
more complicated and stuffed with external dependencies.

https://mollyrocket.com/forums/viewtopic.php?t=134


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try Agar!
You can find it on http://libagar.org/agar/
Bye.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org