Separate "control" window

Hello all,

I have my main app running in one window, and when I press say F1, I want a
separate “control” window to come up.
By “control” window I mean something that will have a bunch of check boxes,
sliders, etc. so that you can for example:

  • turn wireframe on/off
  • adjust fog values
  • etc.

IIRC SDL doesn’t do multi-window apps so I was wondering what would be the
best solution to this.
I’m guessing some of you may have needed something similar, so I’m wondering
what people have tried out so far…

Cheers,
Kos

Hello !

IIRC SDL doesn’t do multi-window apps so I was wondering what would be
the best solution to this. I’m guessing some of you may have needed
something similar, so I’m wondering what people have tried out so far…

Use FLTK. It is easy like nothing else.

Look at :

http://www.syntheticsw.com/~wizard/projects/fltk-demo/
http://www.syntheticsw.com/~wizard/projects/multiwin/
http://www.syntheticsw.com/~wizard/projects/mirkwood/

CU

Fantastic…I was going to ask if it runs on lin/win/mac/etc. but it turns
out it does:

http://www.fltk.org/

Nice one Torsten…thx for the info.

Cheers,
Kos.> ----- Original Message -----

From: sdl-bounces+kos=climaxgroup.com@libsdl.org
[mailto:sdl-bounces+kos=climaxgroup.com at libsdl.org] On Behalf Of Torsten
Giebl
Sent: 09 June 2006 10:40
To: A list for developers using the SDL library. (includes SDL-announce)
Subject: Re: [SDL] Separate ‘control’ window

Hello !

IIRC SDL doesn’t do multi-window apps so I was wondering what would be
the best solution to this. I’m guessing some of you may have needed
something similar, so I’m wondering what people have tried out so far…

Use FLTK. It is easy like nothing else.

Look at :

http://www.syntheticsw.com/~wizard/projects/fltk-demo/
http://www.syntheticsw.com/~wizard/projects/multiwin/
http://www.syntheticsw.com/~wizard/projects/mirkwood/

CU


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hello !

Fantastic…I was going to ask if it runs on lin/win/mac/etc. but it
turns out it does:

http://www.fltk.org/

Jup. There is also a FLTK version for Mac OS Classic.
So you can also get it working on the Classic Macs.

CU

Hello !

IIRC SDL doesn’t do multi-window apps so I was wondering what would
be

the best solution to this. I’m guessing some of you may have needed
something similar, so I’m wondering what people have tried out so
far…

Use FLTK. It is easy like nothing else.

I haven’t used FLTK so I can’t compare directly, but I have used Qt.

Qt is cross platform and has a full featured API to handle a wide range
of tasks including but not limited to the GUI, and supports OpenGL. In
my experience it tends to deliver a more native look and feel than some
other tool kits (though as I said, I haven’t used FLTK). It has is
thoroughly documented (via web as well as its own 'Assistant’
documentation browser). IMHO it really is a great tool for cross
platform development, and has an easy to use interface designer.

My 30 second investigation into FLTK suggests that Qt may have a steeper
and longer learning curve due to the extent of its API (for example, you
will need to spend a little time learning about its Signals and Slots
convention, etc.). So it may be more force than is necessary for some
very simple applications.

Qt has two licenses: a commercial license for commercial applications,
and a free open source license for open source developers (the former
includes Visual Studio integration, the latter does not).

You can check it out at:
www.trolltech.com

-Eric

Look at :

http://www.syntheticsw.com/~wizard/projects/fltk-demo/
http://www.syntheticsw.com/~wizard/projects/multiwin/
http://www.syntheticsw.com/~wizard/projects/mirkwood/

CU


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s) please contact the sender by reply email and destroy all copies of the original message. Thank you.> -----Original Message-----
Sent: Friday, June 09, 2006 5:40 AM
Subject: Re: [SDL] Separate ‘control’ window

What you want is a console like in Q3 that the user can display on
top of the game for its adjustement and then hide it again for getting
back in game. Some libraries are made to work with SDL I think.On 6/9/06, Kostas Kostiadis wrote:

Hello all,

I have my main app running in one window, and when I press say F1, I want a
separate “control” window to come up.
By “control” window I mean something that will have a bunch of check boxes,
sliders, etc. so that you can for example:

  • turn wireframe on/off
  • adjust fog values
  • etc.

IIRC SDL doesn’t do multi-window apps so I was wondering what would be the
best solution to this.
I’m guessing some of you may have needed something similar, so I’m wondering
what people have tried out so far…

Cheers,
Kos


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

You might find something useful at:
http://www.loria.fr/~rougier/software/terminal/

NicolasOn Fri, 2006-06-09 at 15:34 +0200, Olivier Delannoy wrote:

What you want is a console like in Q3 that the user can display on
top of the game for its adjustement and then hide it again for getting
back in game. Some libraries are made to work with SDL I think.

On 6/9/06, Kostas Kostiadis wrote:

Hello all,

I have my main app running in one window, and when I press say F1, I want a
separate “control” window to come up.
By “control” window I mean something that will have a bunch of check boxes,
sliders, etc. so that you can for example:

  • turn wireframe on/off
  • adjust fog values
  • etc.

IIRC SDL doesn’t do multi-window apps so I was wondering what would be the
best solution to this.
I’m guessing some of you may have needed something similar, so I’m wondering
what people have tried out so far…

Cheers,
Kos


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Kort, Eric wrote:>> -----Original Message-----

Sent: Friday, June 09, 2006 5:40 AM
Subject: Re: [SDL] Separate ‘control’ window

Hello !

IIRC SDL doesn’t do multi-window apps so I was wondering what would
be

the best solution to this. I’m guessing some of you may have needed
something similar, so I’m wondering what people have tried out so
far…

Use FLTK. It is easy like nothing else.

I haven’t used FLTK so I can’t compare directly, but I have used Qt.

Qt is cross platform and has a full featured API to handle a wide range
of tasks including but not limited to the GUI, and supports OpenGL. In
my experience it tends to deliver a more native look and feel than some
other tool kits (though as I said, I haven’t used FLTK). It has is
thoroughly documented (via web as well as its own 'Assistant’
documentation browser). IMHO it really is a great tool for cross
platform development, and has an easy to use interface designer.

My 30 second investigation into FLTK suggests that Qt may have a steeper
and longer learning curve due to the extent of its API (for example, you
will need to spend a little time learning about its Signals and Slots
convention, etc.). So it may be more force than is necessary for some
very simple applications.

Qt has two licenses: a commercial license for commercial applications,
and a free open source license for open source developers (the former
includes Visual Studio integration, the latter does not).

You can check it out at:
www.trolltech.com

-Eric

Look at :

http://www.syntheticsw.com/~wizard/projects/fltk-demo/
http://www.syntheticsw.com/~wizard/projects/multiwin/
http://www.syntheticsw.com/~wizard/projects/mirkwood/

CU


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s) please contact the sender by reply email and destroy all copies of the original message. Thank you.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

concerning qt: does it allow to link statically? is there source code?
to modify if necessary?

Andre wrote:

Kort, Eric wrote:

Qt has two licenses: a commercial license for commercial
applications,

and a free open source license for open source developers (the
former

includes Visual Studio integration, the latter does not).

You can check it out at:
www.trolltech.com

-Eric

concerning qt: does it allow to link statically? is there source code?
to modify if necessary?

Yes and yes

Qt uses its own “pre-make” utility, qmake, to generate the makefiles
appropriate for your system/configuration (the usual build sequence is
"qmake" and then “make”). Using the configure script (linux) or
configure binary (windows) Qt provides you can rebuild qmake to
incoporate various options.

I say all this because you must rebuild the qmake utility with a
"static" option if you want qmake to generate the appropriate makefiles
for static linking.

As far as modifying, yes source code is included. It is standard
practice to sub-class Qt’s widgets to fine tune (or even radically
alter) their behavior to suit your needs.

</slightly longer answer>

This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s) please contact the sender by reply email and destroy all copies of the original message. Thank you.

“Kort, Eric” <Eric.Kort at vai.org> wrote:

This email message, including any attachments, is for the sole use of
the intended recipient(s) and may contain confidential information.
Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient(s) please contact
the sender by reply email and destroy all copies of the original
message. Thank you.

mailing list usually get archived somewhere for everybody to
access, not only subscribed members and these disclaimers are
completely incompatible with list archives. you really should
get rid of this disclaimer when posting to a mailing list. i
know of MLs where you would get unsubscribed or at least
moderated instantly with this kind of signature. b.t.w. yours
is even more anoying, because it does not break lines.

best regards …
clemens

[mailto:sdl-bounces+eric.kort=vai.org at libsdl.org] On Behalf
Of Clemens Kirchgatterer

“Kort, Eric” <Eric.Kort at vai.org> wrote:

This email message, including any attachments, is for the
sole use of
the intended recipient(s) and may contain confidential information.
Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient(s)
please contact
the sender by reply email and destroy all copies of the original
message. Thank you.

mailing list usually get archived somewhere for everybody to
access, not only subscribed members and these disclaimers are
completely incompatible with list archives. you really should
get rid of this disclaimer when posting to a mailing list. i
know of MLs where you would get unsubscribed or at least
moderated instantly with this kind of signature. b.t.w. yours
is even more anoying, because it does not break lines.

best regards …
clemens

I entirely agree…unfortunately I have no control over it as it is
appended automatically by our mail server, and our IT department has
refused my past request to get rid of it =(

I guess an alternative is to get an Gmail account.

-Eric


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s) please contact the sender by reply email and destroy all copies of the original message. Thank you.> -----Original Message-----

From: sdl-bounces+eric.kort=vai.org at libsdl.org

“Kort, Eric” <Eric.Kort at vai.org> wrote:

mailing list usually get archived somewhere for everybody to
access, not only subscribed members and these disclaimers are
completely incompatible with list archives. you really should
get rid of this disclaimer when posting to a mailing list. i
know of MLs where you would get unsubscribed or at least
moderated instantly with this kind of signature. b.t.w. yours
is even more anoying, because it does not break lines.

best regards …
clemens

I entirely agree…unfortunately I have no control over it as it is
appended automatically by our mail server, and our IT department has
refused my past request to get rid of it =(

I guess an alternative is to get an Gmail account.

i happily will invite you to gmail on your demand. :slight_smile:

clemens

Clemens Kirchgatterer wrote:

“Kort, Eric” <Eric.Kort at vai.org> wrote:

mailing list usually get archived somewhere for everybody to
access, not only subscribed members and these disclaimers are
completely incompatible with list archives. you really should
get rid of this disclaimer when posting to a mailing list. i
know of MLs where you would get unsubscribed or at least
moderated instantly with this kind of signature. b.t.w. yours
is even more anoying, because it does not break lines.

best regards …
clemens
I entirely agree…unfortunately I have no control over it as it is
appended automatically by our mail server, and our IT department has
refused my past request to get rid of it =(

I guess an alternative is to get an Gmail account.

i happily will invite you to gmail on your demand. :slight_smile:

clemens

i’m using gmail too. but im getting more and more concerned about
google. it has turned into an highprofit capitalistic thing, that has no
cruels to make money out of everything.
and if there is one thing that you can thrust in - thats that they will
store your emails for sure. (even if you delete them completely and even
if you ask them to delete your account)…
is there anything more valuable than a huge pool of collected emails? if
in some years ahead google eventually will collapse - dont you think the
big ones wont take the opportunity to gain some extra private money in
selling these data to - whoever will pay for that. ( alot of money. )

Andre Krause wrote:

I guess an alternative is to get an Gmail account.

i happily will invite you to gmail on your demand. :slight_smile:

i’m using gmail too. but im getting more and more concerned about
google. it has turned into an highprofit capitalistic thing, that has
no cruels to make money out of everything.

http://ars.userfriendly.org/cartoons/?id=20060209&mode=classic

maybe the next to fit as well? :wink:

SCNR …
clemens

I grow tired of this argument. All of this Google conspiracy garbage
assumes that your personal email is worth something. But the truth is
nobody cares about your personal email. You are just a number in this
near-infinite sea of numbered sheep. Don’t make yourself more
important that what you really are.

And any decent email provider does regular backups of their mail
servers, so in a way Google is not that much worse than anyone.

Now, you might be saying “some of my email contains highly
confidential content that could get me fired or sued if it falls into
wrong hands”, but that’s really not a Google problem, because using
(non-encrypted) email for confidential stuff is stupid anyway. Email
is one of the least safe communication tunnels on the Internet. Every
single server that passes your messages through from beginning to
destination can read your email, and possibly save it. Think BOFH!
Collecting other people’s email is a relatively trivial task.

Anyway, less Google more SDL.On 6/10/06, Andre Krause wrote:

i’m using gmail too. but im getting more and more concerned about
google. it has turned into an highprofit capitalistic thing, that has no
cruels to make money out of everything.
and if there is one thing that you can thrust in - thats that they will
store your emails for sure. (even if you delete them completely and even
if you ask them to delete your account)…
is there anything more valuable than a huge pool of collected emails? if
in some years ahead google eventually will collapse - dont you think the
big ones wont take the opportunity to gain some extra private money in
selling these data to - whoever will pay for that. ( alot of money. )

  • SR