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

Author Topic: SFGUI (0.4.0 released)  (Read 391579 times)

0 Members and 4 Guests are viewing this topic.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #165 on: November 28, 2011, 03:07:36 pm »
*** UPDATE ***

  • sfg::Frame added.
  • sfg::Separator added.
  • C++11 dropped, you don't need to enable it anymore.
  • Big overhaul for being more const-correct.
  • Constants are now all uppercase (this breaks the code style with SFML).
  • General optimizations for some more FPS especially on slower CPUs.
  • Signals can be disconnected now.
  • Window title truncate if not enough space available.
  • SFGUI can now be used with resizable windows.


All changes are NOT yet in the master branch. Expect them to be merged tomorrow.

asdatapel

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
SFGUI
« Reply #166 on: November 28, 2011, 07:52:28 pm »
yayyyyyy!
still waiting for radiobuttons and dropboxes though.....

victorlevasseur

  • Full Member
  • ***
  • Posts: 206
    • View Profile
SFGUI
« Reply #167 on: November 28, 2011, 08:25:44 pm »
Good update  :)
I can't wait the combobox ! :lol:

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
SFGUI
« Reply #168 on: November 29, 2011, 12:13:10 am »
Hey guys, I'm the one working on the Combo Boxes/Dropdown boxes. It's almost done, there's just on small issue that needs to be worked out. If I can locate a solution, it should be ready to go by the end of the day (Pacific Time).
I use the latest build of SFML2

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
SFGUI
« Reply #169 on: November 29, 2011, 04:39:30 am »
The combo box has been committed. All that remains is for Tank to accept it.
I use the latest build of SFML2

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #170 on: November 29, 2011, 08:31:29 am »
Hey guys, thanks for your feedback.

We prefer to stabilize the library whenever needed before adding new features. This even affects bigger parts of internal code (and sometimes also the API) to make it more bug-free, faster and more consistent. That's the reason you're still waiting for some missing widgets. "Don't fear the refactoring" ;)

One thing is for sure: Implementing new widgets is easy, keeping the good level up is another story.

ListBox is still in the pipeline and got stalled due to more important things. OniLink10 is developing the ComboBox which is being reviewed and tested. You see, we're working hard for reaching 0.0-alpha. ;) And don't forget binary1248 – it turned out he's a hell of an optimizer guy profiling the library to its extents. To give you an idea: With his help we could raise FPS in the test application from ~500 to ~1400 (numbers from my system).

So there's much stuff going on, but please note that killing bugs and making the library more solid have always a higher priority on our lists than throwing in buggy and/or untested new stuff.

However thank you all for your feedback, and don't hesitate to test the library (even BETA branch) and report every single bug or glitch you can find.

victorlevasseur

  • Full Member
  • ***
  • Posts: 206
    • View Profile
SFGUI
« Reply #171 on: November 29, 2011, 07:18:22 pm »
Yeap, I have tested the BETA branch, it works without bugs or glitch.
And the use of its own SharedPtr is very good : it avoids the C++11 dependency.  :D

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
SFGUI
« Reply #172 on: November 30, 2011, 01:10:18 am »
I've got a few more things I need to implement in the ComboBox before it will be completely ready for pulling into master. I need to come up with a good system for the behavior of selected items when new items are added or old items are destroyed (the techniques I've tried have each had their own unnatural implications), and I need to tweak the rendering to fit with what Tank has in mind.
I use the latest build of SFML2

xethm55

  • Newbie
  • *
  • Posts: 11
    • View Profile
SFGUI Git does not build.
« Reply #173 on: December 09, 2011, 06:07:53 pm »
It appears that the current git is broken.  There are still references to std::shared_ptr<>, ResizeWindow no longer exists, AllocateSize calls, etc.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #174 on: December 09, 2011, 06:22:19 pm »
Can't reproduce, checked everything with "grep". In case you've installed SFGUI to your system somewhere, make sure to re-install after changes have been made. Otherwise you might use mixed versions of SFGUI.

What's your commit ID?

xethm55

  • Newbie
  • *
  • Posts: 11
    • View Profile
SFGUI
« Reply #175 on: December 10, 2011, 05:19:37 pm »
:oops:  I removed what I had on my HD and re-cloned the git repo and everything is fine.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #176 on: December 11, 2011, 11:31:05 am »
Hehe. ;) Good that you were able to solve it.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #177 on: December 11, 2011, 04:57:38 pm »
*** UPDATE ***

A big update is being applied to the master branch of SFGUI (not at the moment, we always wait at least one day before applying development branches into master):

  • Memory footprint reduced by taking care at member variable ordering and thus padding.
  • Buttons can now have images.
  • Alignment widget addet for aligning a child widget.
  • Fixed layouter added for fixed layouts (absolute positions).
  • Spinner widget added for showing an operation is in progress.
  • Notebook widget added for tabs.
  • Set/GetBorderWidth is now called Set/GetMargin.
  • FPS again increased.


The ComboBox widget will stay in the development branch for some time because we have to implement some kind of z-ordering so that the popup stays on top.

If you want to test the new features now, check the PREPARE branch at GitHub. Here're two screenshots of the messy test application:


Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFGUI
« Reply #178 on: December 12, 2011, 04:48:11 pm »
Just to let you know: Changes have been applied to master, and:

ComboBox has found its way in! Binary1248 implemented z-ordering so there's no reason for ComboBox to stay out. ;) Again many thanks to OniLink for doing it.

We're getting closer to a first release, so please report any bugs you may encounter or tell us about problems you have with SFGUI (API, behaviour, etc).

The ToDo list at GitHub shows what's still missing for a first release.

victorlevasseur

  • Full Member
  • ***
  • Posts: 206
    • View Profile
SFGUI
« Reply #179 on: December 12, 2011, 07:51:11 pm »
Great work  :D .