Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Gui package  (Read 54994 times)

0 Members and 1 Guest are viewing this topic.

lubos

  • Newbie
  • *
  • Posts: 17
    • ICQ Messenger - 385328377
    • MSN Messenger - qwarmail@yahoo.co.uk
    • View Profile
Gui package
« on: August 19, 2007, 04:29:54 pm »
are there any plans for something like gui package? or its up to user to create own one? can you publish something like road-map on home page?
thanks  :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gui package
« Reply #1 on: August 19, 2007, 04:39:41 pm »
Yes, the GUI package has been started, but as it's not the priority it's hard to tell when it can be finished.

I'd like to give a road-map, but it's really hard to do as I work on SFML during my free-time and I keep the new stuff for later, after I fix every bug and add the most important features :)
Laurent Gomila - SFML developer

lubos

  • Newbie
  • *
  • Posts: 17
    • ICQ Messenger - 385328377
    • MSN Messenger - qwarmail@yahoo.co.uk
    • View Profile
Gui package
« Reply #2 on: August 19, 2007, 04:54:56 pm »
right.  :D
also,
1. did u think of creating a forum for presenting peoples projects build on sflm? i know its too early right now, but it could be nice so new users can look what sfml can do in action  :D
2. it is possible to draw 2d primitives? like circle?

thanks for taking time  :P

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gui package
« Reply #3 on: August 19, 2007, 07:18:50 pm »
1. Of course ;) But as you said, it's just too early.

2. No, but you can add it easily if you want. Maybe one day I'll add a "drawing" package, to provide functions for drawing 2D shapes like lines, circles, etc.
Laurent Gomila - SFML developer

DrEvil

  • Newbie
  • *
  • Posts: 21
    • View Profile
Gui package
« Reply #4 on: November 23, 2007, 09:30:30 am »
I've implemented guichan on top of SFML, which is a nice and very lightweight GUI library. It's not a fully skinnable and complex GUI system, but it's perfect for my needs. It has most of the normal GUI widgets(buttons, text boxes, text fields, radio buttons, check boxes, drop downs, windows, etc), and it's really easy to extend and add to, fast, and free of dependencies.

Heres some screens of my current usage.
http://www.omni-bot.com/wiki/index.php?title=Debug_Window

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Gui package
« Reply #5 on: December 17, 2007, 11:06:57 pm »
Quote from: "DrEvil"
I've implemented guichan on top of SFML, which is a nice and very lightweight GUI library. It's not a fully skinnable and complex GUI system, but it's perfect for my needs. It has most of the normal GUI widgets(buttons, text boxes, text fields, radio buttons, check boxes, drop downs, windows, etc), and it's really easy to extend and add to, fast, and free of dependencies.

Heres some screens of my current usage.
http://www.omni-bot.com/wiki/index.php?title=Debug_Window


Have you got any example code?  :roll:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gui package
« Reply #6 on: April 13, 2008, 09:00:03 am »
Thanks for the good feedback ;)

Some bad news for you (sorry) : the GUI package is currently no longer under development ; I still don't know if I'm going to implement my own library from scratch, or use something existing. One thing is sure : I still have a lot to do before thinking about it :(
Laurent Gomila - SFML developer

kolofsson

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Gui package
« Reply #7 on: April 13, 2008, 09:52:38 pm »
What's a GUI package? Does it mean components like scrollbars, buttons, tables, menus, labels etc?

Daazku

  • Hero Member
  • *****
  • Posts: 896
    • View Profile
Gui package
« Reply #8 on: April 14, 2008, 02:01:05 am »
Ya.
Pensez à mettre le tag [Résolu] une fois la réponse à votre question trouvée.
Remember to add the tag [Solved] when you got an answer to your question.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gui package
« Reply #9 on: April 14, 2008, 03:17:51 am »
Quote
Sadly I would think that starting from scratch would be the only way to avoid the incredible bloat and complexity that comes with most GUI packages.

I think your approach to problem solving and over all design would produce a truly fantastic, and simple to use GUI.

That's what I'd like to achieve ;)

Quote
Btw, are you looking for contributors? I wouldn't mind helping out where I can.

For the C++ code not really, but any help on everything else (binding / port / package / ...) would be very useful to me and SFML :)
Laurent Gomila - SFML developer

eleinvisible

  • Newbie
  • *
  • Posts: 47
    • View Profile
Gui package
« Reply #10 on: April 16, 2008, 02:47:51 pm »
https://mollyrocket.com/forums/viewtopic.php?t=134 If you're going to make a GUI package, try something like that. I know it does not fit into the object oriented theme, but it sure is simple and effective (for simple things).


Also a good reference:
http://sol.gfxile.net/imgui/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gui package
« Reply #11 on: April 17, 2008, 03:35:59 am »
Interesting links, thanks :)
Laurent Gomila - SFML developer

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
Gui package
« Reply #12 on: May 16, 2008, 01:34:34 am »
Hi.
I hard study many forum/sites/..
but after a month my game (like Monopoly with.. and..) is waiting for a GUI solution.
I found SFML at the last and I see it's good and want to left Allegro and start with SFML but I need more examples.
I see Pong and others but I need a GUI.
I read that someone implemented Guichan / IMGUI on top of SFML
but I can't found 3 row of example code or post about this.
IMGUI attract me but now I don't see activity.

Can you suggest me something please?  :roll:
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
Gui package
« Reply #13 on: May 17, 2008, 12:39:19 pm »
:lol: Hi

I need to know how to implement a GUI (CEGUI or Guichan) with SFML

I see many forum and:
http://www.sfml-dev.org/forum/viewtopic.php?t=31&highlight=gui
http://www.cegui.org.uk/wiki/index.php/The_Beginner_Guide_to_Getting_CEGUI_Rendering

After a first response on SFML forum about CeGui, I can't found other.

Now, I'm an old developer (Spectrum and all others)
but I'm not expert of C++, SFML and other library mixing at the moment.

I continuously find code examples because I don't understand very well English but understand well source code of program.
but don't found good examples.. only pieces.  :cry:

I don't ask help usually if not need.. I don't want to stress you.

Can you help me with some code example or web pages so start use GUI in SFML, please?? :?:

Many-Thanks, Fixus   8)
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
Comunity Wiky: "Using CEGUI In SFML"
« Reply #14 on: August 08, 2008, 03:17:50 pm »
:P I found this great article in
Comunity Wiky: "Using CEGUI In SFML"
http://www.sfml-dev.org/wiki/en/tutorials/cegui?DokuWiki=6f8bfc9ea2881c26c782024885403b91

Now I'm trying to use it with Code::Blocks
 but get some compiler problem as:
Code: [Select]
Include\GUIManager.h|5|openglrenderer.h: No such file or directory|

I just setup search directory as explained in article.

Now, I fonud missed file in:
Quote
CEGUI\RendererModules\OpenGLGUIRenderer


And now get other error:
Code: [Select]
E:\E\P\sfmlCEGUI\src\GUIManager.cpp|24|undefined reference to `CEGUI::OpenGLRenderer::OpenGLRenderer(unsigned int, int, int, CEGUI::ImageCodec*)'|


Thanks for any info
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)